edu.stanford.smi.protege.util
Interface Validatable
- All Known Implementing Classes:
- AbstractValidatableComponent, KnowledgeBaseSourcesEditor
- public interface Validatable
Description of the Interface
- Author:
- Ray Fergerson
Method Summary |
void |
saveContents()
save the contents of the current fields of this component to the
underlying data structure |
boolean |
validateContents()
check whether the current values of the fields in this component are
valid. |
saveContents
public void saveContents()
- save the contents of the current fields of this component to the
underlying data structure
validateContents
public boolean validateContents()
- check whether the current values of the fields in this component are
valid. If they are, return true. If not, prompt the user with a dialog
explaining the problem and return false.
Submit a bug report or feature request
Protege-2000 is a trademark of Stanford University.
Copyright (c) 1998-2002 Stanford University.