svn-gvsig-desktop / branches / v2_0_0_prep / applications / appgvSIG / src / org / gvsig / app / extension / MetadataPropertiesExtension.java @ 34007
History | View | Annotate | Download (1.11 KB)
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.app.tools.swing.serv.field.crs.JCRSDynFieldComponentFactory; |
7 |
import org.gvsig.app.tools.swing.serv.field.date.JDateDynFieldComponentFactory; |
8 |
import org.gvsig.fmap.dal.DataTypes; |
9 |
import org.gvsig.fmap.mapcontext.layers.vectorial.FLyrVect; |
10 |
import org.gvsig.tools.service.spi.ServiceManager; |
11 |
import org.gvsig.tools.swing.spi.ToolsSwingServiceLocator; |
12 |
|
13 |
public class MetadataPropertiesExtension extends Extension { |
14 |
|
15 |
public void initialize() { |
16 |
ThemeManagerWindow.addPage(MetadataInfoManager.class); |
17 |
ThemeManagerWindow.setTabEnabledForLayer(MetadataInfoManager.class, FLyrVect.class, true);
|
18 |
|
19 |
} |
20 |
|
21 |
public void postInitialize(){ |
22 |
} |
23 |
|
24 |
public void execute(String actionCommand) { |
25 |
// no commands, no code.
|
26 |
} |
27 |
|
28 |
public boolean isEnabled() { |
29 |
return true; |
30 |
} |
31 |
|
32 |
public boolean isVisible() { |
33 |
return false; |
34 |
} |
35 |
} |