Changeset 12117
- Timestamp:
- 2006-07-10T14:47:59+12:00 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gli/src/org/greenstone/gatherer/gui/GUIManager.java
r12103 r12117 367 367 download_pane = new DownloadPane(); 368 368 // "GUI.Download_Tooltip" is used automatically 369 tab_pane.addTab( "GUI.Download", JarTools.getImage("download.gif"), download_pane);369 tab_pane.addTab(Dictionary.get("GUI.Download"), JarTools.getImage("download.gif"), download_pane, Dictionary.get("GUI.Download_Tooltip")); 370 370 tab_pane.setEnabledAt(tab_pane.indexOfComponent(download_pane), Configuration.get("workflow.download", false)); 371 371 } … … 375 375 if (Configuration.get("workflow.gather", true)) { 376 376 // "GUI.Gather_Tooltip" is used automatically 377 tab_pane.addTab( "GUI.Gather", JarTools.getImage("gather.gif"), gather_pane);377 tab_pane.addTab(Dictionary.get("GUI.Gather"), JarTools.getImage("gather.gif"), gather_pane, Dictionary.get("GUI.Gather_Tooltip")); 378 378 tab_pane.setEnabledAt(tab_pane.indexOfComponent(gather_pane), Configuration.get("workflow.gather", false)); 379 379 } … … 383 383 if (Configuration.get("workflow.enrich", true)) { 384 384 // "GUI.Enrich_Tooltip" is used automatically 385 tab_pane.addTab( "GUI.Enrich", JarTools.getImage("enrich.gif"), enrich_pane);385 tab_pane.addTab(Dictionary.get("GUI.Enrich"), JarTools.getImage("enrich.gif"), enrich_pane, Dictionary.get("GUI.Enrich_Tooltip")); 386 386 tab_pane.setEnabledAt(tab_pane.indexOfComponent(enrich_pane), false); 387 387 } … … 391 391 if (Configuration.get("workflow.design", true)) { 392 392 // "GUI.Design_Tooltip" is used automatically 393 tab_pane.addTab( "GUI.Design", JarTools.getImage("design.gif"), design_pane);393 tab_pane.addTab(Dictionary.get("GUI.Design"), JarTools.getImage("design.gif"), design_pane, Dictionary.get("GUI.Design_Tooltip")); 394 394 tab_pane.setEnabledAt(tab_pane.indexOfComponent(design_pane), false); 395 395 } … … 399 399 if (Configuration.get("workflow.create", true)) { 400 400 // "GUI.Create_Tooltip" is used automatically 401 tab_pane.addTab( "GUI.Create", JarTools.getImage("create.gif"), create_pane);401 tab_pane.addTab(Dictionary.get("GUI.Create"), JarTools.getImage("create.gif"), create_pane, Dictionary.get("GUI.Create_Tooltip")); 402 402 tab_pane.setEnabledAt(tab_pane.indexOfComponent(create_pane), false); 403 403 } … … 406 406 format_pane.display(); 407 407 if (Configuration.get("workflow.format", true)) { 408 tab_pane.addTab( "GUI.Format", JarTools.getImage("format.gif"), format_pane);408 tab_pane.addTab(Dictionary.get("GUI.Format"), JarTools.getImage("format.gif"), format_pane, Dictionary.get("GUI.Format_Tooltip")); 409 409 tab_pane.setEnabledAt(tab_pane.indexOfComponent(format_pane), false); 410 410 } … … 427 427 } 428 428 429 Dictionary.register(tab_pane);430 429 content_pane.add(tab_pane, BorderLayout.CENTER); 431 430
Note:
See TracChangeset
for help on using the changeset viewer.