Revision 441 org.gvsig.scripting/trunk/org.gvsig.scripting/org.gvsig.scripting.lib/org.gvsig.scripting.lib.api/src/main/java/org/gvsig/scripting/ScriptingUnit.java
ScriptingUnit.java | ||
---|---|---|
1 | 1 |
package org.gvsig.scripting; |
2 | 2 |
|
3 |
import java.io.File; |
|
4 |
|
|
3 | 5 |
/** |
4 | 6 |
* <p> Interface that represents the elements used in the ScriptingFramework.</p> |
5 | 7 |
* |
... | ... | |
92 | 94 |
*/ |
93 | 95 |
public boolean rename(String newId); |
94 | 96 |
|
97 |
public boolean remove(); |
|
98 |
|
|
95 | 99 |
/** |
96 | 100 |
* Moves a ScriptingUnitfrom the current directory to the new location. |
97 | 101 |
* |
... | ... | |
108 | 112 |
* @return a String array with the identificators of the icons associated. |
109 | 113 |
*/ |
110 | 114 |
public String[] getIconNames(); |
115 |
|
|
116 |
public String getTypeName(); |
|
117 |
|
|
118 |
/** |
|
119 |
* Gets a File with the ScriptUnit path name. |
|
120 |
* |
|
121 |
* @return a string with the path name of the ScriptUnit (inf/folder). |
|
122 |
*/ |
|
123 |
public File getFile(); |
|
111 | 124 |
} |
Also available in: Unified diff