Revision 42001 trunk/org.gvsig.desktop/org.gvsig.desktop.library/org.gvsig.symbology/org.gvsig.symbology.swing/org.gvsig.symbology.swing.api/src/main/java/org/gvsig/app/gui/styling/SimpleLine.java
SimpleLine.java | ||
---|---|---|
147 | 147 |
public ISymbol getLayer() { |
148 | 148 |
ISimpleLineSymbol layer = SymbologyLocator.getSymbologyManager().createSimpleLineSymbol(); |
149 | 149 |
layer.setLineColor(jccColor.getColor()); |
150 |
// layer.setIsShapeVisible(true); //true is the default value for this property
|
|
150 |
// layer.setIsShapeVisible(true); //true is the default value for this property |
|
151 | 151 |
// clone the selected style in the combo box |
152 | 152 |
|
153 | 153 |
ISimpleLineStyle simplLine= SymbologyLocator.getSymbologyManager().createSimpleLineStyle(); //new SimpleLineStyle(); |
... | ... | |
194 | 194 |
* widths made by any previous rendering and sets all the |
195 | 195 |
* values to those to be persisted. |
196 | 196 |
*/ |
197 |
ILineStyle tempLineStyle = (ILineStyle) sym.getLineStyle().clone();
|
|
197 |
ILineStyle tempLineStyle = (ILineStyle) sym.getLineStyle().clone(); |
|
198 | 198 |
lineProperties.setLinePropertiesStyle((BasicStroke) tempLineStyle.getStroke()); |
199 | 199 |
} |
200 | 200 |
} catch (IndexOutOfBoundsException ioEx) { |
... | ... | |
217 | 217 |
} |
218 | 218 |
|
219 | 219 |
|
220 |
@Override |
|
221 | 220 |
public boolean canManageSymbol(ISymbol symbol) { |
222 | 221 |
return symbol instanceof ISimpleLineSymbol; |
223 | 222 |
} |
Also available in: Unified diff