Java Reference
In-Depth Information
Configuration markup:
<!ELEMENT extension (ActionFilterProvider)>
<!ELEMENT ActionFilterProvider (Priority , Attribute* , Policy?)>
<!ATTLIST ActionFilterProvider
class CDATA #REQUIRED>
This element describes an ActionFilterProvider that contributes ActionFilter
attributes to be used inside
objectState
elements for enablement or visibility
of static action contributions.
class
—The name of a fully qualified class that implements the
org.
eclipse.gmf.runtime.common.ui.services.action.filter.IAction
FilterProvider
and
org.eclipse.gmf.runtime.common.core.serv-
ice.IProvider
interfaces.
<!ELEMENT Priority EMPTY>
<!ATTLIST Priority
name (Lowest|Low|Medium|High|Highest) >
This element specifies the priority that this provider has relative to other
ActionFilterProviders that are registered to handle the same ActionFilter attrib-
ute. When such a conflict occurs, the provider with the highest priority is selected
to provide the ActionFilter.
name
—The name of the provider priority—
Lowest
,
Low
,
Medium
,
High
, or
Highest
.
<!ELEMENT Attribute EMPTY>
<!ATTLIST Attribute
name CDATA #REQUIRED
value CDATA #IMPLIED>
This element describes a new ActionFilter attribute.
name
—The name of the ActionFilter attribute, which is used to identify the
provider that should perform the test for
objectState
elements used in action
enablement or visibility criteria.
value
—The optional value of the ActionFilter attribute. When provided, it
is also used to identify the provider that should perform the test for
objectState
elements use in action enablement or visibility criteria.
Search WWH ::
Custom Search