svn-gvsig-desktop / branches / v2_0_0_prep / applications / appgvSIG / src / org / gvsig / app / extension / MetadataPropertiesExtension.java @ 34928
History | View | Annotate | Download (825 Bytes)
1 |
package org.gvsig.app.extension; |
---|---|
2 |
|
3 |
import org.gvsig.andami.plugins.Extension; |
4 |
import org.gvsig.app.project.documents.view.legend.gui.ThemeManagerWindow; |
5 |
import org.gvsig.app.project.documents.view.metadata.gui.MetadataInfoManager; |
6 |
import org.gvsig.fmap.mapcontext.layers.vectorial.FLyrVect; |
7 |
|
8 |
public class MetadataPropertiesExtension extends Extension { |
9 |
|
10 |
public void initialize() { |
11 |
ThemeManagerWindow.addPage(MetadataInfoManager.class); |
12 |
ThemeManagerWindow.setTabEnabledForLayer(MetadataInfoManager.class, FLyrVect.class, true);
|
13 |
} |
14 |
|
15 |
public void postInitialize(){ |
16 |
} |
17 |
|
18 |
public void execute(String actionCommand) { |
19 |
// no commands, no code.
|
20 |
} |
21 |
|
22 |
public boolean isEnabled() { |
23 |
return true; |
24 |
} |
25 |
|
26 |
public boolean isVisible() { |
27 |
return false; |
28 |
} |
29 |
} |