ValueProviders

Identifier:
com.ps.consul.eclipse.core.ValueProviders

Since:
1.3

Description:
A Value Provider is an interface with a method getValue(Object).
It simply represents an attribute for any object.
If the specified object does not have the attribute it returns null. These Value Providers can be used in many places, where values are necessary (Label Providers,Table Columns).

The interface to be implemented is: com.ps.consul.eclipse.core.IValueProvider.

Configuration Markup:

<!ELEMENT extension (provider)+>

<!ATTLIST extension

point CDATA #REQUIRED

id    CDATA #IMPLIED

name  CDATA #IMPLIED>

Extension point for value providers.



<!ELEMENT provider EMPTY>

<!ATTLIST provider

class      CDATA #REQUIRED

extended   (true | false) "true"

comparator CDATA #IMPLIED>

An additional value provider.



Examples:
<provider class="the implementing java class"
          comparator="a class of type comparator to be used with the value provider (optional)"
          extended="true/false,whether the value provider belongs to the extended set, or not"/>