- Timestamp:
- 2003-05-27T15:57:37+12:00 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gli/src/org/greenstone/gatherer/cdm/CustomClassifier.java
r4293 r4366 44 44 */ 45 45 public interface CustomClassifier 46 47 48 46 extends Comparable { 47 /** Constructor. 48 * public CustomClassifier(Gatherer gatherer); 49 49 */ 50 50 /** Create a blank copy of this pseudo-classifier. 51 51 * @return A newly allocated <strong>CustomClassifier</strong>. 52 52 */ 53 54 55 56 53 public CustomClassifier copy(); 54 /** Destructor. */ 55 public void destroy(); 56 /** Show the controls for configuring this pseudo-classifier. 57 57 * @param show <i>true</i> if the component should immediately show itself, <i>false</i> if you just wish to initialize components. 58 58 */ 59 60 59 public boolean display(boolean show); 60 /** Method to return this pseudo-classifier represented as a String. 61 61 * @return A <strong>String</strong>. 62 62 */ 63 64 63 public String getCommand(); 64 /** Retrieve the custom command, a command line that overrides and replaces some other 'actual' classifier. 65 65 * @param index The number of the classifer this one is replacing. 66 66 */ 67 68 67 public String getCustomCommand(int index); 68 /** Get the name of this custom classifier. 69 69 * @return A <strong>String</strong> representing the name. 70 70 */ 71 72 73 74 75 76 77 78 71 public String getName(); 72 public void process(FileNode record); 73 /** Recreate a CustomAZList given several parameters including the real classifier created during custom design. 74 * @param classifier The real <strong>Classifier</strong>. 75 * @param separations A <strong>String</strong> representing the choosen separations. 76 */ 77 public void recreate(Classifier classifier, String separations); 78 /** Sets the value of Gatherer, for those classes loaded dynamically. 79 79 * @param gatherer A reference to the <strong>Gatherer</strong>. 80 80 */ 81 82 81 public void setGatherer(Gatherer gatherer); 82 /** Sets the Classifier manager in charge of this classifier. 83 83 * @param manager This classifiers <strong>ClassifierManager</strong>. 84 84 */ 85 85 public void setManager(ClassifierManager manager); 86 86 }
Note:
See TracChangeset
for help on using the changeset viewer.