Package org.fusesource.ide.camel.editor.features.add

Examples of org.fusesource.ide.camel.editor.features.add.AddNodeFeature


  public IAddFeature getAddFeature(IAddContext context) {
    // is object for add request a EClass or EReference?
    if (context.getNewObject() instanceof Flow) {
      return new AddFlowFeature(this);
    } else if (context.getNewObject() instanceof AbstractNode) {
      return new AddNodeFeature(this);
    }
    return super.getAddFeature(context);
  }
View Full Code Here

TOP

Related Classes of org.fusesource.ide.camel.editor.features.add.AddNodeFeature

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.