Changeset 12101


Ignore:
Timestamp:
2006-07-07T14:02:03+12:00 (18 years ago)
Author:
kjdon
Message:

added in menu bar helpstuff for format panel

Location:
trunk/gli/src/org/greenstone/gatherer/gui
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/gli/src/org/greenstone/gatherer/gui/GUIManager.java

    r12064 r12101  
    279279        HelpFrame.setView("producingthecollection");
    280280    }
     281    else if (esrc == menu_bar.help_format) {
     282        HelpFrame.setView("formattingacollection");
     283    }
    281284    else if (esrc == menu_bar.help_about) {
    282285        new AboutDialog(this);
  • trunk/gli/src/org/greenstone/gatherer/gui/MenuBar.java

    r10726 r12101  
    8181    public JMenuItem help_design;
    8282    public JMenuItem help_create;
     83    public JMenuItem help_format;
    8384    public JMenuItem help_about;
    8485
     
    213214    Dictionary.registerText(help_create, "GUI.Create");
    214215
     216    help_format = new JMenuItem(BLANK_ICON);
     217    help_format.addActionListener(Gatherer.g_man);
     218    Dictionary.registerText(help_format, "GUI.Format");
     219
    215220    help_about = new JMenuItem();
    216221    help_about.addActionListener(Gatherer.g_man);
     
    234239    if (Configuration.get("workflow.create", true)) {
    235240        help.add(help_create);
     241    }
     242    if (Configuration.get("workflow.format", true)) {
     243        help.add(help_format);
    236244    }
    237245    help.add(new JSeparator());
Note: See TracChangeset for help on using the changeset viewer.