Package ca.phon.plugin
Interface IPluginMenuFilter
- All Known Implementing Classes:
DefaultMenuFilter
,HelpMenuHandler
,NodeEditorMenuHandler
,PhonTalkMenuFilter
public interface IPluginMenuFilter
A plugin extension point for controlling the window menu
for all Phon windows. The provided filter will be called
to generate the appropriate window menu entries as needed
by the plugin.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
filterWindowMenu
(Window owner, JMenuBar menu) Add/remove/edit the window menu as needed by the implementing plugin.
-
Method Details
-
filterWindowMenu
Add/remove/edit the window menu as needed by the implementing plugin.- Parameters:
owner
- the window which owns the menu (may be null)menu
- the menu in question
-