Class VTViewModelElementSelectorImpl
- java.lang.Object
-
- org.eclipse.emf.common.notify.impl.BasicNotifierImpl
-
- org.eclipse.emf.ecore.impl.BasicEObjectImpl
-
- org.eclipse.emf.ecore.impl.MinimalEObjectImpl
-
- org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
-
- org.eclipse.emf.ecp.view.template.selector.viewModelElement.model.impl.VTViewModelElementSelectorImpl
-
- All Implemented Interfaces:
org.eclipse.emf.common.notify.Notifier
,org.eclipse.emf.ecore.EObject
,org.eclipse.emf.ecore.EStructuralFeature.Internal.DynamicValueHolder
,org.eclipse.emf.ecore.InternalEObject
,VTStyleSelector
,VTViewModelElementSelector
public class VTViewModelElementSelectorImpl extends org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container implements VTViewModelElementSelector
An implementation of the model object 'Selector'.The following features are implemented:
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container.Dynamic
-
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl
org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
-
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolder, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderBaseImpl, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderImpl
-
Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList<E extends java.lang.Object & org.eclipse.emf.common.notify.Adapter>, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EObservableAdapterList, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EScannableAdapterList
-
-
Field Summary
Fields Modifier and Type Field Description protected org.eclipse.emf.ecore.EAttribute
attribute
The cached value of the 'Attribute
' reference.protected static java.lang.Object
ATTRIBUTE_VALUE_EDEFAULT
The default value of the 'Attribute Value
' attribute.protected java.lang.Object
attributeValue
The cached value of the 'Attribute Value
' attribute.protected org.eclipse.emf.ecore.EClass
classType
The cached value of the 'Class Type
' reference.protected static boolean
SELECT_SUBCLASSES_EDEFAULT
The default value of the 'Select Subclasses
' attribute.protected boolean
selectSubclasses
The cached value of the 'Select Subclasses
' attribute.-
Fields inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
EVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSET
-
Fields inherited from interface org.eclipse.emf.ecore.EStructuralFeature.Internal.DynamicValueHolder
NIL
-
Fields inherited from interface org.eclipse.emf.ecp.view.template.model.VTStyleSelector
NOT_APPLICABLE
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
VTViewModelElementSelectorImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.eclipse.emf.ecore.EAttribute
basicGetAttribute()
org.eclipse.emf.ecore.EClass
basicGetClassType()
java.lang.Object
eGet(int featureID, boolean resolve, boolean coreType)
boolean
eIsSet(int featureID)
void
eSet(int featureID, java.lang.Object newValue)
protected org.eclipse.emf.ecore.EClass
eStaticClass()
void
eUnset(int featureID)
org.eclipse.emf.ecore.EAttribute
getAttribute()
java.lang.Object
getAttributeValue()
org.eclipse.emf.ecore.EClass
getClassType()
double
isApplicable(VElement vElement, ViewModelContext viewModelContext)
Checks how well aVElement
is fitting.boolean
isSelectSubclasses()
void
setAttribute(org.eclipse.emf.ecore.EAttribute newAttribute)
void
setAttributeValue(java.lang.Object newAttributeValue)
void
setClassType(org.eclipse.emf.ecore.EClass newClassType)
void
setSelectSubclasses(boolean newSelectSubclasses)
java.lang.String
toString()
-
Methods inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
eBasicSetContainer, eInternalContainer
-
Methods inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl
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
-
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
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, eInverseAdd, eInverseRemove, eInverseRemove, eInvocationDelegate, eInvoke, 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
-
Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
eNotificationRequired, eNotify
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
SELECT_SUBCLASSES_EDEFAULT
protected static final boolean SELECT_SUBCLASSES_EDEFAULT
The default value of the 'Select Subclasses
' attribute.- See Also:
isSelectSubclasses()
, Constant Field Values
-
selectSubclasses
protected boolean selectSubclasses
The cached value of the 'Select Subclasses
' attribute.- See Also:
isSelectSubclasses()
-
classType
protected org.eclipse.emf.ecore.EClass classType
The cached value of the 'Class Type
' reference.- See Also:
getClassType()
-
attribute
protected org.eclipse.emf.ecore.EAttribute attribute
The cached value of the 'Attribute
' reference.- See Also:
getAttribute()
-
ATTRIBUTE_VALUE_EDEFAULT
protected static final java.lang.Object ATTRIBUTE_VALUE_EDEFAULT
The default value of the 'Attribute Value
' attribute.- See Also:
getAttributeValue()
-
attributeValue
protected java.lang.Object attributeValue
The cached value of the 'Attribute Value
' attribute.- See Also:
getAttributeValue()
-
-
Method Detail
-
eStaticClass
protected org.eclipse.emf.ecore.EClass eStaticClass()
- Overrides:
eStaticClass
in classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
getClassType
public org.eclipse.emf.ecore.EClass getClassType()
- Specified by:
getClassType
in interfaceVTViewModelElementSelector
- Returns:
- the value of the 'Class Type' reference.
- See Also:
VTViewModelElementSelector.setClassType(EClass)
,VTViewModelElementPackage.getViewModelElementSelector_ClassType()
-
basicGetClassType
public org.eclipse.emf.ecore.EClass basicGetClassType()
-
setClassType
public void setClassType(org.eclipse.emf.ecore.EClass newClassType)
- Specified by:
setClassType
in interfaceVTViewModelElementSelector
- Parameters:
newClassType
- the new value of the 'Class Type' reference.- See Also:
VTViewModelElementSelector.getClassType()
-
getAttribute
public org.eclipse.emf.ecore.EAttribute getAttribute()
- Specified by:
getAttribute
in interfaceVTViewModelElementSelector
- Returns:
- the value of the 'Attribute' reference.
- See Also:
VTViewModelElementSelector.setAttribute(EAttribute)
,VTViewModelElementPackage.getViewModelElementSelector_Attribute()
-
basicGetAttribute
public org.eclipse.emf.ecore.EAttribute basicGetAttribute()
-
setAttribute
public void setAttribute(org.eclipse.emf.ecore.EAttribute newAttribute)
- Specified by:
setAttribute
in interfaceVTViewModelElementSelector
- Parameters:
newAttribute
- the new value of the 'Attribute' reference.- See Also:
VTViewModelElementSelector.getAttribute()
-
getAttributeValue
public java.lang.Object getAttributeValue()
- Specified by:
getAttributeValue
in interfaceVTViewModelElementSelector
- Returns:
- the value of the 'Attribute Value' attribute.
- See Also:
VTViewModelElementSelector.setAttributeValue(Object)
,VTViewModelElementPackage.getViewModelElementSelector_AttributeValue()
-
setAttributeValue
public void setAttributeValue(java.lang.Object newAttributeValue)
- Specified by:
setAttributeValue
in interfaceVTViewModelElementSelector
- Parameters:
newAttributeValue
- the new value of the 'Attribute Value' attribute.- See Also:
VTViewModelElementSelector.getAttributeValue()
-
isSelectSubclasses
public boolean isSelectSubclasses()
- Specified by:
isSelectSubclasses
in interfaceVTViewModelElementSelector
- Returns:
- the value of the 'Select Subclasses' attribute.
- See Also:
VTViewModelElementSelector.setSelectSubclasses(boolean)
,VTViewModelElementPackage.getViewModelElementSelector_SelectSubclasses()
-
setSelectSubclasses
public void setSelectSubclasses(boolean newSelectSubclasses)
- Specified by:
setSelectSubclasses
in interfaceVTViewModelElementSelector
- Parameters:
newSelectSubclasses
- the new value of the 'Select Subclasses' attribute.- See Also:
VTViewModelElementSelector.isSelectSubclasses()
-
eGet
public java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
- Specified by:
eGet
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eGet
in classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eSet
public void eSet(int featureID, java.lang.Object newValue)
- Specified by:
eSet
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eSet
in classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eUnset
public void eUnset(int featureID)
- Specified by:
eUnset
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eUnset
in classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eIsSet
public boolean eIsSet(int featureID)
- Specified by:
eIsSet
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eIsSet
in classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
toString
public java.lang.String toString()
- Overrides:
toString
in classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
isApplicable
public double isApplicable(VElement vElement, ViewModelContext viewModelContext)
Checks how well aVElement
is fitting.- Specified by:
isApplicable
in interfaceVTStyleSelector
- Parameters:
vElement
- theVElement
to checkviewModelContext
- theViewModelContext
currently used- Returns:
- a double defining the specificity of the selector. The higher the number the more specific the tester is.
- See Also:
VTStyleSelector.isApplicable(org.eclipse.emf.ecp.view.spi.model.VElement, org.eclipse.emf.ecp.view.spi.context.ViewModelContext)
-
-