|
IBM Rational Performance Tester SDK | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CBActionElement
The ActionElement contains behavior that is common to all classes that contain IActions. This behavior manages properties on IActions. Therefore we provide methods that get and set the properties.
The following features are supported:
BehaviorPackage.getCBActionElement()
Method Summary | |
---|---|
boolean |
canDisable()
Returns true if the element can be disabled, false otherwise |
boolean |
canEnable()
Return true if the element can be enabled, false otherwise |
IStatus |
enable(boolean enable)
|
org.eclipse.hyades.models.common.facades.behavioral.IAction |
getAction()
Return the IAction. |
boolean |
getBooleanProperty(String name)
Get the property with the corresponding name. |
byte |
getByteProperty(String name)
Get the property with the corresponding name. |
char |
getCharProperty(String name)
Get the property with the corresponding name. |
int |
getDisabledCount()
Returns the value of the 'Disabled Count' attribute. |
double |
getDoubleProperty(String name)
Get the property with the corresponding name. |
float |
getFloatProperty(String name)
Get the property with the corresponding name. |
List[] |
getInheritedCBActionElements()
Retrieve all CBActionElements contained in this block. |
int |
getIntProperty(String name)
Get the property with the corresponding name. |
long |
getLongProperty(String name)
Get the property with the corresponding name. |
CBElementHost |
getMovingFrom()
If this element is being moved, where is it moving from? |
CBActionElement |
getParent()
for INTERNAL USE ONLY |
short |
getShortProperty(String name)
Get the property with the corresponding name. |
String |
getStringProperty(String name)
Get the property with the corresponding name. |
String |
getTransformID()
Returns the value of the 'Transform ID' attribute |
String |
getType()
Get the Actual type of this class. |
boolean |
isAlwaysLog()
Returns the value of the 'Always Log' attribute. |
boolean |
isEnabled()
If the meaning of the 'Enabled' attribute isn't clear, there really should be more of a description here... |
boolean |
isMoving()
Is this element in the process of being being moved? |
void |
move(CBActionElement newParent,
int index)
Move this model element to a new Parent. |
void |
resetDisabledCount()
|
void |
setAction(org.eclipse.hyades.models.common.facades.behavioral.IAction action)
Set the IAction. |
void |
setAlwaysLog(boolean value)
Sets the value of the ' Always Log ' attribute |
void |
setDisabledCount(int value)
Sets the value of the ' Disabled Count ' attribute |
void |
setEnabled(boolean enable)
This boolean is used to determine whether or not the CBActionElement is enabled |
void |
setProperty(String name,
boolean value)
Set the property with the corresponding name. |
void |
setProperty(String name,
byte value)
Set the property with the corresponding name. |
void |
setProperty(String name,
char value)
Set the property with the corresponding name. |
void |
setProperty(String name,
double value)
Set the property with the corresponding name. |
void |
setProperty(String name,
float value)
Set the property with the corresponding name. |
void |
setProperty(String name,
int value)
Set the property with the corresponding name. |
void |
setProperty(String name,
long value)
Set the property with the corresponding name. |
void |
setProperty(String name,
short value)
Set the property with the corresponding name. |
void |
setProperty(String name,
String value)
Set the property with the corresponding name. |
void |
setTransformID(String value)
Sets the value of the ' Transform ID ' attribute |
void |
setType(String type)
Set the type that this IAction represents. |
IStatus |
validate()
|
Methods inherited from interface com.ibm.rational.test.common.models.behavior.CBNamedElement |
---|
getDescription, getId, getName, getStopId, setDescription, setId, setName |
Methods inherited from interface org.eclipse.core.runtime.IAdaptable |
---|
getAdapter |
Methods inherited from interface com.ibm.rational.test.common.models.behavior.internal.CBTempData |
---|
getTempAttribute, getTempAttribute, getTempAttributes, setTempAttribute, setTempAttribute, unsetTempAttribute |
Methods inherited from interface com.ibm.rational.test.common.models.behavior.edit.CBCloneable |
---|
doClone, isCloneable |
Methods inherited from interface org.eclipse.emf.ecore.EObject |
---|
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset |
Methods inherited from interface org.eclipse.emf.common.notify.Notifier |
---|
eAdapters, eDeliver, eNotify, eSetDeliver |
Method Detail |
---|
boolean isEnabled()
If the meaning of the 'Enabled' attribute isn't clear, there really should be more of a description here...
void setEnabled(boolean enable)
int getDisabledCount()
"0"
.
This boolean is used to determine whether or not the CBActionElement is enabled.
CBActionElement.setDisabledCount(int)
,
BehaviorPackage.getCBActionElement_DisabledCount()
void setDisabledCount(int value)
Disabled Count
' attribute.
value
- the new value of the 'Disabled Count' attribute.CBActionElement.getDisabledCount()
String getTransformID()
If the meaning of the 'Transform ID' attribute isn't clear, there really should be more of a description here...
CBActionElement.setTransformID(String)
,
BehaviorPackage.getCBActionElement_TransformID()
void setTransformID(String value)
Transform ID
' attribute.
value
- the new value of the 'Transform ID' attribute.CBActionElement.getTransformID()
boolean isAlwaysLog()
"false"
.
If the meaning of the 'Always Log' attribute isn't clear, there really should be more of a description here...
CBActionElement.setAlwaysLog(boolean)
,
BehaviorPackage.getCBActionElement_AlwaysLog()
void setAlwaysLog(boolean value)
Always Log
' attribute.
value
- the new value of the 'Always Log' attribute.CBActionElement.isAlwaysLog()
void resetDisabledCount()
boolean canEnable()
boolean canDisable()
IStatus enable(boolean enable)
enable
- - true to turn on enable,false otherwise
List[] getInheritedCBActionElements()
org.eclipse.hyades.models.common.facades.behavioral.IAction getAction()
void setAction(org.eclipse.hyades.models.common.facades.behavioral.IAction action)
action
- The IAction to set.String getType()
void setType(String type)
type
- The actual class of the IAction as
a fully qualified class name.void setProperty(String name, String value)
name
- The name of the property.value
- The value of the property.void setProperty(String name, char value)
name
- The name of the property.value
- The value of the property.void setProperty(String name, byte value)
name
- The name of the property.value
- The value of the property.void setProperty(String name, short value)
name
- The name of the property.value
- The value of the property.void setProperty(String name, int value)
name
- The name of the property.value
- The value of the property.void setProperty(String name, long value)
name
- The name of the property.value
- The value of the property.void setProperty(String name, float value)
name
- The name of the property.value
- The value of the property.void setProperty(String name, double value)
name
- The name of the property.value
- The value of the property.void setProperty(String name, boolean value)
name
- The name of the property.value
- The value of the property.String getStringProperty(String name)
name
- The name of the property.int getIntProperty(String name)
name
- The name of the property.char getCharProperty(String name)
name
- The name of the property.boolean getBooleanProperty(String name)
name
- The name of the property.byte getByteProperty(String name)
name
- The name of the property.short getShortProperty(String name)
name
- The name of the property.long getLongProperty(String name)
name
- The name of the property.float getFloatProperty(String name)
name
- The name of the property.double getDoubleProperty(String name)
name
- The name of the property.CBActionElement getParent()
void move(CBActionElement newParent, int index)
newParent
- index
- boolean isMoving()
CBElementHost getMovingFrom()
null
if not being moved.IStatus validate()
|
IBM Rational Performance Tester SDK | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |