Class DefaultMenuFilter
java.lang.Object
ca.phon.app.menu.DefaultMenuFilter
- All Implemented Interfaces:
IPluginMenuFilter
Create the default menu for all Phon windows.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddAnalysisMenu(Window owner, JMenuBar menu) Add 'Assessment' menuprotected voidaddEditMenu(Window owner, JMenuBar menu) Add 'Edit' menuprotected voidaddFileMenu(Window owner, JMenuBar menu) Add 'File' menuprotected voidaddHelpMenu(Window owner, JMenuBar menu) Add 'Help' menuprotected voidaddMacroMenu(Window owner, JMenuBar menu) Add macro menuprotected voidaddPluginMenu(Window owner, JMenuBar menu) Add 'Plugin' menuprotected voidaddQueryMenu(Window owner, JMenuBar menu) Add 'Query' menuprotected voidaddToolsMenu(Window owner, JMenuBar menu) Add 'Tools' menuprotected voidaddWindowMenu(Window owner, JMenuBar menu) Add 'Window' menuvoidfilterWindowMenu(Window owner, JMenuBar menu) Add/remove/edit the window menu as needed by the implementing plugin.
-
Constructor Details
-
DefaultMenuFilter
public DefaultMenuFilter()
-
-
Method Details
-
filterWindowMenu
Description copied from interface:IPluginMenuFilterAdd/remove/edit the window menu as needed by the implementing plugin.- Specified by:
filterWindowMenuin interfaceIPluginMenuFilter- Parameters:
owner- the window which owns the menu (may be null)menu- the menu in question
-
addFileMenu
-
addEditMenu
-
addQueryMenu
-
addAnalysisMenu
-
addToolsMenu
-
addWindowMenu
-
addHelpMenu
-
addMacroMenu
-
addPluginMenu
-