Changeset 12638
- Timestamp:
- 2006-09-01T09:57:23+12:00 (18 years ago)
- Location:
- trunk/gli/src/org/greenstone/gatherer/cdm
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gli/src/org/greenstone/gatherer/cdm/ClassifierManager.java
r12637 r12638 118 118 } 119 119 else { 120 System.err.println("Already loaded arguments for " + classifier_name + "!");120 DebugStream.println("Already loaded arguments for " + classifier_name + "!"); 121 121 } 122 122 } … … 131 131 static private void loadClassifierInfo(Classifier classifier) 132 132 { 133 System.err.println("Loading arguments for " + classifier.getName() + "...");133 DebugStream.println("Loading arguments for " + classifier.getName() + "..."); 134 134 135 135 // Run classifierfo.pl to get the list of classifiers … … 174 174 static public void loadClassifiersList() 175 175 { 176 System.err.println("In loadClassifiersList()...");176 DebugStream.println("In loadClassifiersList()..."); 177 177 178 178 // Run classifierfo.pl to get the list of classifiers … … 611 611 612 612 613 /** This listener reacts to changes in the current selection of the classifier combobox. */ 614 private class ClassifierComboboxListener 615 implements ItemListener { 616 /** When a user selects a certain classifier, update the tooltip to show the classifier description. */ 617 public void itemStateChanged(ItemEvent event) { 618 if(event.getStateChange() == ItemEvent.SELECTED) { 619 // Retrieve the selected classifier 620 Classifier current_selection = (Classifier) classifier_combobox.getSelectedItem(); 621 // And reset the tooltip. 622 classifier_combobox.setToolTipText(Utility.formatHTMLWidth(current_selection.getDescription(), 40)); 623 current_selection = null; 624 } 625 } 626 } 613 /** This listener reacts to changes in the current selection of the classifier combobox. */ 614 private class ClassifierComboboxListener 615 implements ItemListener { 616 /** When a user selects a certain classifier, update the tooltip to show the classifier description. */ 617 public void itemStateChanged(ItemEvent event) { 618 if(event.getStateChange() == ItemEvent.SELECTED) { 619 // Retrieve the selected classifier 620 Classifier current_selection = (Classifier) classifier_combobox.getSelectedItem(); 621 // And reset the tooltip. 622 classifier_combobox.setToolTipText(Utility.formatHTMLWidth(current_selection.getDescription(), 40)); 623 current_selection = null; 624 } 625 } 626 } 627 627 628 628 629 /** Listens for double clicks apon the list and react as if the configure button was pushed. */ -
trunk/gli/src/org/greenstone/gatherer/cdm/PluginManager.java
r12637 r12638 147 147 } 148 148 else { 149 System.err.println("Already loaded arguments for " + plugin_name + "!");149 DebugStream.println("Already loaded arguments for " + plugin_name + "!"); 150 150 } 151 151 } … … 173 173 static private void loadPluginInfo(Plugin plugin) 174 174 { 175 System.err.println("Loading arguments for " + plugin.getName() + "...");175 DebugStream.println("Loading arguments for " + plugin.getName() + "..."); 176 176 177 177 // Run pluginfo.pl to get the list of plugins … … 216 216 static public void loadPluginsList() 217 217 { 218 System.err.println("In loadPluginsList()...");218 DebugStream.println("In loadPluginsList()..."); 219 219 220 220 // Run pluginfo.pl to get the list of plugins
Note:
See TracChangeset
for help on using the changeset viewer.