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.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void installSharedActions​(Tool tool, ToolActions toolActions)
      Install all known shared actions into the given tool
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SharedActionRegistry

        public SharedActionRegistry()
    • Method Detail

      • 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