Package ca.phon.phontalk.plugin
Class PhonTalkMenuFilter
java.lang.Object
ca.phon.phontalk.plugin.PhonTalkMenuFilter
- All Implemented Interfaces:
IPluginExtensionFactory<IPluginMenuFilter>
,IPluginExtensionPoint<IPluginMenuFilter>
,IPluginMenuFilter
public class PhonTalkMenuFilter
extends Object
implements IPluginExtensionPoint<IPluginMenuFilter>, IPluginExtensionFactory<IPluginMenuFilter>, IPluginMenuFilter
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreateObject
(Object... args) Return an instantiated instance of the extension point objectvoid
filterWindowMenu
(Window owner, JMenuBar menu) Add/remove/edit the window menu as needed by the implementing plugin.Class<?>
Get type of extensionGet factory for extension point objects
-
Constructor Details
-
PhonTalkMenuFilter
public PhonTalkMenuFilter()
-
-
Method Details
-
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)menu
- the menu in question
-
createObject
Description copied from interface:IPluginExtensionFactory
Return an instantiated instance of the extension point object- Specified by:
createObject
in interfaceIPluginExtensionFactory<IPluginMenuFilter>
- Returns:
- the created object
-
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>
-