com.ibm.xtools.uml.msl.internal.metamorphose
Class MorphStereotypesHandler
java.lang.Object
org.eclipse.gmf.runtime.emf.core.util.EObjectUtil.MetamorphoseHandler
com.ibm.xtools.uml.msl.internal.metamorphose.MorphStereotypesHandler
public class MorphStereotypesHandler
- extends EObjectUtil.MetamorphoseHandler
Morph stereotypes handler
Used in MorphUtil.metamorphose(...)
Handles unused stereotype deletion
|
Method Summary |
void |
cleanup(EObject newObject)
|
void |
initialize(EObject oldObject)
This method must be called before the metamorphose
is performed in order to save the stereotype applications. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MorphStereotypesHandler
public MorphStereotypesHandler()
initialize
public void initialize(EObject oldObject)
- This method must be called before the metamorphose
is performed in order to save the stereotype applications.
MorphUtil will do that automatically.
- Parameters:
oldObject - the object that will be morphed
cleanup
public void cleanup(EObject newObject)
- Overrides:
cleanup in class EObjectUtil.MetamorphoseHandler
© Copyright IBM Corp. 2009. All rights reserved.