- Timestamp:
- 2006-07-10T14:57:04+12:00 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gli/src/org/greenstone/gatherer/gui/EditorDialog.java
r9856 r12119 88 88 setJMenuBar(new SimpleMenuBar("theenrichview")); 89 89 if (editable) { 90 Dictionary.setText(this, "General.Edit");90 setTitle(Dictionary.get("General.Edit")); 91 91 } else { 92 Dictionary.setText(this, "General.View");92 setTitle(Dictionary.get("General.View")); 93 93 } 94 94 // Create … … 99 99 text.setWrapStyleWord(false); 100 100 if (editable) { 101 Dictionary.setTooltip(text, "EnrichPane.Value_Field_Tooltip");101 text.setToolTipText(Dictionary.get("EnrichPane.Value_Field_Tooltip")); 102 102 } else { 103 Dictionary.setTooltip(text, "EnrichPane.Value_Field_Tooltip_Uneditable");103 text.setToolTipText(Dictionary.get("EnrichPane.Value_Field_Tooltip_Uneditable")); 104 104 } 105 105 106 cancel = new GLIButton(); 107 cancel.setMnemonic(KeyEvent.VK_C); 108 Dictionary.setBoth(cancel, "General.Cancel", "General.Pure_Cancel_Tooltip"); 109 ok = new GLIButton(); 110 ok.setMnemonic(KeyEvent.VK_O); 111 Dictionary.setBoth(ok, "General.OK", "General.OK_Tooltip"); 106 cancel = new GLIButton(Dictionary.get("General.Cancel"), Dictionary.get("General.Pure_Cancel_Tooltip")); 107 108 ok = new GLIButton(Dictionary.get("General.OK"), Dictionary.get("General.OK_Tooltip")); 109 112 110 113 111 // Listeners
Note:
See TracChangeset
for help on using the changeset viewer.