Revision 43152 trunk/org.gvsig.desktop/org.gvsig.desktop.plugin/org.gvsig.app/org.gvsig.app.mainplugin/src/main/java/org/gvsig/app/extension/BasicSymbologyExtension.java
BasicSymbologyExtension.java | ||
---|---|---|
40 | 40 |
import org.gvsig.app.project.documents.view.legend.gui.AttrInTableLabeling; |
41 | 41 |
import org.gvsig.app.project.documents.view.legend.gui.Categories; |
42 | 42 |
import org.gvsig.app.project.documents.view.legend.gui.Features; |
43 |
import org.gvsig.app.project.documents.view.legend.gui.General; |
|
44 | 43 |
import org.gvsig.app.project.documents.view.legend.gui.GeneralLayerPropertiesPage.GeneralLayerPropertiesPageFactory; |
45 |
import org.gvsig.app.project.documents.view.legend.gui.InformationLayerPropertiesPageFactory; |
|
46 | 44 |
import org.gvsig.app.project.documents.view.legend.gui.LabelingManager; |
47 | 45 |
import org.gvsig.app.project.documents.view.legend.gui.LegendManager; |
48 | 46 |
import org.gvsig.app.project.documents.view.legend.gui.MultipleAttributes; |
49 | 47 |
import org.gvsig.app.project.documents.view.legend.gui.Quantities; |
50 | 48 |
import org.gvsig.app.project.documents.view.legend.gui.SingleSymbol; |
51 | 49 |
import org.gvsig.app.project.documents.view.legend.gui.ThemeManagerWindow; |
52 |
import static org.gvsig.app.project.documents.view.legend.gui.ThemeManagerWindow.addPage; |
|
53 | 50 |
import org.gvsig.app.project.documents.view.legend.gui.VectorialInterval; |
54 | 51 |
import org.gvsig.app.project.documents.view.legend.gui.VectorialUniqueValue; |
55 | 52 |
import org.gvsig.fmap.geom.Geometry; |
... | ... | |
77 | 74 |
symbologySwingManager.registerSymbolEditor(SimpleMarker.class, Geometry.TYPES.MULTIPOINT); |
78 | 75 |
symbologySwingManager.registerSymbolEditor(SimpleLine.class, Geometry.TYPES.MULTICURVE); |
79 | 76 |
|
80 |
//FIXME
|
|
77 |
//FIXME |
|
81 | 78 |
symbologySwingManager.registerSymbolEditor(PictureMarker.class, Geometry.TYPES.POINT); |
82 | 79 |
symbologySwingManager.registerSymbolEditor(PictureLine.class, Geometry.TYPES.CURVE); |
83 | 80 |
symbologySwingManager.registerSymbolEditor(PictureFill.class, Geometry.TYPES.SURFACE); |
... | ... | |
88 | 85 |
symbologySwingManager.registerSymbolEditor(PictureFill.class, Geometry.TYPES.MULTISURFACE); |
89 | 86 |
symbologySwingManager.registerSymbolEditor(MarkerFill.class, Geometry.TYPES.MULTISURFACE); |
90 | 87 |
|
91 |
// legends available
|
|
88 |
// legends available |
|
92 | 89 |
symbologySwingManager.registerLegendEditor(Quantities.class); |
93 | 90 |
symbologySwingManager.registerLegendEditor(Features.class); |
94 | 91 |
symbologySwingManager.registerLegendEditor(Categories.class); |
... | ... | |
104 | 101 |
// Registry property page of layers |
105 | 102 |
PropertiesPageManager propertiesPageManager = MapControlLocator.getPropertiesPageManager(); |
106 | 103 |
propertiesPageManager.registerFactory(new GeneralLayerPropertiesPageFactory()); |
107 |
propertiesPageManager.registerFactory(new InformationLayerPropertiesPageFactory()); |
|
108 |
|
|
104 |
|
|
109 | 105 |
// Registry old style property page of layers |
110 | 106 |
// These must be updated to use "PropertiesPage" instead of "ThemeManagerWindow" |
111 | 107 |
// Do not use this procedure more!!! |
... | ... | |
121 | 117 |
@Override |
122 | 118 |
public void postInitialize() { |
123 | 119 |
super.postInitialize(); |
124 |
|
|
120 |
|
|
125 | 121 |
SymbologySwingLocator.getSwingManager().setColorTablesFactory( |
126 | 122 |
ApplicationLocator.getManager().getColorTablesFactory()); |
127 | 123 |
} |
Also available in: Unified diff