|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IPolicyOperation
This interface represents a Service policy operation that has been defined in the plugin.xml meta data.
Nested Class Summary | |
---|---|
static class |
IPolicyOperation.OperationKind
Indicates the kind of Service policy operation that this object represents. |
Method Summary | |
---|---|
java.lang.String |
getDefaultItem()
Returns the default enumeration item for this operation. |
IDescriptor |
getDescriptor()
Returns the descriptor for this service policy operation. |
java.lang.String |
getEnumerationId()
Returns the enum ID for this operation. |
java.lang.String |
getId()
Returns the unique ID associated with this service policy operation. |
IPolicyOperation.OperationKind |
getOperationKind()
Returns the kind of service policy operation. |
java.lang.String |
getPolicyIdPattern()
Returns the id pattern for this operation. |
IServicePolicy |
getServicePolicy()
Returns the service policy for this operation. |
java.lang.String |
getStateItem(org.eclipse.core.resources.IProject project)
Returns the current enumeration item for this operation. |
boolean |
isEnabled(java.util.List<IServicePolicy> selectedPolicies)
Returns whether this operation should be enabled or not. |
boolean |
isUseDefaultData()
Returns whether this operation uses default state or not. |
boolean |
isWorkspaceOnly()
Returns whether this is a workspace only operation or not. |
void |
launchOperation(java.util.List<IServicePolicy> selectedPolicies)
Launches the service policy operation if this is a complex operation. |
void |
setStateItem(org.eclipse.core.resources.IProject project,
java.lang.String stateItem)
Sets the current enumeration item for this operation. |
Method Detail |
---|
java.lang.String getId()
IDescriptor getDescriptor()
boolean isWorkspaceOnly()
IPolicyOperation.OperationKind getOperationKind()
java.lang.String getEnumerationId()
java.lang.String getDefaultItem()
void launchOperation(java.util.List<IServicePolicy> selectedPolicies)
selectedPolicies
- the selected service policies.boolean isEnabled(java.util.List<IServicePolicy> selectedPolicies)
selectedPolicies
- the selected service policies.
java.lang.String getPolicyIdPattern()
IServicePolicy getServicePolicy()
java.lang.String getStateItem(org.eclipse.core.resources.IProject project)
project
- the project if this is project property page item.
For the preference page context null should be specified.
void setStateItem(org.eclipse.core.resources.IProject project, java.lang.String stateItem)
project
- the project if this is project property page item.
For the preference page context null should be specified.stateItem
- the item.boolean isUseDefaultData()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |