|
IBM Rational Software Modeler Release 6.0 |
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use ITransformContext | |
com.ibm.xtools.transform.core | |
com.ibm.xtools.transform.ui | |
com.ibm.xtools.transform.uml2 | |
com.ibm.xtools.transform.uml2.cpp |
Uses of ITransformContext in com.ibm.xtools.transform.core |
Methods in com.ibm.xtools.transform.core that return ITransformContext | |
ITransformContext |
AbstractTransform.createContext(ITransformContext parentContext)
Create an execution context associated with this transform. |
ITransformContext |
ITransformContext.getParentContext()
Get the parent execution context. |
ITransformContext |
TransformException.getContext()
Returns the transformation context for the cause of this throwable or null if the context is nonexistent or unknown. |
Methods in com.ibm.xtools.transform.core with parameters of type ITransformContext | |
abstract Collection |
AbstractContentExtractor.execute(ITransformContext context)
Retrieve the elements related to the source object that will be processed by the associated transform. |
protected abstract Object |
AbstractRule.createTarget(ITransformContext context)
Create a new target object based on the source in the context. |
Object |
AbstractRule.execute(ITransformContext context)
When a rule is executed, it will: determine whether a target object already exists. |
boolean |
AbstractRule.isSourceConsumed(ITransformContext context)
Determine if the source object is to be consumed by this rule. |
protected Object |
AbstractRule.findTarget(ITransformContext context)
Return a target object if it already exists. |
protected void |
AbstractRule.mapTarget(ITransformContext context,
Object target)
Create a mapping from the source object to the target object so that it can be found when findTarget() is called. |
protected void |
AbstractRule.updateTarget(ITransformContext context,
Object target)
When an existing target object is found, this update method is called to refresh any stale information in the target based on the new context. |
ITransformContext |
AbstractTransform.createContext(ITransformContext parentContext)
Create an execution context associated with this transform. |
abstract void |
AbstractTransform.execute(ITransformContext context)
Execute the transform with the given context. |
boolean |
AbstractTransformElement.canAccept(ITransformContext context)
Using the context, determine if this transformation element should be executed. |
protected IProgressMonitor |
AbstractTransformElement.getProgressMonitor(ITransformContext context)
Return the progress monitor for this transformation execution. |
IStatus |
AbstractTransformationProvider.validateContext(ITransformationDescriptor descriptor,
ITransformContext context)
Validate the context for the corresponding transformation. |
boolean |
ListContentExtractor.canAccept(ITransformContext context)
|
Collection |
ListContentExtractor.execute(ITransformContext context)
|
boolean |
Transform.canAccept(ITransformContext context)
Determine if the context contains enough information so that the transform can execute it. |
void |
Transform.execute(ITransformContext context)
|
protected Collection |
Transform.getElements(ITransformContext context)
Retrieve a list of transformation elements for a given transform context. |
protected void |
Transform.handle(Exception exception,
ITransformContext context)
Handle exceptions in the transformation engine. |
protected void |
Transform.initializeProgress(IProgressMonitor monitor,
ITransformContext context)
Initializes the progress monitor for the execution of the transformation. |
protected abstract boolean |
TransformCondition.isContextSatisfied(ITransformContext context)
Is the condition satisfied by the data in the transform context. |
static IStatus |
TransformationServiceUtil.validateContext(ITransformationDescriptor descriptor,
ITransformContext context)
Validate the context for the corresponding transformation. |
static void |
ValidateEditRule.addAffectedFile(ITransformContext context,
IFile file)
Add a file to the list of affected files. |
static void |
ValidateEditRule.addAffectedFiles(ITransformContext context,
List fileList)
Add the given files to the list of affected files. |
protected Object |
ValidateEditRule.createTarget(ITransformContext context)
Ensure the files to be affected (extracted from the context) can be modified. |
protected void |
ValidateEditRule.reportError(IStatus status,
ITransformContext context)
Process error that occured during file validation. |
Constructors in com.ibm.xtools.transform.core with parameters of type ITransformContext | |
TransformException(Throwable cause,
ITransformContext context)
Constructs a new transformation exception with the specified cause and execution context. |
|
TransformException(String message,
Throwable cause,
ITransformContext context)
Constructs a new transformation exception with the specified detail message, cause, and transformation context. |
|
TransformException(IStatus status,
Throwable cause,
ITransformContext context)
Constructs a new transformation exception with the specified status record, cause and execution context. |
Uses of ITransformContext in com.ibm.xtools.transform.ui |
Methods in com.ibm.xtools.transform.ui that return ITransformContext | |
protected ITransformContext |
AbstractTransformConfigTab.getCurrentTransformContext()
Construct a transform context from the information currently displayed in the GUI. |
Methods in com.ibm.xtools.transform.ui with parameters of type ITransformContext | |
abstract void |
AbstractTransformConfigTab.populateContext(ITransformContext context,
String info)
Populate the transform context based on the supplied data string. |
Uses of ITransformContext in com.ibm.xtools.transform.uml2 |
Methods in com.ibm.xtools.transform.uml2 that return ITransformContext | |
ITransformContext |
UMLKindTransform.createContext(ITransformContext parentContext)
|
Methods in com.ibm.xtools.transform.uml2 with parameters of type ITransformContext | |
Collection |
UMLElementKindExtractor.execute(ITransformContext context)
|
ITransformContext |
UMLKindTransform.createContext(ITransformContext parentContext)
|
void |
UMLKindTransform.execute(ITransformContext context)
|
protected void |
UMLKindTransform.handle(Exception exception,
ITransformContext context)
|
protected Collection |
UMLKindTransform.getElements(ITransformContext context)
Dynamically build a list of transform elements based on source object. |
void |
UMLTransform.execute(ITransformContext context)
Ensure that the transformation will execute in a write operation and in a single undo interval. |
Uses of ITransformContext in com.ibm.xtools.transform.uml2.cpp |
Methods in com.ibm.xtools.transform.uml2.cpp with parameters of type ITransformContext | |
boolean |
CPPExtendClassRule.canAccept(ITransformContext context)
|
protected Class |
CPPExtendClassRule.getSourceClass(ITransformContext context)
Returns the UML2 class to be processed. |
boolean |
CPPExtendClassifierRule.canAccept(ITransformContext context)
|
protected boolean |
CPPExtendClassifierRule.addAttribute(String name,
String type,
VisibilityKind visibility,
String defaultValue,
List array,
String comment,
boolean isStatic,
boolean isConst,
boolean isMutable,
boolean isConstructorInitializer,
ITransformContext ruleContext)
Adds a C++ attribute with the specified properties to the generated C++ classifier. |
protected boolean |
CPPExtendClassifierRule.addOperation(String name,
String returnType,
VisibilityKind visibility,
String argumentsHeader,
String argumentsBody,
String comment,
String body,
boolean isInline,
boolean isStatic,
boolean isVirtual,
boolean isPureVirtual,
boolean isQuery,
boolean isFriend,
ITransformContext ruleContext)
Adds a C++ operation with the specified properties to the generated classifier. |
protected boolean |
CPPExtendClassifierRule.addStandardOperation(int operationType,
VisibilityKind visibility,
String comment,
String body,
boolean isInline,
boolean isVirtual,
boolean isExplicit,
ITransformContext ruleContext)
Adds a standard C++ operation (constructor, destructor, copy constructor, or assignment operator) with the specified properties. |
protected boolean |
CPPExtendClassifierRule.addInclusion(Element included,
boolean isHeaderInclusion,
ITransformContext ruleContext)
Adds a C++ inclusion with the specified properties. |
protected boolean |
CPPExtendClassifierRule.addInclusion(String headerString,
String bodyString,
ITransformContext ruleContext)
Adds a C++ inclusion with the specified properties. |
protected boolean |
CPPExtendClassifierRule.addGeneralization(int generalizationKind,
String superClass,
ITransformContext ruleContext)
Adds a C++ generalization with the specified properties. |
protected boolean |
CPPExtendClassifierRule.addGeneralization(int generalizationKind,
Classifier superClassifier,
ITransformContext ruleContext)
Adds a C++ generalization with the specified properties. |
boolean |
CPPExtendEnumerationRule.canAccept(ITransformContext context)
|
protected boolean |
CPPExtendEnumerationRule.addAttribute(String name,
String constantExpression,
String comment,
ITransformContext ruleContext)
Adds enumeration attribute with the specified properties to the generated C++ enumeration. |
protected Enumeration |
CPPExtendEnumerationRule.getSourceEnumeration(ITransformContext context)
Returns UML2 enumeration to be processed, if any. |
abstract void |
CPPExtendFramework.createTargetExt(ITransformContext ruleContext)
Implement this method to extend C++ transformation. |
boolean |
CPPExtendFramework.canAccept(ITransformContext context)
The implementation of this method filters out contexts with inappropriate source elements, then calls canAcceptExt to provide additional filtering capabilities. |
boolean |
CPPExtendFramework.canAcceptExt(ITransformContext context)
Override this method to provide additional filtering capabilities. |
Object |
CPPExtendFramework.createTarget(ITransformContext ruleContext)
The implementation of this method calls createTargetExt. |
boolean |
CPPExtendInterfaceRule.canAccept(ITransformContext context)
|
protected Interface |
CPPExtendInterfaceRule.getSourceInterface(ITransformContext context)
Returns UML2 interface to be processed, if any. |
protected boolean |
CPPExtendOperationRule.addBody(String body,
ITransformContext ruleContext)
Sets the operation's body. |
protected Operation |
CPPExtendOperationRule.getSourceOperation(ITransformContext context)
Returns UML2 enumeration to be processed, if any. |
protected boolean |
CPPExtendRule.addHeaderPrefix(String prefix,
ITransformContext ruleContext)
Add text to the beginning of the header (.h) file. |
protected boolean |
CPPExtendRule.addHeaderSuffix(String suffix,
ITransformContext ruleContext)
Add text to the end of the header (.h) file. |
protected boolean |
CPPExtendRule.addBodyPrefix(String prefix,
ITransformContext ruleContext)
Add text to the beginning of the body (.cpp) file. |
protected boolean |
CPPExtendRule.addBodySuffix(String suffix,
ITransformContext ruleContext)
Add text to the end of the body (.cpp) file. |
protected boolean |
CPPExtendRule.isNested(ITransformContext context)
Evaluates source property of the context to determine if it is a nested classifier. |
|
IBM Rational Software Modeler Release 6.0 |
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2004. All rights reserved.