Revision 212 trunk/org.gvsig.scripting/org.gvsig.scripting.lib/org.gvsig.scripting.lib.api/src/main/java/org/gvsig/scripting/ScriptingManager.java
ScriptingManager.java | ||
---|---|---|
49 | 49 |
* @return the new {@link ScriptingScript} |
50 | 50 |
* @deprecated see {@link #createUnit(String, ScriptingFolder, String)} |
51 | 51 |
*/ |
52 |
public ScriptingScript createScript(ScriptingFolder folder, String id); |
|
52 |
@Deprecated |
|
53 |
public ScriptingScript createScript(ScriptingFolder folder, String id); |
|
53 | 54 |
|
54 | 55 |
/** |
55 | 56 |
* Creates a new instance of {@link ScriptingProject} named as the id and in the directory specified |
... | ... | |
60 | 61 |
* @return the new {@link ScriptingProject} |
61 | 62 |
* @deprecated see {@link #createUnit(String, ScriptingFolder, String)} |
62 | 63 |
*/ |
63 |
public ScriptingProject createProject(ScriptingFolder folder, String id); |
|
64 |
@Deprecated |
|
65 |
public ScriptingProject createProject(ScriptingFolder folder, String id); |
|
64 | 66 |
|
65 | 67 |
/** |
66 | 68 |
* Creates a new instance of {@link ScriptingDialog} named as the id and in the directory specified |
... | ... | |
71 | 73 |
* @return the new {@link ScriptingDialog} |
72 | 74 |
* @deprecated see {@link #createUnit(String, ScriptingFolder, String)} |
73 | 75 |
*/ |
74 |
public ScriptingDialog createDialog(ScriptingFolder folder, String id); |
|
76 |
@Deprecated |
|
77 |
public ScriptingDialog createDialog(ScriptingFolder folder, String id); |
|
75 | 78 |
|
76 | 79 |
/** |
77 | 80 |
* Creates a new instance of {@link ScriptingFolder} named as the id and in the directory specified |
... | ... | |
82 | 85 |
* @return the new {@link ScriptingFolder} |
83 | 86 |
* @deprecated see {@link #createUnit(String, ScriptingFolder, String)} |
84 | 87 |
*/ |
85 |
public ScriptingFolder createFolder(ScriptingFolder folder, String id); |
|
88 |
@Deprecated |
|
89 |
public ScriptingFolder createFolder(ScriptingFolder folder, String id); |
|
86 | 90 |
|
87 | 91 |
public ScriptingUnit createUnit(String unitType, ScriptingFolder folder, String id); |
88 | 92 |
|
... | ... | |
120 | 124 |
* @param folder File with the root of the File System to register |
121 | 125 |
*/ |
122 | 126 |
public void registerSystemFolder(String name, File folder); |
123 |
|
|
124 |
/** |
|
125 |
* Gets all the supported Language by their extensions associated with each one. |
|
126 |
* |
|
127 |
* @return a Map with the pairs <key,value> where the key is a String with the extension and the value is the Languange associated |
|
128 |
*/ |
|
129 |
public Map getSupportedLanguagesByExtension(); |
|
130 |
|
|
131 |
/** |
|
132 |
* Gets all the supported Language and the extensions associated with each one. |
|
133 |
* |
|
134 |
* @return a Map with the pairs <key,value> where the key is a String with the Languange and the value is the extension associated |
|
135 |
*/ |
|
136 |
public Map getExtensionsByLanguages(); |
|
127 |
|
|
128 |
/** |
|
129 |
* Gets all the supported Language by their extensions associated with each |
|
130 |
* one. |
|
131 |
* |
|
132 |
* @return a Map with the pairs <key,value> where the key is a String with |
|
133 |
* the extension and the value is the Language associated |
|
134 |
*/ |
|
135 |
public Map<String, String> getSupportedLanguagesByExtension(); |
|
136 |
|
|
137 |
/** |
|
138 |
* Gets all the supported Language and the extensions associated with each |
|
139 |
* one. |
|
140 |
* |
|
141 |
* @return a Map with the pairs <key,value> where the key is a String with |
|
142 |
* the Language and the value is the extension associated |
|
143 |
*/ |
|
144 |
public Map<String, String> getExtensionsByLanguages(); |
|
137 | 145 |
|
138 | 146 |
/** |
139 | 147 |
* Checks if an id is unique in a determinate folder |
Also available in: Unified diff