Class DynamicContextMenuEntry

java.lang.Object
org.eclipse.graphiti.tb.AbstractContextEntry
org.eclipse.graphiti.tb.DynamicContextMenuEntry
All Implemented Interfaces:
IContextEntry, IContextMenuEntry

public class DynamicContextMenuEntry extends AbstractContextEntry implements IContextMenuEntry
The Class DynamicContextMenuEntry.
  • Constructor Details

  • Method Details

    • getChildren

      public IContextMenuEntry[] getChildren()
      Description copied from interface: IContextMenuEntry
      Gets the children.
      Specified by:
      getChildren in interface IContextMenuEntry
      Returns:
      the children
    • add

      public void add(IContextMenuEntry entry)
      Description copied from interface: IContextMenuEntry
      Adds the.
      Specified by:
      add in interface IContextMenuEntry
      Parameters:
      entry - the entry
    • isSubmenu

      public boolean isSubmenu()
      Description copied from interface: IContextMenuEntry
      Checks if is submenu.
      Specified by:
      isSubmenu in interface IContextMenuEntry
      Returns:
      true, if is submenu
    • setMinimumSubmenuEntries

      public void setMinimumSubmenuEntries(int minimumSubmenuEntries)
      Sets the minimum submenu entries.
      Parameters:
      minimumSubmenuEntries - the new minimum submenu entries
    • getMinimumSubmenuEntries

      public int getMinimumSubmenuEntries()
      Gets the minimum submenu entries.
      Returns:
      the minimum submenu entries