Revision 11548 trunk/applications/appgvSIG/src/com/iver/cit/gvsig/gui/styling/SymbolEditor.java
SymbolEditor.java | ||
---|---|---|
43 | 43 |
* |
44 | 44 |
* $Id$ |
45 | 45 |
* $Log$ |
46 |
* Revision 1.6 2007-05-08 15:44:07 jaume
|
|
46 |
* Revision 1.7 2007-05-09 16:08:14 jaume
|
|
47 | 47 |
* *** empty log message *** |
48 | 48 |
* |
49 |
* Revision 1.6 2007/05/08 15:44:07 jaume |
|
50 |
* *** empty log message *** |
|
51 |
* |
|
49 | 52 |
* Revision 1.5 2007/04/20 07:54:38 jaume |
50 | 53 |
* *** empty log message *** |
51 | 54 |
* |
... | ... | |
111 | 114 |
package com.iver.cit.gvsig.gui.styling; |
112 | 115 |
|
113 | 116 |
import java.awt.BorderLayout; |
117 |
import java.awt.Component; |
|
114 | 118 |
import java.awt.Dimension; |
115 | 119 |
import java.awt.FlowLayout; |
116 | 120 |
import java.awt.event.ActionEvent; |
... | ... | |
167 | 171 |
private AbstractTypeSymbolEditorPanel[] tabs; |
168 | 172 |
private SymbolLayerManager layerManager; |
169 | 173 |
private boolean replacing = false; |
174 |
private JComboBox cmbUnitsReferenceSystem; |
|
170 | 175 |
|
171 | 176 |
public SymbolEditor(ISymbol symbol, int shapeType) { |
172 | 177 |
if (!(symbol instanceof IMultiLayerSymbol)) { |
... | ... | |
386 | 391 |
aux = new JPanel(new FlowLayout(FlowLayout.LEADING)); |
387 | 392 |
aux.add(new JLabel(PluginServices.getText(this, "units"))); |
388 | 393 |
aux.add(getCmbUnits()); |
394 |
aux.add(getCmbUnitsReferenceSystem()); |
|
389 | 395 |
pnlTypeAndUnits.add(aux, BorderLayout.EAST); |
390 | 396 |
|
391 | 397 |
} |
392 | 398 |
return pnlTypeAndUnits; |
393 | 399 |
} |
394 | 400 |
|
401 |
private JComboBox getCmbUnitsReferenceSystem() { |
|
402 |
if (cmbUnitsReferenceSystem == null) { |
|
403 |
cmbUnitsReferenceSystem = new JComboBox(new String[] { |
|
404 |
PluginServices.getText(this, "in_the_map"), |
|
405 |
PluginServices.getText(this, "in_the_paper") |
|
406 |
}); |
|
407 |
|
|
408 |
} |
|
409 |
|
|
410 |
return cmbUnitsReferenceSystem; |
|
411 |
} |
|
412 |
|
|
395 | 413 |
private JUnitsComboBox getCmbUnits() { |
396 | 414 |
if (cmbUnits == null) { |
397 | 415 |
cmbUnits = new JUnitsComboBox(); |
Also available in: Unified diff