public interface ScriptingUnit
Interface that represents the elements used in the ScriptingFramework.
ScriptingBaseScript
,
ScriptingFolder
Modifier and Type | Method and Description |
---|---|
void |
addPropertyChangeListener(PropertyChangeListener listener) |
String |
getCreatedBy()
Returns information about the ScriptingUnit's creator
|
String |
getDescription()
Returns the ScriptingUnit's description
|
File |
getFile()
Gets a File with the ScriptUnit path name.
|
List<File> |
getFiles()
Return a list of the files that use this unit with out the inf file.
|
String[] |
getIconNames()
Gets the name of the icons associated to the ScriptingUnit type.
|
String |
getId()
Returns the ScriptingUnit's ID
|
String |
getName()
Returns the ScriptingUnit's name
|
ScriptingFolder |
getParent()
Returns the ScriptingUnit's parent
|
String |
getTypeName() |
String |
getVersion()
Returns the ScriptingUnit's version
|
boolean |
isSaved()
Indicates if the ScriptBaseScript is modified from last saved version.
|
boolean |
move(ScriptingFolder target)
Moves a ScriptingUnitfrom the current directory to the new location.
|
boolean |
remove() |
boolean |
rename(String newId)
Changes the ID of a ScriptingUnit and the name of the files and/or directories associated
|
void |
setCreatedBy(String createdBy)
Sets a new information about the ScriptingUnit's creator.
|
void |
setDescription(String description)
Sets a new description to the ScriptingUnit.
|
void |
setName(String name)
Sets a new name to the ScriptingUnit.
|
void |
setSaved(boolean saved)
Sets the unit current status with the saved version.
|
void |
setVersion(String version)
Sets a new version value to the ScriptingUnit.
|
String getId()
String getName()
String getDescription()
String getCreatedBy()
String getVersion()
ScriptingFolder getParent()
ScriptingFolder
where is contained the ScriptingUnitvoid setName(String name)
name
- String that contains the new name.void setDescription(String description)
description
- String that contains the new description.void setCreatedBy(String createdBy)
createdBy
- String that contains the new creator's information.void setVersion(String version)
version
- String that contains the new version.boolean rename(String newId)
newId
- String that contains the new Id.boolean remove()
boolean move(ScriptingFolder target)
target
- ScriptingFolder
that represents the destination..String[] getIconNames()
String getTypeName()
File getFile()
List<File> getFiles()
void addPropertyChangeListener(PropertyChangeListener listener)
void setSaved(boolean saved)
saved
- Indicate if the unit is up-to-date or not.boolean isSaved()