Service policy UI

Identifier:
org.eclipse.wst.service.policy.ui.servicePolicyUI

Since:
1.0

Description:
This extension allows extenders to add service policy UI operations for the service policies that they have added.

Configuration Markup:

<!ELEMENT extension (servicePolicyUI+)>

<!ATTLIST extension

point CDATA #REQUIRED

id    CDATA #IMPLIED

name  CDATA #IMPLIED>


<!ELEMENT servicePolicyUI (operation* | quickFix*)>

This extension is intended for extenders who want to add UI operations to the Service policies that they have defined.



<!ELEMENT descriptor EMPTY>

<!ATTLIST descriptor

description   CDATA #IMPLIED

shortName     CDATA #IMPLIED

longName      CDATA #IMPLIED

contextHelpId CDATA #IMPLIED

iconpath      CDATA #IMPLIED>

A descriptor for this Service policy operation or action.



<!ELEMENT operation (descriptor , enabled? , (enumeration | selection | complex))>

<!ATTLIST operation

id            CDATA #REQUIRED

policyPattern CDATA #REQUIRED

workspaceOnly (true | false)

defaultdata   (true | false) "true">

Defines a Service policy operation.



<!ELEMENT enumeration EMPTY>

<!ATTLIST enumeration

id          CDATA #REQUIRED

defaultItem CDATA #IMPLIED>

This element defines the enumeration that this operation is associated with.



<!ELEMENT selection EMPTY>

<!ATTLIST selection

icon (true | false) >

This element indicates that the service policy operation is associated with a some kind of UI boolean selection. All service policies that are associated with this operation should use the org.eclipse.wst.service.policy.booleanEnum enumeration.



<!ELEMENT complex EMPTY>

<!ATTLIST complex

launchClass CDATA #REQUIRED>

This element indicates that this operation is complex to render and persist. The launchClass attribute can be used to launch a dialog to set more complex data. The extender will need to call the service policy platform API to persist data on each policy as required.



<!ELEMENT enabled EMPTY>

<!ATTLIST enabled

enabledClass CDATA #IMPLIED

multiselect  CDATA #IMPLIED>

Indicates if this operation is enabled/grayed out or not in the UI.



<!ELEMENT quickFix (action+)>

<!ATTLIST quickFix

pluginId CDATA #REQUIRED

code     CDATA #REQUIRED>

This element allows extenders to add quick fixes to the Service policy UI frameworks.



<!ELEMENT action (descriptor)>

<!ATTLIST action

class CDATA #REQUIRED>

The element is used to add a quick fix action.



Examples:
[Enter extension point usage example here.]

Supplied Implementation:
[Enter information about supplied implementation of this extension point.]