public class PreferenceTaskImpl extends SetupTaskImpl implements PreferenceTask
The following features are implemented:
SetupTaskImpl.RunnableWithContext, SetupTaskImpl.TypedStringToken
MinimalEObjectImpl.Container.Dynamic
MinimalEObjectImpl.Container
BasicEObjectImpl.EPropertiesHolder, BasicEObjectImpl.EPropertiesHolderBaseImpl, BasicEObjectImpl.EPropertiesHolderImpl
BasicNotifierImpl.EAdapterList<E extends Object & Adapter>, BasicNotifierImpl.EObservableAdapterList
InternalEObject.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, successors
annotations
eContainer
EVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSET
PRIORITY_CONFIGURATION, PRIORITY_DEFAULT, PRIORITY_EARLY, PRIORITY_INSTALLATION, PRIORITY_LATE, PRIORITY_REDIRECTION
NIL
EOPPOSITE_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, setID
eInverseAdd, eInverseRemove, eInvoke, getAnnotation, getAnnotations
eBasicSetContainer, eInternalContainer
dynamicGet, 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, eSettings
eAddVirtualValue, 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, eVirtualValues
eNotificationRequired, eNotify
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
consolidate, dispose, getDescription, getExcludedTriggers, getID, getPredecessors, getRestrictions, getScope, getScopeType, getSuccessors, getTriggers, getValidTriggers, isDisabled, overrideFor, requires, setDescription, setDisabled, setExcludedTriggers, setID
getAnnotation, getAnnotations
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
eAdapters, eDeliver, eNotify, eSetDeliver
eNotificationRequired
protected 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 SetupTaskImpl
public String getKey()
getKey
in interface PreferenceTask
PreferenceTask.setKey(String)
,
SetupPackage.getPreferenceTask_Key()
public void setKey(String newKey)
setKey
in interface PreferenceTask
newKey
- the new value of the 'Key' attribute.PreferenceTask.getKey()
public String getValue()
getValue
in interface PreferenceTask
PreferenceTask.setValue(String)
,
SetupPackage.getPreferenceTask_Value()
public void setValue(String newValue)
setValue
in interface PreferenceTask
newValue
- the new value of the 'Value' attribute.PreferenceTask.getValue()
public Object eGet(int featureID, boolean resolve, boolean coreType)
eGet
in interface InternalEObject
eGet
in class SetupTaskImpl
public void eSet(int featureID, Object newValue)
eSet
in interface InternalEObject
eSet
in class SetupTaskImpl
public void eUnset(int featureID)
eUnset
in interface InternalEObject
eUnset
in class SetupTaskImpl
public boolean eIsSet(int featureID)
eIsSet
in interface InternalEObject
eIsSet
in class SetupTaskImpl
public String toString()
toString
in class SetupTaskImpl
public int getPriority()
getPriority
in interface SetupTask
getPriority
in class SetupTaskImpl
public Object getOverrideToken()
SetupTaskImpl
getOverrideToken
in interface SetupTask
getOverrideToken
in class SetupTaskImpl
SetupTaskImpl.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 v2.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v20.html