Class SharedActionRegistry


  • public class SharedActionRegistry
    extends java.lang.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 Detail

      • SharedActionRegistry

        public SharedActionRegistry()
    • Method Detail

      • installSharedActions

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