Package org.fusesource.ide.camel.model

Examples of org.fusesource.ide.camel.model.AbstractNodeFacade


  public static AbstractNode toAbstractNode(Object input) {
    AbstractNode answer = null;
    if (input instanceof AbstractNode) {
      return (AbstractNode) input;
    } else if (input instanceof AbstractNodeFacade) {
      AbstractNodeFacade facade = (AbstractNodeFacade) input;
      answer = facade.getAbstractNode();
    } else if (input instanceof ContainerShapeEditPart) {
      ContainerShapeEditPart editPart = (ContainerShapeEditPart) input;
      PictogramElement element = editPart.getPictogramElement();
      if (Activator.getDiagramEditor() != null) {
        if (element != null && element instanceof Diagram) {
View Full Code Here


    return null;
  }

  protected Object toAbstractNode(Object adaptableObject) {
    if (adaptableObject instanceof AbstractNodeFacade) {
      AbstractNodeFacade facade = (AbstractNodeFacade) adaptableObject;
      return facade.getAbstractNode();
    }
    return null;
  }
View Full Code Here

TOP

Related Classes of org.fusesource.ide.camel.model.AbstractNodeFacade

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.