Package docking.actions

# Class SharedActionRegistry

java.lang.Object
docking.actions.SharedActionRegistry

public class SharedActionRegistry extends Object
A place used to hold `DockingActionIf`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

  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 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