Revision 29938 branches/v2_0_0_prep/extensions/ext3Dgui/src/org/gvsig/gvsig3dgui/view/ViewPropertiesExtension3D.java
ViewPropertiesExtension3D.java | ||
---|---|---|
1 |
/* gvSIG. Sistema de Informaci?n Geogr?fica de la Generalitat Valenciana
|
|
1 |
/* gvSIG. Sistema de Informaci�n Geogr�fica de la Generalitat Valenciana
|
|
2 | 2 |
* |
3 | 3 |
* Copyright (C) 2004 IVER T.I. and Generalitat Valenciana. |
4 | 4 |
* |
... | ... | |
20 | 20 |
* |
21 | 21 |
* Generalitat Valenciana |
22 | 22 |
* Conselleria d'Infraestructures i Transport |
23 |
* Av. Blasco Ib??ez, 50
|
|
23 |
* Av. Blasco Ib��ez, 50
|
|
24 | 24 |
* 46010 VALENCIA |
25 | 25 |
* SPAIN |
26 | 26 |
* |
... | ... | |
38 | 38 |
* +34 963163400 |
39 | 39 |
* dac@iver.es |
40 | 40 |
*/ |
41 |
/* gvSIG. Sistema de Informaci?n Geogr?fica de la Generalitat Valenciana
|
|
41 |
/* gvSIG. Sistema de Informaci�n Geogr�fica de la Generalitat Valenciana
|
|
42 | 42 |
* |
43 | 43 |
* Copyright (C) 2004 IVER T.I. and Generalitat Valenciana. |
44 | 44 |
* |
... | ... | |
60 | 60 |
* |
61 | 61 |
* Generalitat Valenciana |
62 | 62 |
* Conselleria d'Infraestructures i Transport |
63 |
* Av. Blasco Ib??ez, 50
|
|
63 |
* Av. Blasco Ib��ez, 50
|
|
64 | 64 |
* 46010 VALENCIA |
65 | 65 |
* SPAIN |
66 | 66 |
* |
... | ... | |
80 | 80 |
*/ |
81 | 81 |
package org.gvsig.gvsig3dgui.view; |
82 | 82 |
|
83 |
import com.iver.andami.PluginServices; |
|
84 |
import com.iver.andami.plugins.Extension; |
|
85 |
import com.iver.cit.gvsig.project.documents.view.IProjectView; |
|
83 |
import org.gvsig.andami.PluginServices; |
|
84 |
import org.gvsig.andami.plugins.Extension; |
|
85 |
import org.gvsig.andami.ui.mdiManager.IWindow; |
|
86 |
import org.gvsig.app.project.documents.view.IProjectView; |
|
86 | 87 |
|
87 | 88 |
/** |
88 | 89 |
* DOCUMENT ME! |
... | ... | |
103 | 104 |
* DOCUMENT ME! |
104 | 105 |
*/ |
105 | 106 |
public void execute(String s) { |
106 |
com.iver.andami.ui.mdiManager.IWindow view = PluginServices
|
|
107 |
IWindow view = PluginServices |
|
107 | 108 |
.getMDIManager().getActiveWindow(); |
108 | 109 |
if (!(view instanceof View3D)) |
109 | 110 |
return; |
110 |
// System.out.println("RECUPERADA LA VISTA 3D"); |
|
111 |
|
|
111 | 112 |
View3D vista3D = (View3D) view; |
112 | 113 |
IProjectView model = vista3D.getModel(); |
113 | 114 |
|
... | ... | |
132 | 133 |
* @return DOCUMENT ME! |
133 | 134 |
*/ |
134 | 135 |
public boolean isVisible() { |
135 |
com.iver.andami.ui.mdiManager.IWindow f = PluginServices
|
|
136 |
IWindow f = PluginServices |
|
136 | 137 |
.getMDIManager().getActiveWindow(); |
137 | 138 |
if (f == null) { |
138 | 139 |
return false; |
Also available in: Unified diff