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.EPropertiesHolderImplorg.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList<E extends Object & org.eclipse.emf.common.notify.Adapter>, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EObservableAdapterListcbErrors, cbRequirementTargetALWAYS_LOG_EDEFAULT, alwaysLog, DISABLED_COUNT_EDEFAULT, disabledCount, enableMode, TRANSFORM_ID_EDEFAULT, transformID, TYPEnamedElementeAdapters, eContainer, eContainerFeatureID, EDELIVER, EDYNAMIC_CLASS, eFlags, ELAST_EOBJECT_FLAG, ELAST_NOTIFIER_FLAG, eProperties, EPROXYEVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSETNOTIFIER| 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, validateaddAction, addReference, addReferences, canCopy, canMove, createConcreteClasses, doCopy, doMove, doMove, eNotify, findProblemsWithCopy, findProblemsWithMove, getFactoryClass, getInheritedCBActionElements, getReference, isControlBlock, moveAction, moveReference, removeReferences, setAction, setProperty, setProperty, validateSelectioncanDisable, 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, toStringgetDescription, getId, getNamedElement, getStopId, getTempAttribute, getTempAttributes, setDescription, setId, setNamedElement, setTempAttribute, unsetTempAttributeeAdapters, eBasicAdapters, eBasicProperties, eBasicSetContainer, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eInvoke, eIsProxy, eProperties, eSetClass, eSetDeliver, eSetProxyURIeAddVirtualValue, 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, eVirtualValueseBasicAdapterArray, eBasicHasAdaptersclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetCBErrors, getCBRequirementTarget, setCBRequirementTargetisControlBlockcanDisable, 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, validategetDescription, getId, getName, getStopId, setDescription, setId, setNamegetAdaptergetTempAttribute, getTempAttribute, getTempAttributes, setTempAttribute, setTempAttribute, unsetTempAttributedoClone, isCloneableeAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnseteAdapters, eDeliver, eNotify, eSetDeliverprotected org.eclipse.emf.ecore.EClass eStaticClass()
eStaticClass in class com.ibm.rational.test.common.models.behavior.impl.CBBlockImplpublic final void setType(String theType)
CBActionElementsetType in interface CBActionElementsetType in class com.ibm.rational.test.common.models.behavior.impl.CBActionElementImpltheType - 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.CBBlockElementImplpublic 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()
CBBlockgetActions in interface CBBlockgetActions in interface com.ibm.rational.test.common.models.behavior.CBBlockElementgetActions in class com.ibm.rational.test.common.models.behavior.impl.CBBlockImplpublic void addProxy(LTBlock element, org.eclipse.emf.common.util.EList proxyList)
LTBlockProxyElement to the proxy list
for aggregations.public void removeProxy(LTBlock element, org.eclipse.emf.common.util.EList proxyList)
LTBlockProxyElement for the given element
from the proxy listremoveProxy in interface LTBlockpublic com.ibm.rational.test.lt.models.behavior.lttest.ProxyElement createProxy(LTBlock element) throws UnsupportedOperationException
LTBlockProxyElement for the
given LTBlock element. This needs to be implemented by the
LTBlock that contains the ProxyElementcreateProxy in interface LTBlockUnsupportedOperationExceptionpublic boolean isProxyReference(org.eclipse.emf.common.notify.Notification notification)
LTBlockNotification is related
to a ProxyElement.isProxyReference in interface LTBlockprotected void removeReference(org.eclipse.emf.common.notify.Notification notification)
removeReference in class com.ibm.rational.test.common.models.behavior.impl.CBBlockElementImplpublic void processRemoval(LTTest fromTest)
LTBlockprocessRemoval in interface LTBlockfromTest - - the LTTest that this element is
being removed frompublic void processRemoval(CBTest fromTest)
processRemoval in interface CBBlockprocessRemoval in interface com.ibm.rational.test.common.models.behavior.CBBlockElementprocessRemoval in class com.ibm.rational.test.common.models.behavior.impl.CBBlockImplpublic 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.