Package org.eclipse.graphiti.palette.impl

Examples of org.eclipse.graphiti.palette.impl.ConnectionCreationToolEntry


    ret.add(compartmentEntry);
    // add all create-connection-features to the new stack-entry
    ICreateConnectionFeature[] createConnectionFeatures = featureProvider.getCreateConnectionFeatures();
    for (ICreateConnectionFeature cf : createConnectionFeatures) {
      if (pref.isEnabled(FeatureMap.getElement(cf))) {
        ConnectionCreationToolEntry connectionCreationToolEntry = new ConnectionCreationToolEntry(
            cf.getCreateName(), cf.getCreateDescription(), cf.getCreateImageId(),
            cf.getCreateLargeImageId());
        connectionCreationToolEntry.addCreateConnectionFeature(cf);
        compartmentEntry.addToolEntry(connectionCreationToolEntry);
      }
    }
  }
View Full Code Here

TOP

Related Classes of org.eclipse.graphiti.palette.impl.ConnectionCreationToolEntry

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.