Revision 42981 trunk/org.gvsig.desktop/org.gvsig.desktop.plugin/org.gvsig.app/org.gvsig.app.mainplugin/src/main/java/org/gvsig/app/project/documents/view/legend/gui/LabelingManager.java
LabelingManager.java | ||
---|---|---|
68 | 68 |
}; |
69 | 69 |
private TreeMap<Class<?>, ILabelingStrategyPanel> strategyPanels = |
70 | 70 |
new TreeMap<Class<?>, ILabelingStrategyPanel>(comparator); |
71 |
|
|
71 |
|
|
72 | 72 |
private JCheckBox chkApplyLabels; |
73 | 73 |
private ILabelable layer; |
74 | 74 |
private JPanel content; |
... | ... | |
102 | 102 |
} |
103 | 103 |
|
104 | 104 |
} |
105 |
|
|
105 |
|
|
106 | 106 |
@Override |
107 | 107 |
public int getPriority() { |
108 | 108 |
return 600; |
... | ... | |
111 | 111 |
private void initialize() { |
112 | 112 |
setLayout(new BorderLayout()); |
113 | 113 |
SymbologySwingManager symbologySwingManager = SymbologySwingLocator.getSwingManager(); |
114 |
|
|
114 |
|
|
115 | 115 |
Iterator<ILabelingStrategyPanel> it = symbologySwingManager.getLabelingEditors().iterator(); |
116 | 116 |
while( it.hasNext() ) { |
117 | 117 |
ILabelingStrategyPanel pnl = it.next(); |
... | ... | |
188 | 188 |
} |
189 | 189 |
|
190 | 190 |
/** |
191 |
*
|
|
191 |
* |
|
192 | 192 |
* @deprecated use {#SymbolSwingManger. |
193 | 193 |
*/ |
194 | 194 |
public static void addLabelingStrategy(Class<? extends ILabelingStrategyPanel> iLabelingStrategyPanelClass) { |
... | ... | |
273 | 273 |
} |
274 | 274 |
|
275 | 275 |
public void acceptAction() { |
276 |
|
|
276 |
applyAction(); |
|
277 | 277 |
} |
278 | 278 |
|
279 | 279 |
public void cancelAction() { |
Also available in: Unified diff