Package docking
Class FakeDockingTool
- java.lang.Object
-
- docking.AbstractDockingTool
-
- docking.FakeDockingTool
-
- All Implemented Interfaces:
DockingTool
public class FakeDockingTool extends AbstractDockingTool
A Test Double of theDockingToolthat provides minimal tool functionality, such as theDockingWindowManager
-
-
Field Summary
-
Fields inherited from class docking.AbstractDockingTool
actionMgr, configChangedFlag, optionsMap, winMgr
-
-
Constructor Summary
Constructors Constructor Description FakeDockingTool()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.swing.ImageIcongetIcon()Get the icon that the tool is using.java.lang.StringgetName()Returns a combination of the tool name and the instance name of the form tool name(instance name), e.g., SomeTool(2)ToolOptionsgetOptions(java.lang.String category)Get the options for the given category name; if no options exist with the given name, then one is created.-
Methods inherited from class docking.AbstractDockingTool
addAction, addComponentProvider, addLocalAction, contextChanged, getAllActions, getComponentProvider, getDockingActionsByFullActionName, getDockingActionsByOwnerName, getProviderWindow, getToolFrame, getWindowManager, hasConfigChanged, isActive, isVisible, isVisible, removeAction, removeComponentProvider, removeLocalAction, setConfigChanged, setStatusInfo, setVisible, showComponentProvider, showDialog, toFront, toFront, updateTitle
-
-
-
-
Method Detail
-
getName
public java.lang.String getName()
Description copied from interface:DockingToolReturns a combination of the tool name and the instance name of the form tool name(instance name), e.g., SomeTool(2)
-
getIcon
public javax.swing.ImageIcon getIcon()
Description copied from interface:DockingToolGet the icon that the tool is using.
-
getOptions
public ToolOptions getOptions(java.lang.String category)
Description copied from interface:DockingToolGet the options for the given category name; if no options exist with the given name, then one is created.
-
-