Package jbprocess

Examples of jbprocess.JbprocessMapping


        return new Object[0];
    }
  }
  public Object getParent(Object child) {
    if (nodes != null && child != null && child instanceof JbprocessMapping){
      JbprocessMapping mapping = (JbprocessMapping)child;
      return mapping.getParent();
    }
    return null;
  }
View Full Code Here


    }
    return null;
  }
  public Object [] getChildren(Object parent) {
    if (nodes != null && parent != null && parent instanceof JbprocessMapping){
      JbprocessMapping mapping = (JbprocessMapping)parent;
      return mapping.getChildren().toArray();
    }
    return new Object[0];
  }
View Full Code Here

    }
    return new Object[0];
  }
  public boolean hasChildren(Object parent) {
    if (nodes != null && parent != null && parent instanceof JbprocessMapping){
      JbprocessMapping mapping = (JbprocessMapping)parent;
      return mapping.getChildren().size() > 0;
    }
    return false;
  }
View Full Code Here

 
  class ViewLabelProvider extends LabelProvider {

    public String getText(Object obj) {
      if (obj instanceof JbprocessMapping){
        JbprocessMapping mapping = (JbprocessMapping)obj;
        return mapping.getSimpleJavaString() + " -> " + mapping.getSimpleBpelString();
      }
      return obj.toString();
    }
View Full Code Here

      return obj.toString();
    }
    public Image getImage(Object obj) {
      String imageKey = ISharedImages.IMG_OBJ_ELEMENT;
      if (obj instanceof JbprocessMapping){
        JbprocessMapping mapping = (JbprocessMapping)obj;
        if (mapping.getChildren().size() > 0)
          imageKey = ISharedImages.IMG_OBJ_FOLDER;
      }
      return PlatformUI.getWorkbench().getSharedImages().getImage(imageKey);
    }
View Full Code Here

TOP

Related Classes of jbprocess.JbprocessMapping

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.