Revision 6877 trunk/extensions/extAddEventTheme/src/com/iver/gvsig/addeventtheme/AddEventThemeExtension.java
AddEventThemeExtension.java | ||
---|---|---|
96 | 96 |
public boolean isVisible() { |
97 | 97 |
Project project = ((ProjectExtension)PluginServices.getExtension(ProjectExtension.class)).getProject(); |
98 | 98 |
ArrayList tableList = project.getTables(); |
99 |
com.iver.andami.ui.mdiManager.View f = PluginServices.getMDIManager()
|
|
99 |
com.iver.andami.ui.mdiManager.IWindow f = PluginServices.getMDIManager()
|
|
100 | 100 |
.getActiveView(); |
101 | 101 |
if (!tableList.isEmpty() && f!=null && f instanceof View) return true; |
102 | 102 |
else return false; |
Also available in: Unified diff