public class PreferenceTaskImpl extends SetupTaskImpl implements PreferenceTask
The following features are implemented:
SetupTaskImpl.RunnableWithContext, SetupTaskImpl.TypedStringTokenMinimalEObjectImpl.Container.DynamicMinimalEObjectImpl.ContainerBasicEObjectImpl.EPropertiesHolder, BasicEObjectImpl.EPropertiesHolderBaseImpl, BasicEObjectImpl.EPropertiesHolderImplBasicNotifierImpl.EAdapterList<E extends Object & Adapter>, BasicNotifierImpl.EObservableAdapterListInternalEObject.EStore| Modifier and Type | Field and Description |
|---|---|
protected String |
key
The cached value of the '
Key' attribute. |
protected static String |
KEY_EDEFAULT
The default value of the '
Key' attribute. |
protected String |
value
The cached value of the '
Value' attribute. |
protected static String |
VALUE_EDEFAULT
The default value of the '
Value' attribute. |
description, DESCRIPTION_EDEFAULT, disabled, DISABLED_EDEFAULT, excludedTriggers, iD, ID_EDEFAULT, predecessors, restrictions, SCOPE_TYPE_EDEFAULT, successorsannotationseContainerEVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSETPRIORITY_CONFIGURATION, PRIORITY_DEFAULT, PRIORITY_EARLY, PRIORITY_INSTALLATION, PRIORITY_LATE, PRIORITY_REDIRECTIONNILEOPPOSITE_FEATURE_BASE| Modifier | Constructor and Description |
|---|---|
protected |
PreferenceTaskImpl() |
| Modifier and Type | Method and Description |
|---|---|
Object |
eGet(int featureID,
boolean resolve,
boolean coreType) |
boolean |
eIsSet(int featureID) |
void |
eSet(int featureID,
Object newValue) |
protected EClass |
eStaticClass() |
void |
eUnset(int featureID) |
String |
getKey() |
Object |
getOverrideToken()
Subclasses may override to indicate that this task overrides another task with the same token.
|
int |
getPriority() |
String |
getValue() |
boolean |
isNeeded(SetupTaskContext context) |
void |
perform(SetupTaskContext context) |
void |
setKey(String newKey) |
void |
setValue(String newValue) |
String |
toString() |
consolidate, createResolvedURI, createToken, dispose, getDescription, getExcludedTriggers, getID, getPredecessors, getRestrictions, getScope, getScopeType, getSuccessors, getTriggers, getValidTriggers, isDisabled, overrideFor, performUI, requires, setDescription, setDisabled, setExcludedTriggers, setExcludedTriggersGen, setIDeInverseAdd, eInverseRemove, eInvoke, getAnnotation, getAnnotationseBasicSetContainer, eInternalContainerdynamicGet, dynamicSet, dynamicUnset, eAdapters, eBasicAdapterArray, eBasicAdapterListeners, eBasicAdapters, eBasicHasAdapters, eBasicProperties, eBasicSetAdapterArray, eBasicSetAdapterListeners, eBasicSetContainer, eBasicSetContainerFeatureID, eBasicSetSettings, eBasicSettings, eClass, eContainerFeatureID, eContents, eCrossReferences, eDeliver, eDirectResource, eDynamicClass, eHasSettings, eIsProxy, eProperties, eProxyURI, eSetClass, eSetDeliver, eSetDirectResource, eSetProxyURI, eSettingseAddVirtualValue, eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainerAdapterArray, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDynamicBasicRemoveFromContainer, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicInvoke, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInternalResource, eInverseAdd, eInverseRemove, eInvocationDelegate, eInvoke, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetResource, eSetStore, eSetting, eSettingDelegate, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticFeatureCount, eStaticOperationCount, eStore, eUnset, eURIFragmentSegment, eVirtualBitCount, eVirtualGet, eVirtualGet, eVirtualIndex, eVirtualIndexBits, eVirtualIsSet, eVirtualSet, eVirtualUnset, eVirtualValue, eVirtualValueseNotificationRequired, eNotifyclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitconsolidate, dispose, getDescription, getExcludedTriggers, getID, getPredecessors, getRestrictions, getScope, getScopeType, getSuccessors, getTriggers, getValidTriggers, isDisabled, overrideFor, requires, setDescription, setDisabled, setExcludedTriggers, setIDgetAnnotation, getAnnotationseAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnseteAdapters, eDeliver, eNotify, eSetDelivereNotificationRequiredprotected static final String KEY_EDEFAULT
Key' attribute.
getKey()protected String key
Key' attribute.
getKey()protected static final String VALUE_EDEFAULT
Value' attribute.
getValue()protected String value
Value' attribute.
getValue()protected EClass eStaticClass()
eStaticClass in class SetupTaskImplpublic String getKey()
getKey in interface PreferenceTaskPreferenceTask.setKey(String),
SetupPackage.getPreferenceTask_Key()public void setKey(String newKey)
setKey in interface PreferenceTasknewKey - the new value of the 'Key' attribute.PreferenceTask.getKey()public String getValue()
getValue in interface PreferenceTaskPreferenceTask.setValue(String),
SetupPackage.getPreferenceTask_Value()public void setValue(String newValue)
setValue in interface PreferenceTasknewValue - the new value of the 'Value' attribute.PreferenceTask.getValue()public Object eGet(int featureID, boolean resolve, boolean coreType)
eGet in interface InternalEObjecteGet in class SetupTaskImplpublic void eSet(int featureID,
Object newValue)
eSet in interface InternalEObjecteSet in class SetupTaskImplpublic void eUnset(int featureID)
eUnset in interface InternalEObjecteUnset in class SetupTaskImplpublic boolean eIsSet(int featureID)
eIsSet in interface InternalEObjecteIsSet in class SetupTaskImplpublic String toString()
toString in class SetupTaskImplpublic int getPriority()
getPriority in interface SetupTaskgetPriority in class SetupTaskImplpublic Object getOverrideToken()
SetupTaskImplgetOverrideToken in interface SetupTaskgetOverrideToken in class SetupTaskImplSetupTaskImpl.createToken(String)public boolean isNeeded(SetupTaskContext context) throws Exception
public void perform(SetupTaskContext context) throws Exception
Copyright (c) 2014 Eike Stepper (Loehne, Germany) and others.
All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html