|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.sourceforge.nite.corpus.plugin.OntologyTool
public class OntologyTool
Interface to be instantated by all tools that can perform editing or management style tasks at a corpus-wide level. NOT intended for annotation tools! Each CorpusTool must publish a JPanel containing its interface and declare whether any changes need to be saved as well as providing a method to do its own saving.
| Constructor Summary | |
|---|---|
OntologyTool()
|
|
| Method Summary | |
|---|---|
void |
applyChanges()
apply the changes to the corpus |
java.lang.String |
getDescription()
get a short textual description of this app |
java.lang.String |
getName()
get the (one word) name of this app for naming a tab |
javax.swing.JPanel |
getPanel(NMetaData metadata)
provide the interface for this tool |
java.lang.String |
getToolTip()
get a handy tip to associate with this app |
boolean |
requiresSave()
return true if outstanding changes are still to be committed |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public OntologyTool()
| Method Detail |
|---|
public javax.swing.JPanel getPanel(NMetaData metadata)
getPanel in interface CorpusToolpublic boolean requiresSave()
requiresSave in interface CorpusToolpublic void applyChanges()
applyChanges in interface CorpusToolpublic java.lang.String getToolTip()
getToolTip in interface CorpusToolpublic java.lang.String getDescription()
getDescription in interface CorpusToolpublic java.lang.String getName()
getName in interface CorpusTool
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||