gvsig-sqlite / trunk / org.gvsig.spatialite / org.gvsig.spatialite.app / org.gvsig.spatialite.app.mainplugin / org.gvsig.spatialite.app.mainplugin.common / src / main / java / org / gvsig / spatialite / SpatiaLiteExtension.java @ 118
History | View | Annotate | Download (905 Bytes)
1 |
|
---|---|
2 |
package org.gvsig.spatialite; |
3 |
|
4 |
import org.gvsig.andami.IconThemeHelper; |
5 |
import org.gvsig.andami.plugins.Extension; |
6 |
import org.gvsig.fmap.mapcontext.MapContextLocator; |
7 |
import org.gvsig.fmap.mapcontext.MapContextManager; |
8 |
|
9 |
|
10 |
public class SpatiaLiteExtension extends Extension { |
11 |
|
12 |
@Override
|
13 |
public void initialize() { |
14 |
} |
15 |
|
16 |
@Override
|
17 |
public void postInitialize() { |
18 |
MapContextManager mapContextMgr = MapContextLocator.getMapContextManager(); |
19 |
|
20 |
IconThemeHelper.registerIcon("layer", "layer-icon-spatialite", this); |
21 |
mapContextMgr.registerIconLayer("SpatiaLite", "layer-icon-spatialite"); |
22 |
} |
23 |
|
24 |
@Override
|
25 |
public void execute(String actionCommand) { |
26 |
} |
27 |
|
28 |
@Override
|
29 |
public boolean isEnabled() { |
30 |
return false; |
31 |
} |
32 |
|
33 |
@Override
|
34 |
public boolean isVisible() { |
35 |
return false; |
36 |
} |
37 |
|
38 |
} |