|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.geotools.catalog.defaults.DefaultGeoResourceInfo
Implementation of GeoResourceInfo.
Field Summary | |
protected ReferencedEnvelope |
bounds
|
protected java.lang.String |
description
|
protected javax.swing.Icon |
icon
|
protected java.lang.String[] |
keywords
|
protected java.lang.String |
name
|
protected java.net.URI |
schema
|
protected java.lang.String |
title
|
Constructor Summary | |
protected |
DefaultGeoResourceInfo()
|
|
DefaultGeoResourceInfo(java.lang.String title,
java.lang.String name,
java.lang.String description,
java.net.URI schema,
com.vividsolutions.jts.geom.Envelope bounds,
org.opengis.referencing.crs.CoordinateReferenceSystem crs,
java.lang.String[] keywords,
javax.swing.Icon icon)
|
Method Summary | |
com.vividsolutions.jts.geom.Envelope |
getBounds()
Returns the BBox of the resource if one exists, The null envelope otherwise. |
org.opengis.referencing.crs.CoordinateReferenceSystem |
getCRS()
Returns the CRS of the resource if one exists, null otherwise. |
java.lang.String |
getDescription()
Returns the resource's description. |
javax.swing.Icon |
getIcon()
Base symbology (with out decorators) representing this resource. |
java.lang.String[] |
getKeywords()
Returns the keywords assocaited with this resource Known Mappings: Maps to Dublin Core's Subject element |
java.lang.String |
getName()
Returns the name of the data ... such as the typeName or LayerName. |
java.net.URI |
getSchema()
Returns the xml schema namespace for this resource type. |
java.lang.String |
getTitle()
Returns the resource's title |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected java.lang.String title
protected java.lang.String description
protected java.lang.String name
protected java.lang.String[] keywords
protected java.net.URI schema
protected javax.swing.Icon icon
protected ReferencedEnvelope bounds
Constructor Detail |
protected DefaultGeoResourceInfo()
public DefaultGeoResourceInfo(java.lang.String title, java.lang.String name, java.lang.String description, java.net.URI schema, com.vividsolutions.jts.geom.Envelope bounds, org.opengis.referencing.crs.CoordinateReferenceSystem crs, java.lang.String[] keywords, javax.swing.Icon icon)
Method Detail |
public java.lang.String getTitle()
GeoResourceInfo
getTitle
in interface GeoResourceInfo
public java.lang.String[] getKeywords()
GeoResourceInfo
Known Mappings:
getKeywords
in interface GeoResourceInfo
null
unavailable.public java.lang.String getDescription()
GeoResourceInfo
Known Mappings:
getDescription
in interface GeoResourceInfo
null
if unavailablepublic java.net.URI getSchema()
GeoResourceInfo
Known Mappings:
getSchema
in interface GeoResourceInfo
public java.lang.String getName()
GeoResourceInfo
Known Mappings:
getName
in interface GeoResourceInfo
public javax.swing.Icon getIcon()
GeoResourceInfo
The Icon returned should conform the the Eclipse User Interface Guidelines (16x16 image with a 16x15 glyph centered).
This plug-in provides default based on resource type:
<b>return</b> ISharedImages.getImagesDescriptor( IGeoResoruce );
Any LabelProvider should use the default image, a label decorator should be used to pick up these images in a separate thread. This allows resources like WMS to make blocking request of an external service.
getIcon
in interface GeoResourceInfo
public com.vividsolutions.jts.geom.Envelope getBounds()
GeoResourceInfo
The bounds are returned in (ie should be reprojected to) Lat Long:
Known Mappings:
getBounds
in interface GeoResourceInfo
public org.opengis.referencing.crs.CoordinateReferenceSystem getCRS()
GeoResourceInfo
Known Mappings:
getCRS
in interface GeoResourceInfo
null
if unknown.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |