Package ca.phon.app.opgraph.editor
Class NodeEditorMenuHandler
java.lang.Object
ca.phon.app.opgraph.editor.NodeEditorMenuHandler
- All Implemented Interfaces:
IPluginExtensionPoint<IPluginMenuFilter>
,IPluginMenuFilter
public class NodeEditorMenuHandler
extends Object
implements IPluginMenuFilter, IPluginExtensionPoint<IPluginMenuFilter>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
filterWindowMenu
(Window owner, JMenuBar menuBar) Add/remove/edit the window menu as needed by the implementing plugin.Class<?>
Get type of extensionGet factory for extension point objects
-
Constructor Details
-
NodeEditorMenuHandler
public NodeEditorMenuHandler()
-
-
Method Details
-
getExtensionType
Description copied from interface:IPluginExtensionPoint
Get type of extension- Specified by:
getExtensionType
in interfaceIPluginExtensionPoint<IPluginMenuFilter>
-
getFactory
Description copied from interface:IPluginExtensionPoint
Get factory for extension point objects- Specified by:
getFactory
in interfaceIPluginExtensionPoint<IPluginMenuFilter>
-
filterWindowMenu
Description copied from interface:IPluginMenuFilter
Add/remove/edit the window menu as needed by the implementing plugin.- Specified by:
filterWindowMenu
in interfaceIPluginMenuFilter
- Parameters:
owner
- the window which owns the menu (may be null)menuBar
- the menu in question
-