Package org.eclipse.swt.widgets

Examples of org.eclipse.swt.widgets.TreeItem.removeAll()


        if (t.getItem(i).getText().equals("Orders")) {
          orders = t.getItem(i);
        }
    }
    if (orders != null) {
      orders.removeAll();
      Element commands = _dom.getRoot().getChild("config").getChild("commands");
      if (commands != null) {
        List l = commands.getChildren("add_order");
        if (l != null) {
          Iterator it = l.iterator();
View Full Code Here


  //hasRuntimeChild = false, wenn der Runtime ELement Attribute wie schedule oder runtime_function hat
  public void updateRunTime() {
   
    if(tree.getSelectionCount()> 0) {
      TreeItem item = tree.getSelection()[0];
      item.removeAll();
      TreeData data = (TreeData)item.getData();     
      listener.treeFillRunTimes(item, data.getElement(), !Utils.isElementEnabled("job", dom, data.getElement()), "run_time");
    }
   
  }
View Full Code Here

        // target steps
        for (RoleStepMeta step : input.getTargetSteps()) {
          TreeItem parent = targetTreeItems.get(step.getStepName());
          if (parent != null) {
            parent.removeAll();
            for (ValueMetaInterface v : outputFields.getValueMetaList()) {
              TreeItem m = new TreeItem(parent, SWT.NONE);
              m.setText(new String[] { v.getName(), v.getTypeDesc(), "" });
              m.setImage(input.addsOrChangesField(v.getName()) ? fieldChangedImage : fieldImage);
            }
View Full Code Here

        }

        for (String step : infoFields.keySet()) {
          TreeItem parent = infoTreeItems.get(step);
          if (parent != null) {
            parent.removeAll();
            RowMetaInterface stepFields = infoFields.get(step);
            for (ValueMetaInterface v : stepFields.getValueMetaList()) {
              TreeItem m = new TreeItem(parent, SWT.NONE);
              m.setText(new String[] { v.getName(), v.getTypeDesc(), "" });
              m.setImage(fieldImage);
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.