Class DefaultMenuFilter

java.lang.Object
ca.phon.app.menu.DefaultMenuFilter
All Implemented Interfaces:
IPluginMenuFilter

public class DefaultMenuFilter extends Object implements IPluginMenuFilter
Create the default menu for all Phon windows.
  • Constructor Details

    • DefaultMenuFilter

      public DefaultMenuFilter()
  • Method Details

    • filterWindowMenu

      public void filterWindowMenu(Window owner, JMenuBar menu)
      Description copied from interface: IPluginMenuFilter
      Add/remove/edit the window menu as needed by the implementing plugin.
      Specified by:
      filterWindowMenu in interface IPluginMenuFilter
      Parameters:
      owner - the window which owns the menu (may be null)
      menu - the menu in question
    • addFileMenu

      protected void addFileMenu(Window owner, JMenuBar menu)
      Add 'File' menu
    • addEditMenu

      protected void addEditMenu(Window owner, JMenuBar menu)
      Add 'Edit' menu
    • addQueryMenu

      protected void addQueryMenu(Window owner, JMenuBar menu)
      Add 'Query' menu
    • addAnalysisMenu

      protected void addAnalysisMenu(Window owner, JMenuBar menu)
      Add 'Assessment' menu
    • addToolsMenu

      protected void addToolsMenu(Window owner, JMenuBar menu)
      Add 'Tools' menu
    • addWindowMenu

      protected void addWindowMenu(Window owner, JMenuBar menu)
      Add 'Window' menu
    • addHelpMenu

      protected void addHelpMenu(Window owner, JMenuBar menu)
      Add 'Help' menu
    • addMacroMenu

      protected void addMacroMenu(Window owner, JMenuBar menu)
      Add macro menu
    • addPluginMenu

      protected void addPluginMenu(Window owner, JMenuBar menu)
      Add 'Plugin' menu