Package ca.phon.app.menu
Class DefaultMenuFilter
java.lang.Object
ca.phon.app.menu.DefaultMenuFilter
- All Implemented Interfaces:
IPluginMenuFilter
Create the default menu for all Phon windows.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
addAnalysisMenu
(Window owner, JMenuBar menu) Add 'Assessment' menuprotected void
addEditMenu
(Window owner, JMenuBar menu) Add 'Edit' menuprotected void
addFileMenu
(Window owner, JMenuBar menu) Add 'File' menuprotected void
addHelpMenu
(Window owner, JMenuBar menu) Add 'Help' menuprotected void
addMacroMenu
(Window owner, JMenuBar menu) Add macro menuprotected void
addPluginMenu
(Window owner, JMenuBar menu) Add 'Plugin' menuprotected void
addQueryMenu
(Window owner, JMenuBar menu) Add 'Query' menuprotected void
addToolsMenu
(Window owner, JMenuBar menu) Add 'Tools' menuprotected void
addWindowMenu
(Window owner, JMenuBar menu) Add 'Window' menuvoid
filterWindowMenu
(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: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
-
addFileMenu
Add 'File' menu -
addEditMenu
Add 'Edit' menu -
addQueryMenu
Add 'Query' menu -
addAnalysisMenu
Add 'Assessment' menu -
addToolsMenu
Add 'Tools' menu -
addWindowMenu
Add 'Window' menu -
addHelpMenu
Add 'Help' menu -
addMacroMenu
Add macro menu -
addPluginMenu
Add 'Plugin' menu
-