Revision 3649 branches/gvSIG_WMSv2/extensions/extWMS/src/com/iver/cit/gvsig/gui/panels/DimensionTree.java
DimensionTree.java | ||
---|---|---|
43 | 43 |
* |
44 | 44 |
* $Id$ |
45 | 45 |
* $Log$ |
46 |
* Revision 1.1.2.7 2006-01-11 12:20:30 jaume
|
|
46 |
* Revision 1.1.2.8 2006-01-16 09:57:07 jaume
|
|
47 | 47 |
* *** empty log message *** |
48 | 48 |
* |
49 |
* Revision 1.1.2.7 2006/01/11 12:20:30 jaume |
|
50 |
* *** empty log message *** |
|
51 |
* |
|
49 | 52 |
* Revision 1.1.2.6 2006/01/10 13:11:38 jaume |
50 | 53 |
* *** empty log message *** |
51 | 54 |
* |
... | ... | |
179 | 182 |
* @return |
180 | 183 |
*/ |
181 | 184 |
public Vector getDimensions() { |
182 |
return ((DimensionTreeModel) getModel()).getDimension(); |
|
185 |
if (getModel() instanceof DimensionTreeModel) |
|
186 |
return ((DimensionTreeModel) getModel()).getDimension(); |
|
187 |
else |
|
188 |
return new Vector(); |
|
183 | 189 |
} |
184 | 190 |
|
185 | 191 |
/** |
Also available in: Unified diff