public abstract class LTBlockImpl extends com.ibm.rational.test.common.models.behavior.impl.CBBlockImpl implements LTBlock
org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolder, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderBaseImpl, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderImpl
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList<E extends Object & org.eclipse.emf.common.notify.Adapter>, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EObservableAdapterList
cbErrors, cbRequirementTarget
ALWAYS_LOG_EDEFAULT, alwaysLog, DISABLED_COUNT_EDEFAULT, disabledCount, enableMode, TRANSFORM_ID_EDEFAULT, transformID, TYPE
namedElement
eAdapters, eContainer, eContainerFeatureID, EDELIVER, EDYNAMIC_CLASS, eFlags, ELAST_EOBJECT_FLAG, ELAST_NOTIFIER_FLAG, eProperties, EPROXY
EVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSET
NOTIFIER
Modifier | Constructor and Description |
---|---|
protected |
LTBlockImpl() |
Modifier and Type | Method and Description |
---|---|
void |
addProxy(LTBlock element,
org.eclipse.emf.common.util.EList proxyList)
This method creates and adds a
ProxyElement to the proxy list
for aggregations. |
CBActionElement |
createActionObject(String type) |
com.ibm.rational.test.lt.models.behavior.lttest.ProxyElement |
createProxy(LTBlock element)
This method creates the corresponding
ProxyElement for the
given LTBlock element. |
protected org.eclipse.emf.ecore.EClass |
eStaticClass() |
CBActionElement |
findNextProxyReference(LTTest test,
String id,
String ofType)
This method locates the first Proxy element from the beginning of the test that
is referencing the element with the given
id and is of the given
ofType . |
List |
getActions()
Return a list with the actions
contained in the Block.
|
int |
getPropertyValue(String property,
int def)
This method returns the value of the attribute passed.
|
String |
getPropertyValue(String property,
String def)
This method returns the value of the attribute passed.
|
boolean |
isProxyReference(org.eclipse.emf.common.notify.Notification notification)
This method figures out if the current
Notification is related
to a ProxyElement . |
void |
processRemoval(CBTest fromTest) |
void |
processRemoval(LTTest fromTest)
Performs any processing that needs to take place when this current
element is removed from the test.
|
void |
removeProxy(LTBlock element,
org.eclipse.emf.common.util.EList proxyList)
This method removes the
ProxyElement for the given element
from the proxy list |
protected void |
removeReference(org.eclipse.emf.common.notify.Notification notification) |
void |
setType(String theType)
Set the type that this IAction
represents.
|
basicSetCBRequirementTarget, canHostCBErrors, doClone, eGet, eInverseRemove, eIsSet, eSet, eUnset, getCBErrors, getCBRequirementTarget, isErrorGenerator, modifyText, resetDisabledCount, setCBRequirementTarget, setEnabled, validate
addAction, addReference, addReferences, canCopy, canMove, createConcreteClasses, doCopy, doMove, doMove, eNotify, findProblemsWithCopy, findProblemsWithMove, getFactoryClass, getInheritedCBActionElements, getReference, isControlBlock, moveAction, moveReference, removeReferences, setAction, setProperty, setProperty, validateSelection
canDisable, canEnable, enable, eNotificationRequired, getAction, getAdapter, getBooleanProperty, getByteProperty, getCharProperty, getChildren, getDisabledCount, getDoubleProperty, getFloatProperty, getIntProperty, getLongProperty, getMovingFrom, getName, getParent, getShortProperty, getStringProperty, getTempAttribute, getTransformID, getType, isAlwaysLog, isCloneable, isEnabled, isMoving, move, setActionType, setAlwaysLog, setDisabledCount, setMovingToNewTestArgs, setName, setNotificationRequired, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setTempAttribute, setTransformID, toString
getDescription, getId, getNamedElement, getStopId, getTempAttribute, getTempAttributes, setDescription, setId, setNamedElement, setTempAttribute, unsetTempAttribute
eAdapters, eBasicAdapters, eBasicProperties, eBasicSetContainer, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eInvoke, eIsProxy, eProperties, eSetClass, eSetDeliver, eSetProxyURI
eAddVirtualValue, eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainerAdapterArray, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicClass, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicInvoke, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eHasSettings, eInternalResource, eInverseAdd, eInverseAdd, eInverseRemove, eInvocationDelegate, eInvoke, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetDirectResource, eSetResource, eSetStore, eSetting, eSettingDelegate, eSettings, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticFeatureCount, eStaticOperationCount, eStore, eUnset, eURIFragmentSegment, eVirtualBitCount, eVirtualGet, eVirtualGet, eVirtualIndex, eVirtualIndexBits, eVirtualIsSet, eVirtualSet, eVirtualUnset, eVirtualValue, eVirtualValues
eBasicAdapterArray, eBasicHasAdapters
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getCBErrors, getCBRequirementTarget, setCBRequirementTarget
isControlBlock
canDisable, canEnable, enable, getAction, getBooleanProperty, getByteProperty, getCharProperty, getDisabledCount, getDoubleProperty, getFloatProperty, getInheritedCBActionElements, getIntProperty, getLongProperty, getMovingFrom, getParent, getShortProperty, getStringProperty, getTransformID, getType, isAlwaysLog, isEnabled, isMoving, move, resetDisabledCount, setAction, setAlwaysLog, setDisabledCount, setEnabled, setMovingToNewTestArgs, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setTransformID, validate
getDescription, getId, getName, getStopId, setDescription, setId, setName
getAdapter
getTempAttribute, getTempAttribute, getTempAttributes, setTempAttribute, setTempAttribute, unsetTempAttribute
doClone, isCloneable
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
eAdapters, eDeliver, eNotify, eSetDeliver
protected org.eclipse.emf.ecore.EClass eStaticClass()
eStaticClass
in class com.ibm.rational.test.common.models.behavior.impl.CBBlockImpl
public final void setType(String theType)
CBActionElement
setType
in interface CBActionElement
setType
in class com.ibm.rational.test.common.models.behavior.impl.CBActionElementImpl
theType
- The actual class of the IAction as
a fully qualified class name.public CBActionElement createActionObject(String type)
createActionObject
in class com.ibm.rational.test.common.models.behavior.impl.CBBlockElementImpl
public int getPropertyValue(String property, int def)
def
passed to it.property
- - name of the propertydef
- - default value of the propertypublic String getPropertyValue(String property, String def)
def
passed to it.property
- - name of the propertydef
- - default value of property passed itpublic List getActions()
CBBlock
getActions
in interface CBBlock
getActions
in interface com.ibm.rational.test.common.models.behavior.CBBlockElement
getActions
in class com.ibm.rational.test.common.models.behavior.impl.CBBlockImpl
public void addProxy(LTBlock element, org.eclipse.emf.common.util.EList proxyList)
LTBlock
ProxyElement
to the proxy list
for aggregations.public void removeProxy(LTBlock element, org.eclipse.emf.common.util.EList proxyList)
LTBlock
ProxyElement
for the given element
from the proxy listremoveProxy
in interface LTBlock
public com.ibm.rational.test.lt.models.behavior.lttest.ProxyElement createProxy(LTBlock element) throws UnsupportedOperationException
LTBlock
ProxyElement
for the
given LTBlock
element. This needs to be implemented by the
LTBlock
that contains the ProxyElement
createProxy
in interface LTBlock
UnsupportedOperationException
public boolean isProxyReference(org.eclipse.emf.common.notify.Notification notification)
LTBlock
Notification
is related
to a ProxyElement
.isProxyReference
in interface LTBlock
protected void removeReference(org.eclipse.emf.common.notify.Notification notification)
removeReference
in class com.ibm.rational.test.common.models.behavior.impl.CBBlockElementImpl
public void processRemoval(LTTest fromTest)
LTBlock
processRemoval
in interface LTBlock
fromTest
- - the LTTest
that this element is
being removed frompublic void processRemoval(CBTest fromTest)
processRemoval
in interface CBBlock
processRemoval
in interface com.ibm.rational.test.common.models.behavior.CBBlockElement
processRemoval
in class com.ibm.rational.test.common.models.behavior.impl.CBBlockImpl
public CBActionElement findNextProxyReference(LTTest test, String id, String ofType)
id
and is of the given
ofType
. The ofType
argument is optional and should
be set to null if that filter is not needed.test
- id
- ofType
- © Copyright IBM Corp. 2013. All rights reserved.