Package ar.com.AmberSoft.iEvenTask.client.utils

Examples of ar.com.AmberSoft.iEvenTask.client.utils.TreeGrid


  @SuppressWarnings({"unchecked", "rawtypes"})
  public BrowseFilesModalWindow(Field field) {
    super();
    this.fieldValueReturn = field;
    this.setModal(Boolean.TRUE);
    final TreeGrid treeGrid = new TreeGrid(ServiceNameConst.BROWSE_FILE, getTreeGridConfig());
    treeGrid.setSize(400, 300);
    setSize(380, 330);
    add(treeGrid);
   
    // Acciones a realizar cuando selecciona algun registro de la grilla
    treeGrid.getSelectionModel().addListener(Events.SelectionChange,
        new Listener() {
          @SuppressWarnings("deprecation")
          @Override
          public void handleEvent(BaseEvent be) {
            List seleccionados = treeGrid.getSelectionModel().getSelection();
            if (seleccionados.size() == 1) {
              Iterator it = seleccionados.iterator();
              if (it.hasNext()) {
                BaseModel actual = (BaseModel) it.next();
                fieldValueReturn.setValue(actual.get(ParamsConst.PATH));
View Full Code Here

TOP

Related Classes of ar.com.AmberSoft.iEvenTask.client.utils.TreeGrid

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.