Class SharedActionRegistry

java.lang.Object
docking.actions.SharedActionRegistry

public class SharedActionRegistry extends Object
A place used to hold DockingActionIfs that are meant to be used by components. Some components do not have access to the tool that is required to register their actions. This class helps those components by enabling the installation of shared actions for those components.
  • Constructor Details

    • SharedActionRegistry

      public SharedActionRegistry()
  • Method Details

    • installSharedActions

      public static void installSharedActions(Tool tool, ToolActions toolActions)
      Install all known shared actions into the given tool
      Parameters:
      tool - the tool
      toolActions - the tool action manager