Revision 11297 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.4 2007-03-28 16:44:08 jaume
|
|
46 |
* Revision 1.5 2007-04-20 07:54:38 jaume
|
|
47 | 47 |
* *** empty log message *** |
48 | 48 |
* |
49 |
* Revision 1.4 2007/03/28 16:44:08 jaume |
|
50 |
* *** empty log message *** |
|
51 |
* |
|
49 | 52 |
* Revision 1.3 2007/03/27 09:49:03 jaume |
50 | 53 |
* *** empty log message *** |
51 | 54 |
* |
... | ... | |
300 | 303 |
public WindowInfo getWindowInfo() { |
301 | 304 |
if (wi == null) { |
302 | 305 |
wi = new WindowInfo(WindowInfo.MODALDIALOG | WindowInfo.RESIZABLE); |
303 |
wi.setWidth(600);
|
|
306 |
wi.setWidth(650);
|
|
304 | 307 |
wi.setHeight(400); |
305 | 308 |
wi.setTitle(PluginServices.getText(this, "symbol_property_editor")); |
306 | 309 |
} |
... | ... | |
361 | 364 |
private SymbolPreviewer getSymbolPreviewer() { |
362 | 365 |
if (symbolPreview == null) { |
363 | 366 |
symbolPreview = new SymbolPreviewer(); |
364 |
symbolPreview.setPreferredSize(new Dimension(120, 100));
|
|
367 |
symbolPreview.setPreferredSize(new Dimension(150, 100));
|
|
365 | 368 |
|
366 | 369 |
} |
367 | 370 |
return symbolPreview; |
... | ... | |
399 | 402 |
return cmbUnits; |
400 | 403 |
} |
401 | 404 |
|
405 |
public double getUnitScaleFactor() { |
|
406 |
double unitFactor; |
|
407 |
try { |
|
408 |
unitFactor = Attributes.CHANGE[getCmbUnits().getSelectedIndex()]/100; |
|
409 |
} catch (ArrayIndexOutOfBoundsException aioobEx) { //jijiji |
|
410 |
unitFactor = 0; // which represents size in pixel |
|
411 |
} |
|
412 |
return unitFactor; |
|
413 |
} |
|
414 |
|
|
402 | 415 |
private JComboBox getCmbType() { |
403 | 416 |
if (cmbType == null) { |
404 | 417 |
cmbType = new JComboBox(tabs); |
Also available in: Unified diff