Revision 12207 trunk/applications/appgvSIG/src/com/iver/cit/gvsig/ProjectExtension.java
ProjectExtension.java | ||
---|---|---|
157 | 157 |
else |
158 | 158 |
p = restorePreviousProject(); |
159 | 159 |
pe.setProject(p); */ |
160 |
String[] theArgs = PluginServices.getArguments(); |
|
160 |
|
|
161 |
} |
|
162 |
/** |
|
163 |
* @see com.iver.mdiApp.plugins.IExtension#postInitialize() |
|
164 |
*/ |
|
165 |
public void postInitialize() { |
|
166 |
String[] theArgs = PluginServices.getArguments(); |
|
161 | 167 |
String lastArg = theArgs[theArgs.length-1]; |
162 | 168 |
if ((lastArg.endsWith(".gvp")) || |
163 | 169 |
(lastArg.endsWith(".GVP"))) |
... | ... | |
175 | 181 |
p.setModified(false); |
176 | 182 |
PluginServices.getMainFrame().setTitle(PluginServices.getText(this, "sin_titulo")); |
177 | 183 |
} |
178 |
} |
|
179 |
/** |
|
180 |
* @see com.iver.mdiApp.plugins.IExtension#postInitialize() |
|
181 |
*/ |
|
182 |
public void postInitialize() { |
|
183 | 184 |
getProjectFrame().setProject(p); |
184 | 185 |
p.restoreWindowProperties(); |
185 | 186 |
} |
Also available in: Unified diff