Revision 11009 trunk/applications/appgvSIG/src/com/iver/cit/gvsig/project/documents/view/legend/gui/LabelingManager.java
LabelingManager.java | ||
---|---|---|
82 | 82 |
import com.iver.andami.ui.mdiManager.WindowInfo; |
83 | 83 |
import com.iver.cit.gvsig.fmap.core.FShape; |
84 | 84 |
import com.iver.cit.gvsig.fmap.core.ILabelable; |
85 |
import com.iver.cit.gvsig.fmap.core.styles.ILabelStyle; |
|
85 | 86 |
import com.iver.cit.gvsig.fmap.core.styles.IStyle; |
86 | 87 |
import com.iver.cit.gvsig.fmap.core.symbols.ISymbol; |
87 | 88 |
import com.iver.cit.gvsig.fmap.core.symbols.ITextSymbol; |
... | ... | |
880 | 881 |
clazz.getLabelStyle(), |
881 | 882 |
FShape.TEXT ); |
882 | 883 |
PluginServices.getMDIManager().addWindow(stySel); |
883 |
IStyle sty = (IStyle) stySel.getSelectedObject();
|
|
884 |
// if (sty != null)
|
|
885 |
// // gather the symbol and apply to the class
|
|
886 |
// clazz.setSymbol(sty);
|
|
884 |
ILabelStyle sty = (ILabelStyle) stySel.getSelectedObject();
|
|
885 |
if (sty != null) |
|
886 |
// gather the symbol and apply to the class |
|
887 |
clazz.setLabelStyle(sty);
|
|
887 | 888 |
} else if (c.equals(btnPlacement)) { |
888 | 889 |
|
889 | 890 |
try { |
Also available in: Unified diff