Changeset 4593 for trunk


Ignore:
Timestamp:
2003-06-12T11:43:25+12:00 (21 years ago)
Author:
kjdon
Message:

forgot to remove my print statements in the last commit

File:
1 edited

Legend:

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

    r4592 r4593  
    685685    protected void validateAdd() {
    686686        if(changed && name.getText().length() > 0 && match.getText().length() > 0) {
    687         System.out.println("in validate, name="+name.getText());
    688687        if (subcollections.containsKey(name.getText())) {
    689688            add.setEnabled(false);
     
    760759
    761760        public void changedUpdate(DocumentEvent event) {
    762         System.out.println("changed");
    763761        changed = true;
    764762        validateAdd();
    765763        }
    766764        public void insertUpdate(DocumentEvent event) {
    767         System.out.println("inserted");
    768765        changed = true;
    769766        validateAdd();
     
    772769
    773770        public void removeUpdate(DocumentEvent event) {
    774         System.out.println("removed");
    775771        changed = true;
    776772        validateAdd();
    777773        }
    778         /** Any inheritor of KeyAdapter can override this method so we can be informed when an key has been type in one of our target controls. In this case we want to record that somethings changed, then validate the controls.
    779          * @param event An <strong>KeyEvent</strong> containing information about the event.
    780          */
    781         // public void keyPressed(KeyEvent event) {
    782         //changed = true;
    783         //validate();
    784         // }
    785 
    786774    }
    787775    /** Listens for actions apon the 'clear default subindex' button in the SubcollectionManager controls, and if detected calls the setDefaultSubIndex() method of the manager with <i>null</i>. */
Note: See TracChangeset for help on using the changeset viewer.