Ignore:
Timestamp:
2003-07-16T15:49:12+12:00 (21 years ago)
Author:
jmt12
Message:

Removed custom package from cdm (I'll put it back one day)

Location:
trunk/gli/src/org/greenstone/gatherer/cdm
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/gli/src/org/greenstone/gatherer/cdm/Classifier.java

    r4932 r4960  
    176176     * @param object The classifier to test against, as an <strong>Object</strong>.
    177177     * @return <i>true</i> if the classifier names match, <i>false</i> otherwise.
    178      * @see org.greenstone.gatherer.cdm.CustomClassifier
    179178     */
    180179    public boolean equals(Object object) {
  • trunk/gli/src/org/greenstone/gatherer/cdm/ClassifierManager.java

    r4932 r4960  
    4646import org.greenstone.gatherer.cdm.Control;
    4747import org.greenstone.gatherer.cdm.Classifier;
    48 import org.greenstone.gatherer.cdm.CustomClassifier;
    4948import org.greenstone.gatherer.cdm.DOMProxyListModel;
    5049import org.greenstone.gatherer.file.FileNode;
     
    695694         * @see org.greenstone.gatherer.cdm.ArgumentConfiguration
    696695         * @see org.greenstone.gatherer.cdm.Classifier
    697          * @see org.greenstone.gatherer.cdm.CustomClassifier
    698696         */
    699697        public void actionPerformed(ActionEvent event) {
     
    763761         * @see org.greenstone.gatherer.cdm.ArgumentConfiguration
    764762         * @see org.greenstone.gatherer.cdm.Classifier
    765          * @see org.greenstone.gatherer.cdm.CustomClassifier
    766763         */
    767764        public void actionPerformed(ActionEvent event) {
     
    828825    private class RemoveListener
    829826        implements ActionListener {
    830                 /** Any implementation of <i>ActionListener</i> must include this method so that we can be informed when an action has occured on one of our target controls, so we can remove the selected Classifier.
    831                  * @param event An <strong>ActionEvent</strong> containing information garnered from the control action.
    832                  * @see org.greenstone.gatherer.cdm.Classifier
    833                  * @see org.greenstone.gatherer.cdm.CustomClassifier
    834                  */
     827        /** Any implementation of <i>ActionListener</i> must include this method so that we can be informed when an action has occured on one of our target controls, so we can remove the selected Classifier.
     828         * @param event An <strong>ActionEvent</strong> containing information garnered from the control action.
     829         * @see org.greenstone.gatherer.cdm.Classifier
     830         */
    835831        public void actionPerformed(ActionEvent event) {
    836832        if(!classifier_list.isSelectionEmpty()) {
  • trunk/gli/src/org/greenstone/gatherer/cdm/FormatManager.java

    r4932 r4960  
    200200        ArrayList feature_model = buildFeatureModel();
    201201        part_model = new Vector();
    202         part_model.add("");//get("Custom"));
     202        part_model.add("");
    203203        part_model.add("DateList");
    204204        part_model.add("HList");
     
    537537        implements Comparable {
    538538        private Classifier classifier = null;
    539         private CustomClassifier custom_classifier = null;
    540539        private String text = null;
    541540        public Entry(Object object) {
     
    543542            classifier = (Classifier)object;
    544543        }
    545         if(object instanceof CustomClassifier) {
    546             custom_classifier = (CustomClassifier)object;
    547         }
    548544        else if(object instanceof String) {
    549545            text = (String)object;
     
    580576        return classifier;
    581577        }
    582         public CustomClassifier getCustomClassifier() {
    583         return custom_classifier;
    584         }
    585578        public Object getFeature() {
    586579        if(classifier != null) {
     
    593586            String name = classifier.toString();
    594587            return name.substring(9);
    595         }
    596         if(custom_classifier != null) {
    597             String name = custom_classifier.toString();
    598             return name;//.substring(17);
    599588        }
    600589        return text;
Note: See TracChangeset for help on using the changeset viewer.