public class VariableTaskImpl extends SetupTaskImpl implements VariableTask
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 EList<VariableChoice> |
choices
The cached value of the '
Choices ' containment reference list. |
protected static String |
DEFAULT_VALUE_EDEFAULT
The default value of the '
Default Value ' attribute. |
protected String |
defaultValue
The cached value of the '
Default Value ' attribute. |
protected String |
label
The cached value of the '
Label ' attribute. |
protected static String |
LABEL_EDEFAULT
The default value of the '
Label ' attribute. |
protected String |
name
The cached value of the '
Name ' attribute. |
protected static String |
NAME_EDEFAULT
The default value of the '
Name ' attribute. |
protected static URI |
STORAGE_URI_EDEFAULT
The default value of the '
Storage URI ' attribute. |
protected URI |
storageURI
The cached value of the '
Storage URI ' attribute. |
protected static boolean |
STORE_PROMPTED_VALUE_EDEFAULT
The default value of the '
Store Prompted Value ' attribute. |
protected VariableType |
type
The cached value of the '
Type ' attribute. |
protected static VariableType |
TYPE_EDEFAULT
The default value of the '
Type ' 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
DEFAULT_STORAGE_URI, INSTALLATION_STORAGE_URI, WORKSPACE_STORAGE_URI
PRIORITY_CONFIGURATION, PRIORITY_DEFAULT, PRIORITY_EARLY, PRIORITY_INSTALLATION, PRIORITY_LATE, PRIORITY_REDIRECTION
NIL
EOPPOSITE_FEATURE_BASE
Modifier | Constructor and Description |
---|---|
protected |
VariableTaskImpl() |
Modifier and Type | Method and Description |
---|---|
void |
consolidate() |
Object |
eGet(int featureID,
boolean resolve,
boolean coreType) |
NotificationChain |
eInverseRemove(InternalEObject otherEnd,
int featureID,
NotificationChain msgs) |
boolean |
eIsSet(int featureID) |
protected void |
eMigrate() |
void |
eSet(int featureID,
Object newValue) |
protected EClass |
eStaticClass() |
void |
eUnset(int featureID) |
EList<VariableChoice> |
getChoices() |
String |
getDefaultValue() |
String |
getLabel() |
String |
getName() |
Object |
getOverrideToken()
Subclasses may override to indicate that this task overrides another task with the same token.
|
URI |
getStorageURI() |
VariableType |
getType() |
String |
getValue() |
boolean |
isNeeded(SetupTaskContext context) |
boolean |
isStorePromptedValue() |
void |
overrideFor(SetupTask overriddenSetupTask) |
void |
perform(SetupTaskContext context) |
void |
setDefaultValue(String newDefaultValue) |
void |
setLabel(String newLabel) |
void |
setName(String newName) |
void |
setStorageURI(URI newStorageURI) |
void |
setStorePromptedValue(boolean newStorePromptedValue) |
void |
setType(VariableType newType) |
void |
setValue(String newValue) |
String |
toString() |
createResolvedURI, createToken, dispose, getDescription, getExcludedTriggers, getID, getPredecessors, getPriority, getRestrictions, getScope, getScopeType, getSuccessors, getTriggers, getValidTriggers, isDisabled, performUI, requires, setDescription, setDisabled, setExcludedTriggers, setExcludedTriggersGen, setID
eInverseAdd, 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
dispose, getDescription, getExcludedTriggers, getID, getPredecessors, getPriority, getRestrictions, getScope, getScopeType, getSuccessors, getTriggers, getValidTriggers, isDisabled, 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 VariableType TYPE_EDEFAULT
Type
' attribute.
getType()
protected VariableType type
Type
' attribute.
getType()
protected static final String NAME_EDEFAULT
Name
' attribute.
getName()
protected String name
Name
' attribute.
getName()
protected static final String VALUE_EDEFAULT
Value
' attribute.
getValue()
protected String value
Value
' attribute.
getValue()
protected static final String DEFAULT_VALUE_EDEFAULT
Default Value
' attribute.
getDefaultValue()
protected String defaultValue
Default Value
' attribute.
getDefaultValue()
protected static final boolean STORE_PROMPTED_VALUE_EDEFAULT
Store Prompted Value
' attribute.
isStorePromptedValue()
,
Constant Field Valuesprotected static final URI STORAGE_URI_EDEFAULT
Storage URI
' attribute.
getStorageURI()
protected URI storageURI
Storage URI
' attribute.
getStorageURI()
protected static final String LABEL_EDEFAULT
Label
' attribute.
getLabel()
protected String label
Label
' attribute.
getLabel()
protected EList<VariableChoice> choices
Choices
' containment reference list.
getChoices()
protected EClass eStaticClass()
eStaticClass
in class SetupTaskImpl
public VariableType getType()
getType
in interface VariableTask
VariableType
,
VariableTask.setType(VariableType)
,
SetupPackage.getVariableTask_Type()
public void setType(VariableType newType)
setType
in interface VariableTask
newType
- the new value of the 'Type' attribute.VariableType
,
VariableTask.getType()
public String getName()
getName
in interface VariableTask
VariableTask.setName(String)
,
SetupPackage.getVariableTask_Name()
public void setName(String newName)
setName
in interface VariableTask
newName
- the new value of the 'Name' attribute.VariableTask.getName()
public String getValue()
getValue
in interface VariableTask
VariableTask.setValue(String)
,
SetupPackage.getVariableTask_Value()
public void setValue(String newValue)
setValue
in interface VariableTask
newValue
- the new value of the 'Value' attribute.VariableTask.getValue()
public String getDefaultValue()
getDefaultValue
in interface VariableTask
VariableTask.setDefaultValue(String)
,
SetupPackage.getVariableTask_DefaultValue()
public void setDefaultValue(String newDefaultValue)
setDefaultValue
in interface VariableTask
newDefaultValue
- the new value of the 'Default Value' attribute.VariableTask.getDefaultValue()
public String getLabel()
getLabel
in interface VariableTask
VariableTask.setLabel(String)
,
SetupPackage.getVariableTask_Label()
public void setLabel(String newLabel)
setLabel
in interface VariableTask
newLabel
- the new value of the 'Label' attribute.VariableTask.getLabel()
public EList<VariableChoice> getChoices()
getChoices
in interface VariableTask
SetupPackage.getVariableTask_Choices()
public boolean isStorePromptedValue()
public void setStorePromptedValue(boolean newStorePromptedValue)
public URI getStorageURI()
getStorageURI
in interface VariableTask
VariableTask.setStorageURI(URI)
,
SetupPackage.getVariableTask_StorageURI()
public void setStorageURI(URI newStorageURI)
setStorageURI
in interface VariableTask
newStorageURI
- the new value of the 'Storage URI' attribute.VariableTask.getStorageURI()
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
eInverseRemove
in class ModelElementImpl
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 Object getOverrideToken()
SetupTaskImpl
getOverrideToken
in interface SetupTask
getOverrideToken
in class SetupTaskImpl
SetupTaskImpl.createToken(String)
public void overrideFor(SetupTask overriddenSetupTask)
overrideFor
in interface SetupTask
overrideFor
in class SetupTaskImpl
public boolean isNeeded(SetupTaskContext context) throws Exception
public void consolidate()
consolidate
in interface SetupTask
consolidate
in class SetupTaskImpl
public void perform(SetupTaskContext context) throws Exception
protected void eMigrate()
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