Package org.gvsig.scripting
Interface ScriptingDialog
- All Superinterfaces:
org.gvsig.tools.observer.Observable,org.gvsig.tools.script.Script,ScriptingBaseScript,ScriptingScript,ScriptingText,ScriptingUnit,org.gvsig.tools.observer.WeakReferencingObservable
Interface that represents a single script with window dialog.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intFields inherited from interface org.gvsig.scripting.ScriptingBaseScript
ISOLATION_HIGH, ISOLATION_LOW -
Method Summary
Modifier and TypeMethodDescriptionReturns the file where is the window dialog's gui.intReturns the type of the window dialog associated with the ScriptingDialog.voidsetShowMode(int mode) Sets the window mode associated with a ScriptingDialog.Methods inherited from interface org.gvsig.tools.observer.Observable
addObserver, deleteObserver, deleteObserversMethods inherited from interface org.gvsig.tools.script.Script
equals, getName, getNames, getTypeName, getURL, hashCode, putMethods inherited from interface org.gvsig.scripting.ScriptingBaseScript
addStderrWriter, addStdoutWriter, compile, getIsolationGroup, getLibrarySuffix, getResource, getScriptFile, isEnabled, put, removeStderrWriter, removeStdoutWriter, run, run, runAsTask, setEnabled, setIsolationGroup, setLibrarySuffixMethods inherited from interface org.gvsig.scripting.ScriptingScript
getCode, getLangName, getMainName, getMimeType, invokeFunction, invokeMethod, registerDataFolder, save, setCode, setMainNameMethods inherited from interface org.gvsig.scripting.ScriptingText
getText, setTextMethods inherited from interface org.gvsig.scripting.ScriptingUnit
addPropertyChangeListener, getCreatedBy, getDescription, getFile, getFileResource, getFiles, getIconNames, getId, getName, getParent, getProperties, getProperty, getTypeName, getUserPath, getVersion, isASystemUnit, isSaved, move, reload, remove, rename, setCreatedBy, setDescription, setName, setProperty, setSaved, setVersion
-
Field Details
-
MODE_DIALOG
static final int MODE_DIALOG- See Also:
-
MODE_WINDOW
static final int MODE_WINDOW- See Also:
-
MODE_TOOL
static final int MODE_TOOL- See Also:
-
-
Method Details
-
getDialogFile
File getDialogFile()Returns the file where is the window dialog's gui.- Returns:
- a File with the code of the window dialog.
-
getShowMode
int getShowMode()Returns the type of the window dialog associated with the ScriptingDialog.- Returns:
- an int with the window mode.
-
setShowMode
void setShowMode(int mode) Sets the window mode associated with a ScriptingDialog.- Parameters:
mode- int that contains the window mode.
-