|
IBM Rational Software Modeler Release 6.0 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.ibm.xtools.transform.core.AbstractTransformElement
com.ibm.xtools.transform.core.AbstractRule
com.ibm.xtools.transform.uml2.cpp.CPPExtendFramework
com.ibm.xtools.transform.uml2.cpp.CPPExtendOperationRule
This class provides common functionality for the extensibility of the transformation of UML2 Operations into a C++ code. The source property of the rule context is expected to be a UML2 Operation.
| Constructor Summary | |
CPPExtendOperationRule(String id)
Constructor. |
|
| Method Summary | |
protected boolean |
addBody(String body,
ITransformContext ruleContext)
Sets the operation's body. |
protected Operation |
getSourceOperation(ITransformContext context)
Returns UML2 enumeration to be processed, if any. |
| Methods inherited from class com.ibm.xtools.transform.uml2.cpp.CPPExtendFramework |
canAccept, canAcceptExt, createTarget, createTargetExt |
| Methods inherited from class com.ibm.xtools.transform.core.AbstractRule |
execute, findTarget, isSourceConsumed, mapTarget, toString, updateTarget |
| Methods inherited from class com.ibm.xtools.transform.core.AbstractTransformElement |
getAcceptCondition, getDescription, getId, getName, getProgressMonitor, setAcceptCondition, setDescription, setId, setName |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public CPPExtendOperationRule(String id)
id - A unique identifier for the rule.| Method Detail |
protected final boolean addBody(String body,
ITransformContext ruleContext)
body - The operation's body.ruleContext - This rule execution context. Must not be null.protected final Operation getSourceOperation(ITransformContext context)
context - This rule execution context.
|
IBM Rational Software Modeler Release 6.0 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2004. All rights reserved.