Interface ComponentBasedDockingAction

  • All Superinterfaces:
    DockingActionIf, HelpDescriptor

    public interface ComponentBasedDockingAction
    extends DockingActionIf
    An interface to signal that the implementing action works with an individual Java Component. Standard Docking Actions are either global tool-based actions or local ComponentProvider actions. This interface allows us to have the concept of an action that is effectively local to a specific Java component.
    • Method Detail

      • isValidComponentContext

        boolean isValidComponentContext​(ActionContext context)
        Returns true if the given context contains this action's component
        Parameters:
        context - the context
        Returns:
        true if the given context contains this action's component