The Rational Modeling API provided support for working with UML
models, profiles and diagrams. This API for model life cycle support, model
event generation and listening support has gone through some substantial changes
in this version of the Rational® modeling products.
In the previous version, there was a single Rational model editing domain with
an associated Eclipse Modeling Framework (EMF) resource set in which all models
were opened. A more generic transactional approach for editing domains and
events now resides in the Eclipse Modeling Framework Technologies (EMFT) component.
Note: Although
deprecated, the previous API still exists as a compatibility layer on top
of the new EMFT transactional functionality. Existing applications are expected
to continue to work; however, clients should think about moving to the new
EMFT transactional API.
The public API for the modeler is still available in the package com.ibm.xtools.modeler
but additional APIs have been exposed in the com.ibm.xtools.modeler.ui package.
Both com.ibm.xtools.modeler and com.ibm.xtools.modeler.ui contain the UMLModeler
class for performing UML model manipulations. The original UMLModeler class
in com.ibm.xtools.modeler returns the deprecated API for model management
in the Xtools MSL component, but the UMLModeler class in com.ibm.xtools.modeler.ui
returns the API for the new transactional model management.
The packages from the previous version of the Rational Modeling API that have changed
are listed in the following table:
| Previous version packages |
New version packages |
| com.ibm.xtools.emf.msl (deprecated) |
org.eclipse.emf.transaction |
| com.ibm.xtools.viz.ui |
com.ibm.xtools.umlviz.ui |
| com.ibm.xtools.uml.diagram |
com.ibm.xtools.uml.ui.diagram |
| com.ibm.xtools.uml.core |
com.ibm.xtools.uml.core |
| com.ibm.xtools.uml.ui |
com.ibm.xtools.uml.ui |
| com.ibm.xtools.umlnotation |
com.ibm.xtools.umlnotation |
| com.ibm.xtools.modeler (deprecated) |
com.ibm.xtools.modeler.ui |
| com.ibm.xtools.traceability |
com.ibm.xtools.traceability |
The following public extension points previously defined in the Rational product
UML component have been renamed as follows:
- com.ibm.xtools.uml.msl.UMLLibraries
- com.ibm.xtools.uml.msl.UMLProfiles
Note: The public API and the extension points for patterns and transformations
are not modified in this version of the Rational modeling products.