Changeset 4623
- Timestamp:
- 2003-06-12T18:06:01+12:00 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gli/src/org/greenstone/gatherer/cdm/CustomClassifier.java
r4463 r4623 48 48 * public CustomClassifier(Gatherer gatherer); 49 49 */ 50 51 52 50 /** Create a blank copy of this pseudo-classifier. 51 * @return A newly allocated <strong>CustomClassifier</strong>. 52 */ 53 53 public CustomClassifier copy(); 54 54 /** Destructor. */ 55 55 public void destroy(); 56 56 /** Show the controls for configuring this pseudo-classifier. 57 * @param show <i>true</i> if the component should immediately show itself, <i>false</i> if you just wish to initialize components. 58 */ 57 * @param show <i>true</i> if the component should immediately show itself, <i>false</i> if you just wish to initialize components. 58 */ 59 public void hide(); 59 60 public boolean display(boolean show); 60 61 /** Method to return this pseudo-classifier represented as a String. 61 62 62 * @return A <strong>String</strong>. 63 */ 63 64 public String getCommand(); 64 65 /** Retrieve the custom command, a command line that overrides and replaces some other 'actual' classifier. 65 66 66 * @param index The number of the classifer this one is replacing. 67 */ 67 68 public String getCustomCommand(int index); 68 69 /** Get the name of this custom classifier. 69 70 70 * @return A <strong>String</strong> representing the name. 71 */ 71 72 public String getName(); 72 73 public void process(FileNode record); … … 77 78 public void recreate(Classifier classifier, String separations); 78 79 /** Sets the value of Gatherer, for those classes loaded dynamically. 79 80 80 * @param gatherer A reference to the <strong>Gatherer</strong>. 81 */ 81 82 public void setGatherer(Gatherer gatherer); 82 83 /** Sets the Classifier manager in charge of this classifier. 83 84 84 * @param manager This classifiers <strong>ClassifierManager</strong>. 85 */ 85 86 public void setManager(ClassifierManager manager); 86 87 /** Determines if the classifier is curren tly adjusting values, in which case we don't want to tell it to do anything new or else it might get stuck in a infinite loop. */88 public boolean valueIsAdjusting();87 88 /** Determines if the classifier is currenlty processing values, in which case we don't want to tell it to do anything new or else it might get stuck in a infinite loop. */ 89 public boolean isProcessing(); 89 90 }
Note:
See TracChangeset
for help on using the changeset viewer.