Revision 32595
branches/v2_0_0_prep/extensions/org.gvsig.arcims.feature.extension/src/main/java/org/gvsig/arcims/feature/ArcimsFeatureExtension.java | ||
---|---|---|
47 | 47 |
* right-click popup menus to the gvSIG resources. |
48 | 48 |
*/ |
49 | 49 |
public void initialize() { |
50 |
|
|
50 |
|
|
51 | 51 |
// Initialize ArcIMS Library |
52 | 52 |
Library lib = new ArcImsLibrary(); |
53 | 53 |
lib.postInitialize(); |
54 |
|
|
54 |
|
|
55 | 55 |
// must add menus and a new tab to the wizard.. |
56 | 56 |
AddLayer.addWizard(ArcImsFeatureWizard.class); |
57 |
|
|
57 |
|
|
58 |
// Adding forms to the generic vectorial properties |
|
59 |
// ThemeManagerWindow.addPage(WFSProperties.class); |
|
60 |
// ThemeManagerWindow.setTabEnabledForLayer(WFSProperties.class, |
|
61 |
// FLyrVect.class, true); |
|
62 |
|
|
58 | 63 |
// to create an arcims layer |
59 | 64 |
// FPopupMenu.addEntry(new ArcImsPropsTocMenuEntry()); |
60 | 65 |
// // FPopupMenu.addEntry(new ArcImsRasterPropsTocMenuEntry()); |
61 | 66 |
// FPopupMenu.addEntry(new ArcImsLayerScaleTocMenuEntry()); |
62 |
|
|
63 | 67 |
|
64 | 68 |
// properties tabs: |
65 | 69 |
// ThemeManagerWindow.setTabEnabledForLayer(General.class, |
... | ... | |
70 | 74 |
// FFeatureLyrArcIMS.class, true); |
71 | 75 |
|
72 | 76 |
// about |
73 |
// java.net.URL newurl = createResourceUrl("about/extarcims-about.html"); |
|
74 |
// About claseAbout = (About) PluginServices.getExtension(About.class); |
|
75 |
// claseAbout.getAboutPanel().addAboutUrl("ArcIMS", newurl); |
|
77 |
// java.net.URL newurl = |
|
78 |
// createResourceUrl("about/extarcims-about.html"); |
|
79 |
// About claseAbout = (About) PluginServices.getExtension(About.class); |
|
80 |
// claseAbout.getAboutPanel().addAboutUrl("ArcIMS", newurl); |
|
76 | 81 |
|
77 | 82 |
// catalog |
78 | 83 |
// ExtensionPointManager extensionPointsManager = ToolsLocator |
79 | 84 |
// .getExtensionPointManager(); |
80 | 85 |
// |
81 |
|
|
86 |
|
|
82 | 87 |
// // extensionPointsManager.add("CatalogLayers", "arcims_vectorial"); |
83 |
|
|
88 |
|
|
84 | 89 |
// extensionPoints.add("CatalogLayers", "arcims_vectorial", |
85 | 90 |
// FFeatureLyrArcIMSCollection.class); |
86 | 91 |
|
... | ... | |
95 | 100 |
* |
96 | 101 |
*/ |
97 | 102 |
public void execute(String actionCommand) { |
98 |
//nothing to do |
|
103 |
// nothing to do
|
|
99 | 104 |
} |
100 | 105 |
|
101 | 106 |
/** |
... | ... | |
118 | 123 |
return false; |
119 | 124 |
} |
120 | 125 |
|
121 |
|
|
122 | 126 |
} |
Also available in: Unified diff