public class SystemFolder extends DefaultScriptingFolder
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ID |
folder
changeListener, createdBy, description, id, manager, name, parent, saved, typename, version
Constructor and Description |
---|
SystemFolder(ScriptingManager manager) |
Modifier and Type | Method and Description |
---|---|
java.io.File |
getFileResource(java.lang.String extension) |
java.lang.String[] |
getIconNames()
Gets the name of the icons associated to the ScriptingUnit type.
|
ScriptingFolder |
getParent()
Returns the ScriptingUnit's parent
|
Unit |
getUnit(java.io.File afile)
Returns the
ScriptingUnit associated with a File. |
java.util.List<ScriptingUnit> |
getUnits()
Gets all the
ScriptingUnit s contained in a ScriptingFolder. |
java.lang.String |
toString() |
accept, accept, add, create, create, getConfig, getConfig, getConfigFile, getFile, getFiles, getProperty, getRawInf, getUnit, getUnitFolders, isLink, load, move, remove, remove, rename, save, setIconNames, setId, setProperty, setRawInf
addPropertyChangeListener, console_println, equals, firePropertyChange, firePropertyChangeListener, getCreatedBy, getDescription, getId, getInfBoolean, getInfInt, getInfString, getInfValue, getManager, getName, getProperties, getProperty, getTypeName, getURL, getUserPath, getVersion, hashCode, isASystemUnit, isSaved, loadInf, reload, save, setCreatedBy, setDescription, setName, setParent, setProperty, setSaved, setVersion
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
addPropertyChangeListener, getCreatedBy, getDescription, getId, getName, getProperties, getProperty, getTypeName, getUserPath, getVersion, isASystemUnit, isSaved, reload, setCreatedBy, setDescription, setName, setProperty, setSaved, setVersion
public static final java.lang.String ID
public SystemFolder(ScriptingManager manager)
public ScriptingFolder getParent()
ScriptingUnit
getParent
in interface ScriptingUnit
getParent
in class DefaultScriptingFolder
ScriptingFolder
where is contained the ScriptingUnitpublic java.io.File getFileResource(java.lang.String extension)
getFileResource
in interface ScriptingUnit
getFileResource
in class DefaultScriptingFolder
public java.lang.String toString()
toString
in class AbstractUnit
public java.lang.String[] getIconNames()
ScriptingUnit
getIconNames
in interface ScriptingUnit
getIconNames
in class DefaultScriptingFolder
public Unit getUnit(java.io.File afile)
ScriptingFolder
ScriptingUnit
associated with a File.getUnit
in interface ScriptingFolder
getUnit
in class DefaultScriptingFolder
afile
- File of the data origin.ScriptingUnit
with the content extracted from the file.public java.util.List<ScriptingUnit> getUnits()
ScriptingFolder
ScriptingUnit
s contained in a ScriptingFolder.getUnits
in interface ScriptingFolder
getUnits
in class DefaultScriptingFolder
ScriptingUnit
s.