Revision 41398 trunk/org.gvsig.desktop/org.gvsig.desktop.library/org.gvsig.symbology/org.gvsig.symbology.lib/org.gvsig.symbology.lib.impl/src/main/java/org/gvsig/symbology/fmap/mapcontext/rendering/symbol/impl/AbstractSymbol.java
AbstractSymbol.java | ||
---|---|---|
23 | 23 |
*/ |
24 | 24 |
package org.gvsig.symbology.fmap.mapcontext.rendering.symbol.impl; |
25 | 25 |
|
26 |
import java.awt.Color; |
|
27 | 26 |
import java.awt.Rectangle; |
28 | 27 |
|
29 | 28 |
import org.gvsig.fmap.geom.Geometry; |
... | ... | |
32 | 31 |
import org.gvsig.fmap.mapcontext.ViewPort; |
33 | 32 |
import org.gvsig.fmap.mapcontext.rendering.symbols.CartographicSupport; |
34 | 33 |
import org.gvsig.fmap.mapcontext.rendering.symbols.ISymbol; |
34 |
import org.gvsig.fmap.mapcontext.rendering.symbols.ISymbol_v2; |
|
35 | 35 |
import org.gvsig.fmap.mapcontext.rendering.symbols.SymbolPreferences; |
36 | 36 |
import org.gvsig.tools.ToolsLocator; |
37 | 37 |
import org.gvsig.tools.dynobject.DynStruct; |
... | ... | |
51 | 51 |
* @author 2005-2008 jaume dominguez faus - jaume.dominguez@iver.es |
52 | 52 |
* @author 2009- <a href="cordinyana@gvsig.org">C?sar Ordi?ana</a> - gvSIG team |
53 | 53 |
*/ |
54 |
public abstract class AbstractSymbol implements ISymbol, CartographicSupport { |
|
54 |
public abstract class AbstractSymbol implements ISymbol_v2, CartographicSupport {
|
|
55 | 55 |
|
56 | 56 |
private static final Logger LOG = LoggerFactory.getLogger(AbstractSymbol.class); |
57 | 57 |
|
... | ... | |
67 | 67 |
|
68 | 68 |
|
69 | 69 |
private String desc; |
70 |
private String id; |
|
70 | 71 |
private int unit; |
71 | 72 |
private int referenceSystem; |
72 | 73 |
|
... | ... | |
90 | 91 |
return desc; |
91 | 92 |
} |
92 | 93 |
|
94 |
/** |
|
95 |
* Set the id ob the symbol (the basename of file) |
|
96 |
* |
|
97 |
* @param id |
|
98 |
*/ |
|
99 |
public final void setID(String id) { |
|
100 |
this.id = id; |
|
101 |
} |
|
102 |
|
|
103 |
/** |
|
104 |
* Get the id ob the symbol (the basename of file) |
|
105 |
* |
|
106 |
* @param id |
|
107 |
*/ |
|
108 |
public final String getID() { |
|
109 |
return id; |
|
110 |
} |
|
111 |
|
|
112 |
|
|
93 | 113 |
/** |
94 | 114 |
* @return |
95 | 115 |
* @uml.property name="isShapeVisible" |
Also available in: Unified diff