Changeset 10011 for trunk/gli/src/org/greenstone/gatherer/cdm
- Timestamp:
- 2005-06-03T15:21:06+12:00 (19 years ago)
- Location:
- trunk/gli/src/org/greenstone/gatherer/cdm
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gli/src/org/greenstone/gatherer/cdm/ClassifierManager.java
r9126 r10011 42 42 import org.greenstone.gatherer.gui.GComboBox; 43 43 import org.greenstone.gatherer.gui.GLIButton; 44 import org.greenstone.gatherer.util.JarTools; 44 45 import org.greenstone.gatherer.util.StaticStrings; 45 46 import org.greenstone.gatherer.util.Utility; … … 617 618 JPanel move_button_pane = new JPanel(); 618 619 619 move_up_button = new JButton("", Utility.getImage("arrow-up.gif"));620 move_up_button = new JButton("", JarTools.getImage("arrow-up.gif")); 620 621 move_up_button.setEnabled(false); 621 622 move_up_button.setMnemonic(KeyEvent.VK_U); 622 //move_up_button.setPreferredSize(Utility.DOUBLE_IMAGE_BUTTON_SIZE);623 623 Dictionary.registerBoth(move_up_button, "CDM.Move.Move_Up", "CDM.Move.Move_Up_Tooltip"); 624 624 625 move_down_button = new JButton("", Utility.getImage("arrow-down.gif"));625 move_down_button = new JButton("", JarTools.getImage("arrow-down.gif")); 626 626 move_down_button.setEnabled(false); 627 627 move_down_button.setMnemonic(KeyEvent.VK_D); 628 //move_down_button.setPreferredSize(Utility.DOUBLE_IMAGE_BUTTON_SIZE);629 628 Dictionary.registerBoth(move_down_button, "CDM.Move.Move_Down", "CDM.Move.Move_Down_Tooltip"); 630 629 -
trunk/gli/src/org/greenstone/gatherer/cdm/IndexManager.java
r9997 r10011 41 41 import org.greenstone.gatherer.metadata.MetadataSetManager; 42 42 import org.greenstone.gatherer.util.CheckList; 43 import org.greenstone.gatherer.util.JarTools; 43 44 import org.greenstone.gatherer.util.StaticStrings; 44 import org.greenstone.gatherer.util.Utility;45 45 import org.w3c.dom.*; 46 46 /** This class is resposible for storing the indexes which have been assigned to this collection and the default index, and providing methods for interacting with both these data pools. It also knows how to turn itself into a String as it would be displayed in the collection configuration file. … … 563 563 JPanel movement_pane = new JPanel(); 564 564 565 move_up_button = new JButton("", Utility.getImage("arrow-up.gif"));565 move_up_button = new JButton("", JarTools.getImage("arrow-up.gif")); 566 566 move_up_button.setEnabled(false); 567 567 move_up_button.setMnemonic(KeyEvent.VK_U); 568 568 Dictionary.registerBoth(move_up_button, "CDM.Move.Move_Up", "CDM.Move.Move_Up_Tooltip"); 569 569 570 move_down_button = new JButton("", Utility.getImage("arrow-down.gif"));570 move_down_button = new JButton("", JarTools.getImage("arrow-down.gif")); 571 571 move_down_button.setEnabled(false); 572 572 move_down_button.setMnemonic(KeyEvent.VK_D); … … 1070 1070 JPanel index_movement_panel = new JPanel(); 1071 1071 1072 move_index_up_button = new JButton("", Utility.getImage("arrow-up.gif"));1072 move_index_up_button = new JButton("", JarTools.getImage("arrow-up.gif")); 1073 1073 move_index_up_button.setEnabled(false); 1074 1074 move_index_up_button.setMnemonic(KeyEvent.VK_U); 1075 1075 Dictionary.registerBoth(move_index_up_button, "CDM.Move.Move_Up", "CDM.Move.Move_Up_Tooltip"); 1076 1076 1077 move_index_down_button = new JButton("", Utility.getImage("arrow-down.gif"));1077 move_index_down_button = new JButton("", JarTools.getImage("arrow-down.gif")); 1078 1078 move_index_down_button.setEnabled(false); 1079 1079 move_index_down_button.setMnemonic(KeyEvent.VK_D); … … 1202 1202 JPanel level_movement_panel = new JPanel(); 1203 1203 1204 move_level_up_button = new JButton("", Utility.getImage("arrow-up.gif"));1204 move_level_up_button = new JButton("", JarTools.getImage("arrow-up.gif")); 1205 1205 move_level_up_button.setEnabled(false); 1206 1206 move_level_up_button.setMnemonic(KeyEvent.VK_U); 1207 //move_level_up_button.setPreferredSize(Utility.DOUBLE_IMAGE_BUTTON_SIZE);1208 1207 Dictionary.registerBoth(move_level_up_button, "CDM.Move.Move_Up", "CDM.Move.Move_Up_Tooltip"); 1209 1208 1210 move_level_down_button = new JButton("", Utility.getImage("arrow-down.gif"));1209 move_level_down_button = new JButton("", JarTools.getImage("arrow-down.gif")); 1211 1210 move_level_down_button.setEnabled(false); 1212 1211 move_level_down_button.setMnemonic(KeyEvent.VK_D); 1213 //move_level_down_button.setPreferredSize(Utility.DOUBLE_IMAGE_BUTTON_SIZE);1214 1212 Dictionary.registerBoth(move_level_down_button, "CDM.Move.Move_Down", "CDM.Move.Move_Down_Tooltip"); 1215 1213 -
trunk/gli/src/org/greenstone/gatherer/cdm/LanguageManager.java
r10006 r10011 27 27 package org.greenstone.gatherer.cdm; 28 28 29 /************************************************************************************** 30 * Written: 08/05/02 31 * Revised: 17/11/02 - Commented 32 * 07/07/03 - DOM support 33 **************************************************************************************/ 29 34 30 import java.awt.*; 35 31 import java.awt.event.*; … … 43 39 import org.greenstone.gatherer.Gatherer; 44 40 import org.greenstone.gatherer.gui.GLIButton; 45 import org.greenstone.gatherer.util. Utility;41 import org.greenstone.gatherer.util.JarTools; 46 42 import org.greenstone.gatherer.util.XMLTools; 47 43 import org.w3c.dom.*; … … 323 319 324 320 JPanel movement_pane = new JPanel(); 325 move_up_button = new JButton("", Utility.getImage("arrow-up.gif"));321 move_up_button = new JButton("", JarTools.getImage("arrow-up.gif")); 326 322 move_up_button.setEnabled(false); 327 323 move_up_button.setMnemonic(KeyEvent.VK_U); 328 324 Dictionary.registerBoth(move_up_button, "CDM.Move.Move_Up", "CDM.Move.Move_Up_Tooltip"); 329 325 330 move_down_button = new JButton("", Utility.getImage("arrow-down.gif"));326 move_down_button = new JButton("", JarTools.getImage("arrow-down.gif")); 331 327 move_down_button.setEnabled(false); 332 328 move_down_button.setMnemonic(KeyEvent.VK_D); -
trunk/gli/src/org/greenstone/gatherer/cdm/PluginManager.java
r9991 r10011 46 46 import org.greenstone.gatherer.gui.ModalDialog; 47 47 import org.greenstone.gatherer.gui.WarningDialog; 48 import org.greenstone.gatherer.util.JarTools; 48 49 import org.greenstone.gatherer.util.StaticStrings; 49 50 import org.greenstone.gatherer.util.Utility; … … 747 748 Dictionary.registerText(instructions, "CDM.PlugInManager.Instructions"); 748 749 749 move_up_button = new JButton("", Utility.getImage("arrow-up.gif"));750 move_up_button = new JButton("", JarTools.getImage("arrow-up.gif")); 750 751 move_up_button.setEnabled(false); 751 752 move_up_button.setMnemonic(KeyEvent.VK_U); 752 //move_up_button.setPreferredSize(Utility.DOUBLE_IMAGE_BUTTON_SIZE);753 753 Dictionary.registerBoth(move_up_button, "CDM.Move.Move_Up", "CDM.Move.Move_Up_Tooltip"); 754 754 755 move_down_button = new JButton("", Utility.getImage("arrow-down.gif"));755 move_down_button = new JButton("", JarTools.getImage("arrow-down.gif")); 756 756 move_down_button.setEnabled(false); 757 757 move_down_button.setMnemonic(KeyEvent.VK_D); 758 //move_down_button.setPreferredSize(Utility.DOUBLE_IMAGE_BUTTON_SIZE);759 758 Dictionary.registerBoth(move_down_button, "CDM.Move.Move_Down", "CDM.Move.Move_Down_Tooltip"); 760 759 -
trunk/gli/src/org/greenstone/gatherer/cdm/SearchTypeManager.java
r10008 r10011 42 42 import org.greenstone.gatherer.gui.GComboBox; 43 43 import org.greenstone.gatherer.gui.GLIButton; 44 import org.greenstone.gatherer.util. Utility;44 import org.greenstone.gatherer.util.JarTools; 45 45 import org.w3c.dom.*; 46 46 … … 229 229 JPanel movement_panel = new JPanel(); 230 230 231 move_up_button = new JButton("", Utility.getImage("arrow-up.gif"));231 move_up_button = new JButton("", JarTools.getImage("arrow-up.gif")); 232 232 move_up_button.setEnabled(false); 233 233 move_up_button.setMnemonic(KeyEvent.VK_U); … … 235 235 Dictionary.registerBoth(move_up_button, "CDM.Move.Move_Up", "CDM.Move.Move_Up_Tooltip"); 236 236 237 move_down_button = new JButton("", Utility.getImage("arrow-down.gif"));237 move_down_button = new JButton("", JarTools.getImage("arrow-down.gif")); 238 238 move_down_button.setEnabled(false); 239 239 move_down_button.setMnemonic(KeyEvent.VK_D); -
trunk/gli/src/org/greenstone/gatherer/cdm/SubcollectionIndexManager.java
r9562 r10011 37 37 import org.greenstone.gatherer.gui.GLIButton; 38 38 import org.greenstone.gatherer.util.CheckList; 39 import org.greenstone.gatherer.util. Utility;39 import org.greenstone.gatherer.util.JarTools; 40 40 import org.w3c.dom.*; 41 41 … … 263 263 264 264 JPanel movement_pane = new JPanel(); 265 move_up_button = new JButton("", Utility.getImage("arrow-up.gif"));265 move_up_button = new JButton("", JarTools.getImage("arrow-up.gif")); 266 266 move_up_button.setEnabled(false); 267 267 move_up_button.setMnemonic(KeyEvent.VK_U); 268 268 Dictionary.registerBoth(move_up_button, "CDM.Move.Move_Up", "CDM.Move.Move_Up_Tooltip"); 269 269 270 move_down_button = new JButton("", Utility.getImage("arrow-down.gif"));270 move_down_button = new JButton("", JarTools.getImage("arrow-down.gif")); 271 271 move_down_button.setEnabled(false); 272 272 move_down_button.setMnemonic(KeyEvent.VK_D);
Note:
See TracChangeset
for help on using the changeset viewer.