|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.geotools.catalog.defaults.DefaultServiceInfo
Implementation of ServiceInfo.
Field Summary | |
protected java.lang.String |
_abstract
|
protected java.lang.String |
description
|
protected javax.swing.Icon |
icon
|
protected java.lang.String[] |
keywords
|
protected java.net.URI |
publisher
|
protected java.net.URI |
schema
|
protected java.net.URI |
source
|
protected java.lang.String |
title
|
Constructor Summary | |
protected |
DefaultServiceInfo()
|
|
DefaultServiceInfo(java.lang.String title,
java.lang.String description,
java.lang.String _abstract,
java.net.URI source,
java.net.URI publisher,
java.net.URI schema,
java.lang.String[] keywords,
javax.swing.Icon icon)
|
Method Summary | |
java.lang.String |
getAbstract()
Return the service abstract |
java.lang.String |
getDescription()
Returns the service description |
javax.swing.Icon |
getIcon()
Base symbology (with out decorators) representing this IService. |
java.lang.String[] |
getKeywords()
Returns the service keywords. |
java.net.URI |
getPublisher()
Return the service publisher |
java.net.URI |
getSchema()
Returns the xml schema namespace for this service type. |
java.net.URI |
getSource()
Returns the service source. |
java.lang.String |
getTitle()
Returns the service title, may be empty or null if unsupported. |
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 _abstract
protected java.net.URI schema
protected java.net.URI source
protected java.net.URI publisher
protected java.lang.String[] keywords
protected javax.swing.Icon icon
Constructor Detail |
protected DefaultServiceInfo()
public DefaultServiceInfo(java.lang.String title, java.lang.String description, java.lang.String _abstract, java.net.URI source, java.net.URI publisher, java.net.URI schema, java.lang.String[] keywords, javax.swing.Icon icon)
Method Detail |
public java.lang.String getTitle()
Note this is always metadata, and is in user terms.
getTitle
in interface ServiceInfo
public java.lang.String[] getKeywords()
getKeywords
in interface ServiceInfo
public java.lang.String getDescription()
getDescription
in interface ServiceInfo
public java.lang.String getAbstract()
getAbstract
in interface ServiceInfo
public java.net.URI getPublisher()
getPublisher
in interface ServiceInfo
public java.net.URI getSchema()
getSchema
in interface ServiceInfo
public java.net.URI getSource()
getSource
in interface ServiceInfo
public javax.swing.Icon getIcon()
The Icon returned should conform the the Eclipse User Interface Guidelines (16x16 image with a 16x15 glyph centered).
This plug-in provides default images based on service type:
<b>return</b> ISharedImages.getImagesDescriptor( IService );
Any LabelProvider should use the default image, a label decorator should be used to pick up these images in a separate thread. This allows services like WFS make blocking request to pick up the image from their GetCapabilities.
getIcon
in interface ServiceInfo
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |