Package sos.scheduler.editor.app

Examples of sos.scheduler.editor.app.TreeData


     
      item.setData("max_occur", "1");
      item.setData("key",  used[i] +"_@_"+ _dayElements[i].getName());
      item.setData("copy_element", _dayElements[i]);
     
      item.setData(new TreeData(Editor.PERIODS, _dayElements[i], Options.getHelpURL("periods")));
      if(_runtime != null && !Utils.isElementEnabled("job", _dom, _runtime)) {
        item.setForeground(Display.getCurrent().getSystemColor(SWT.COLOR_GRAY));
      }
    }
    parent.setExpanded(expand);
View Full Code Here



    public String getHelpKey() {
        if (docTree.getSelectionCount() > 0) {
            TreeItem item = docTree.getSelection()[0];
            TreeData data = (TreeData) item.getData();
            if (data != null && data.getHelpKey() != null)
                return data.getHelpKey();
        }
        return null;
    }
View Full Code Here

  }

  public void updateReleases() {
    if(docTree.getSelectionCount() > 0) {
      TreeItem item = docTree.getSelection()[0];   
      TreeData data = (TreeData) item.getData();
      org.jdom.Element elem = data.getElement();
      listener.treeFillReleases(item, elem);
      //tree.getSelection()[0].getItems()[tree.getSelection()[0].getItemCount()-1].setExpanded(true);
    }
  }
View Full Code Here

  }
 
  public void updateDatabaseResource() {
    if(docTree.getSelectionCount() > 0) {
      TreeItem item = docTree.getSelection()[0];   
      TreeData data = (TreeData) item.getData();
      org.jdom.Element elem = data.getElement();
      listener.treeFillDatabaseResources(item, elem.getChild("resources", elem.getNamespace()));
      //tree.getSelection()[0].getItems()[tree.getSelection()[0].getItemCount()-1].setExpanded(true);
    }
  }
View Full Code Here

TOP

Related Classes of sos.scheduler.editor.app.TreeData

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.