Package docking.actions
Class SharedActionRegistry
- java.lang.Object
-
- docking.actions.SharedActionRegistry
-
public class SharedActionRegistry extends java.lang.Object
A place used to holdDockingActionIf
s 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 Summary
Constructors Constructor Description SharedActionRegistry()
-
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
-
-
-
Method Detail
-
installSharedActions
public static void installSharedActions(Tool tool, ToolActions toolActions)
Install all known shared actions into the given tool- Parameters:
tool
- the tooltoolActions
- the tool action manager
-
-