|
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
This class contains common functionality for the UML to C++ transformation extensibility.
Constructor Summary | |
CPPExtendFramework(String id)
Constructor. |
Method Summary | |
boolean |
canAccept(ITransformContext context)
The implementation of this method filters out contexts with inappropriate source elements, then calls canAcceptExt to provide additional filtering capabilities. |
boolean |
canAcceptExt(ITransformContext context)
Override this method to provide additional filtering capabilities. |
Object |
createTarget(ITransformContext ruleContext)
The implementation of this method calls createTargetExt. |
abstract void |
createTargetExt(ITransformContext ruleContext)
Implement this method to extend C++ transformation. |
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 CPPExtendFramework(String id)
id
- A unique identifier for the rule.Method Detail |
public abstract void createTargetExt(ITransformContext ruleContext)
ruleContext
- rule execution contextpublic boolean canAccept(ITransformContext context)
canAccept
in class AbstractTransformElement
context
- this rule execution context
public boolean canAcceptExt(ITransformContext context)
context
- The current context of the transformation execution.
public final Object createTarget(ITransformContext ruleContext)
createTarget
in class AbstractRule
ruleContext
- 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.