Revision 11247 trunk/libraries/libGPE/src-test/org/gvsig/gpe/containers/Layer.java
Layer.java | ||
---|---|---|
46 | 46 |
* |
47 | 47 |
* $Id$ |
48 | 48 |
* $Log$ |
49 |
* Revision 1.1 2007-04-14 16:06:35 jorpiell |
|
49 |
* Revision 1.2 2007-04-19 07:23:20 jorpiell |
|
50 |
* Add the add methods to teh contenhandler and change the register mode |
|
51 |
* |
|
52 |
* Revision 1.1 2007/04/14 16:06:35 jorpiell |
|
50 | 53 |
* Add the container classes |
51 | 54 |
* |
52 | 55 |
* |
... | ... | |
153 | 156 |
public void addFeature(Feature feature){ |
154 | 157 |
features.add(feature); |
155 | 158 |
} |
159 |
|
|
160 |
/** |
|
161 |
* Adds a new layer |
|
162 |
* @param layer |
|
163 |
*/ |
|
164 |
public void addFeature(Object feature){ |
|
165 |
if (feature instanceof Feature){ |
|
166 |
features.add(feature); |
|
167 |
} |
|
168 |
} |
|
156 | 169 |
|
157 | 170 |
/** |
158 | 171 |
* @return the parentLayer |
Also available in: Unified diff