|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sourceforge.nite.gui.util.AbstractCallableToolConfig
public class AbstractCallableToolConfig
AbstractCallableToolConfig subclasses define all the different settings needed in the abstract callable tool
class.
Subclasses of this config class can define hardcoded settings (things that the user should NOT be able to
modify, such as whether you are allowed to select text from multiple agents) and customizable settings
(through the nxtConfig.xml file, see also the NXTConfig
class.).
By overriding this class you can switch a setting from being user-configurable to being hardcoded and vice versa.
The best example of the different possibilities of these configurations is given by the DACoderConfig subclass,
which shows both the use of hardcoded settings and user-customizable settings (e.g. name of dialogue act elements).
See also NXTConfig
Constructor Summary | |
---|---|
AbstractCallableToolConfig()
|
Method Summary | |
---|---|
void |
clearCachedValues()
Clears any cached values. |
boolean |
getAllowAnnotationSelect()
|
boolean |
getAllowMultiAgentSelect()
|
boolean |
getAllowTranscriptSelect()
|
java.lang.String |
getApplicationName()
Default: applicationtitle attribute in guisettings |
java.util.Set |
getDisplayedAnnotationNames()
|
java.lang.String |
getHelpSetName()
|
NXTConfig |
getNXTConfig()
Returns the config object. |
java.lang.String |
getNXTConfigRootName()
Override if you need other rootname |
java.lang.String |
getSegmentationElementName()
Default: segmentationelementname attribute in corpussettings |
java.lang.String |
getTranscriptionAttribute()
Default: transcriptionattribute attribute in corpussettings |
java.lang.String |
getTranscriptionLayerName()
Default: transcriptionlayername attribute in corpussettings |
TranscriptionToTextDelegate |
getTranscriptionToTextDelegate()
Default: new instance of class defined in transcriptiondelegateclassname attribute in corpussettings |
int |
getWordlevelSelectionType()
|
void |
initDisplayedAnnotationNames()
Initializes value from settings... |
void |
loadConfig(java.lang.String newFile)
Set the file name of the config file. |
void |
reloadConfig()
Reload the current config file. |
void |
setCorpusSettings(java.lang.String corpussets)
set the name of the corpus-settings we will use |
void |
setGUISettings(java.lang.String guisets)
set the name of the gui-settings we will use |
void |
setMetaDataFile(java.lang.String newFile)
Set the file name of the metadata file. |
boolean |
showLogWindows()
showlogwindow attribute in guisettings |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractCallableToolConfig()
Method Detail |
---|
public void clearCachedValues()
public NXTConfig getNXTConfig()
public java.lang.String getNXTConfigRootName()
public void loadConfig(java.lang.String newFile) throws java.io.IOException, org.xml.sax.SAXException
java.io.IOException
org.xml.sax.SAXException
public void reloadConfig() throws java.io.IOException, org.xml.sax.SAXException
java.io.IOException
org.xml.sax.SAXException
public void setMetaDataFile(java.lang.String newFile)
public java.lang.String getSegmentationElementName()
public java.lang.String getTranscriptionLayerName()
public java.lang.String getTranscriptionAttribute()
public TranscriptionToTextDelegate getTranscriptionToTextDelegate()
public java.lang.String getApplicationName()
public boolean showLogWindows()
public void setCorpusSettings(java.lang.String corpussets)
public void setGUISettings(java.lang.String guisets)
public void initDisplayedAnnotationNames()
public java.util.Set getDisplayedAnnotationNames()
public int getWordlevelSelectionType()
public boolean getAllowTranscriptSelect()
public boolean getAllowAnnotationSelect()
public boolean getAllowMultiAgentSelect()
public java.lang.String getHelpSetName()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |