java.lang.Object
de.ipk_gatersleben.ag_nw.graffiti.plugins.gui.editing_tools.ContextMenuHelper
All Implemented Interfaces:
HelperClass

public class ContextMenuHelper
extends Object
implements HelperClass
  • Constructor Details

    • ContextMenuHelper

      public ContextMenuHelper()
  • Method Details

    • createAndShowContextMenuForAlgorithm

      public static void createAndShowContextMenuForAlgorithm​(ProvidesNodeContextMenu a)
    • getActiveNodeSelection

      public static Collection<Node> getActiveNodeSelection()
      Returns:
      All nodes of current view, if no node is selected. If nodes are selected, a List with that Nodes is returned.
    • getActiveSelection

      public static Collection<GraphElement> getActiveSelection()