Changeset 9355


Ignore:
Timestamp:
2005-03-10T12:09:48+13:00 (19 years ago)
Author:
mdewsnip
Message:

Added some comments to show that some dictionary entries are used, even though their keys do not appear in full in the code.

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

Legend:

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

    r8243 r9355  
    8484    instructions_textarea.setRows(6);
    8585    instructions_textarea.setWrapStyleWord(true);
    86     Dictionary.registerText(instructions_textarea, "ExternalCollectionPrompt.Instructions_1"); // change to instructions_2 when add the other choice back in
     86    Dictionary.registerText(instructions_textarea, "ExternalCollectionPrompt.Instructions_1"); // change to "ExternalCollectionPrompt.Instructions_2" when add the other choice back in
    8787
    8888    /*  new_mds_button = new JRadioButton();
  • trunk/gli/src/org/greenstone/gatherer/gui/GUIManager.java

    r9243 r9355  
    332332        if(Configuration.get("workflow.download", true)) {
    333333        download_pane = new DownloadPane();
     334        // "GUI.Download_Tooltip" is used automatically
    334335        tab_pane.addTab("GUI.Download", Utility.getImage("mirroring.gif"), download_pane);
    335336        tab_pane.setEnabledAt(tab_pane.indexOfComponent(download_pane), Configuration.get("workflow.download", false));
     
    339340        gather_pane.display();
    340341        if(Configuration.get("workflow.gather", true)) {
     342        // "GUI.Gather_Tooltip" is used automatically
    341343        tab_pane.addTab("GUI.Gather", Utility.getImage("collection.gif"), gather_pane);
    342344        tab_pane.setEnabledAt(tab_pane.indexOfComponent(gather_pane), Configuration.get("workflow.gather", false));
     
    346348        enrich_pane.display();
    347349        if(Configuration.get("workflow.enrich", true)) {
     350        // "GUI.Enrich_Tooltip" is used automatically
    348351        tab_pane.addTab("GUI.Enrich", Utility.getImage("metaedit.gif"), enrich_pane);
    349352        tab_pane.setEnabledAt(tab_pane.indexOfComponent(enrich_pane), false);
     
    353356        design_pane.display();
    354357        if(Configuration.get("workflow.design", true)) {
     358        // "GUI.Design_Tooltip" is used automatically
    355359        tab_pane.addTab("GUI.Design", Utility.getImage("build.gif"), design_pane);
    356360        tab_pane.setEnabledAt(tab_pane.indexOfComponent(design_pane), false);
     
    360364        create_pane.display();
    361365        if(Configuration.get("workflow.create", true)) {
     366        // "GUI.Create_Tooltip" is used automatically
    362367        tab_pane.addTab("GUI.Create", Utility.getImage("build session.gif"), create_pane);
    363368        tab_pane.setEnabledAt(tab_pane.indexOfComponent(create_pane), false);
  • trunk/gli/src/org/greenstone/gatherer/gui/Preferences.java

    r9075 r9355  
    109109    tab_pane = new JTabbedPane();
    110110    JPanel general_preferences = createGeneralPreferences();
    111     tab_pane.add("Preferences.General", general_preferences);
    112     tab_pane.add("Preferences.Mode", createModePreferences());
    113     tab_pane.add("Preferences.Workflow", createWorkflowPreferences());
     111    tab_pane.add("Preferences.General", general_preferences); // Also uses "Preferences.General_Tooltip"
     112    tab_pane.add("Preferences.Mode", createModePreferences()); // Also uses "Preferences.Mode_Tooltip"
     113    tab_pane.add("Preferences.Workflow", createWorkflowPreferences()); // Also uses "Preferences.Workflow_Tooltip"
    114114    JPanel connection_preferences = createConnectionPreferences();
    115     tab_pane.add("Preferences.Connection", connection_preferences);
    116     tab_pane.add("Preferences.Warnings", createWarningPreferences());
     115    tab_pane.add("Preferences.Connection", connection_preferences); // Also uses "Preferences.Connection_Tooltip"
     116    tab_pane.add("Preferences.Warnings", createWarningPreferences()); // Also uses "Preferences.Warning_Tooltip"
    117117    Dictionary.register(tab_pane);
    118118
Note: See TracChangeset for help on using the changeset viewer.