root / branches / v2_0_0_prep / applications / appgvSIG / src / org / gvsig / app / extension / MetadataPropertiesExtension.java @ 38614
History | View | Annotate | Download (825 Bytes)
1 | 33400 | cmartin | 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 | 34272 | cmartin | ThemeManagerWindow.setTabEnabledForLayer(MetadataInfoManager.class, FLyrVect.class, true);
|
13 | 33400 | cmartin | } |
14 | |||
15 | public void postInitialize(){ |
||
16 | 33622 | cmartin | } |
17 | 33400 | cmartin | |
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 | } |