Class ConnectionCreationToolEntry

All Implemented Interfaces:
IConnectionCreationToolEntry, ICreationToolEntry, IPaletteEntry, IToolEntry

public class ConnectionCreationToolEntry extends AbstractPaletteToolEntry implements IConnectionCreationToolEntry
The Class ConnectionCreationToolEntry creates a tool entry for the palette which can create connections. Connection creation features are added separately.
  • Constructor Details

    • ConnectionCreationToolEntry

      public ConnectionCreationToolEntry(String label, String description, String iconId, String largeIconId)
      Parameters:
      label - the label
      description - the description
      iconId - the icon id
      largeIconId - the large icon id
  • Method Details

    • addCreateConnectionFeature

      public void addCreateConnectionFeature(ICreateConnectionFeature createFeature)
      Adds a create feature to the tool. you have to provide at least one. If several features are added the tool will display a popup menu after connection creation which lets the user choose between all features which canExecute.
      Parameters:
      createFeature - the create feature
    • getCreateConnectionFeatures

      public List<IFeature> getCreateConnectionFeatures()
      Gets the create connection features.
      Specified by:
      getCreateConnectionFeatures in interface IConnectionCreationToolEntry
      Returns:
      the provided create connection features