Revision 3574 org.gvsig.complexlegend/trunk/org.gvsig.complexlegend/org.gvsig.complexlegend.app/org.gvsig.complexlegend.app.mainplugin/src/main/java/org/gvsig/complexlegend/app/mainplugin/ComplexLegendExtension.java
ComplexLegendExtension.java | ||
---|---|---|
22 | 22 |
package org.gvsig.complexlegend.app.mainplugin; |
23 | 23 |
|
24 | 24 |
import org.gvsig.andami.plugins.Extension; |
25 |
import org.gvsig.app.project.documents.view.legend.gui.LegendManager; |
|
26 | 25 |
import org.gvsig.complexlabel.app.editor.ComplexLabelClassEditorFactory; |
27 |
import org.gvsig.complexlegend.impl.DefaultVectorComplexLegend; |
|
28 |
import org.gvsig.complexlegend.swing.impl.DefaultComplexLegendPanel; |
|
26 |
import org.gvsig.complexlegend.swing.impl.DefaultComplexLegendPanelController; |
|
29 | 27 |
import org.gvsig.symbology.swing.SymbologySwingLocator; |
30 | 28 |
import org.gvsig.symbology.swing.SymbologySwingManager; |
31 | 29 |
|
... | ... | |
37 | 35 |
|
38 | 36 |
public void initialize() { |
39 | 37 |
SymbologySwingManager manager = SymbologySwingLocator.getSwingManager(); |
40 |
manager.registerLegendEditor(DefaultComplexLegendPanel.class); |
|
38 |
manager.registerLegendEditor(DefaultComplexLegendPanelController.class);
|
|
41 | 39 |
manager.registerLabelClassEditor(new ComplexLabelClassEditorFactory()); |
42 | 40 |
} |
43 | 41 |
|
Also available in: Unified diff