Java Reference
In-Depth Information
Description: This extension-point facilitates the configuration of modifiers
for the PropertiesService ( org.eclipse.gmf.runtime.common.ui.
services.properties.PropertiesService ).
Using this extension-point, modifiers are registered to specific property
providers, which contribute properties to the Eclipse property sheet view part.
The role of a modifier is to write-protect and/or set flags for properties provided
by the provider for which this modifier is contributed. The Provider element indi-
cates the associated provider(s). One or more associated providers can exist. If
the modifier is to be attached to all property providers, its Provider's element
class should be set to * .
You can specify a policy to delay loading the modifier until it is applicable.
Configuration markup:
<!ELEMENT extension (PropertyModifier)>
<!ELEMENT PropertyModifier (Priority , Policy? , Provider+)>
<!ATTLIST PropertyModifier
class CDATA #REQUIRED>
class —Fully qualified String containing the provider class that implements
org.eclipse.gmf.runtime.common.ui.services.properties.IProp-
ertiesModifier .
<!ELEMENT Priority EMPTY>
<!ATTLIST Priority
name (Lowest|Low|Medium|High|Highest) >
name —This element specifies the priority that this provider has relative to
other property modifier providers. All providers have the opportunity to make
their contributions. The provider with the lowest priority is chosen as the first
contributor, and the provider with the highest priority is chosen as the last con-
tributor.
<!ELEMENT Policy EMPTY>
<!ATTLIST Policy
class CDATA #REQUIRED>
class —Fully qualified String containing the policy class.
<!ELEMENT Provider EMPTY>
<!ATTLIST Provider
class CDATA #REQUIRED>
Search WWH ::




Custom Search