Revision 16236 trunk/applications/appgvSIG/src/com/iver/cit/gvsig/gui/styling/SymbolSelector.java
SymbolSelector.java | ||
---|---|---|
106 | 106 |
import com.iver.cit.gvsig.fmap.core.v02.FSymbol; |
107 | 107 |
import com.iver.cit.gvsig.gui.JUnitsComboBox; |
108 | 108 |
import com.iver.cit.gvsig.gui.panels.ColorChooserPanel; |
109 |
import com.iver.cit.gvsig.gui.selectionByTheme.MySelectionByThemeListener; |
|
109 | 110 |
import com.iver.cit.gvsig.project.documents.view.legend.gui.ISymbolSelector; |
110 | 111 |
import com.iver.utiles.XMLEntity; |
111 | 112 |
|
... | ... | |
451 | 452 |
* |
452 | 453 |
*/ |
453 | 454 |
protected void updateOptionsPanel() throws IllegalArgumentException { |
455 |
if (selectedElement == null) return; |
|
454 | 456 |
act = false; // disable events |
455 | 457 |
|
456 | 458 |
Object mySelectedElement = jListSymbols.getSelectedValue(); |
... | ... | |
485 | 487 |
|
486 | 488 |
} |
487 | 489 |
|
488 |
|
|
490 |
|
|
489 | 491 |
if (shapeType == FShape.TEXT) { |
490 | 492 |
ITextSymbol t = (ITextSymbol) mySelectedElement; |
491 | 493 |
jcc1.setColor(t.getTextColor()); |
Also available in: Unified diff