Revision 6877 trunk/extensions/extCAD/src/com/iver/cit/gvsig/StartEditing.java
StartEditing.java | ||
---|---|---|
62 | 62 |
*/ |
63 | 63 |
public void execute(String actionCommand) { |
64 | 64 |
CADExtension.initFocus(); |
65 |
com.iver.andami.ui.mdiManager.View f = PluginServices.getMDIManager()
|
|
65 |
com.iver.andami.ui.mdiManager.IWindow f = PluginServices.getMDIManager()
|
|
66 | 66 |
.getActiveView(); |
67 | 67 |
|
68 | 68 |
if (f instanceof View) { |
... | ... | |
201 | 201 |
} |
202 | 202 |
|
203 | 203 |
private void changeModelTable(ProjectTable pt){ |
204 |
com.iver.andami.ui.mdiManager.View[] views = PluginServices.getMDIManager().getAllViews();
|
|
204 |
com.iver.andami.ui.mdiManager.IWindow[] views = PluginServices.getMDIManager().getAllViews();
|
|
205 | 205 |
|
206 | 206 |
for (int i=0 ; i<views.length ; i++){ |
207 | 207 |
if (views[i] instanceof Table){ |
... | ... | |
237 | 237 |
* @see com.iver.andami.plugins.IExtension#isVisible() |
238 | 238 |
*/ |
239 | 239 |
public boolean isVisible() { |
240 |
com.iver.andami.ui.mdiManager.View f = PluginServices.getMDIManager()
|
|
240 |
com.iver.andami.ui.mdiManager.IWindow f = PluginServices.getMDIManager()
|
|
241 | 241 |
.getActiveView(); |
242 | 242 |
|
243 | 243 |
if (f == null) { |
Also available in: Unified diff