com.ibm.xtools.uml.msl.internal.metamorphose
Class MorphUtil
java.lang.Object
com.ibm.xtools.uml.msl.internal.metamorphose.MorphUtil
public class MorphUtil
- extends Object
Morph utility class
Handles preserving morphed element IDs
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MorphUtil
public MorphUtil()
metamorphose
public static EObject metamorphose(EObject eObject,
EClass newClass,
boolean inPlace,
EObjectUtil.MetamorphoseHandler handler,
boolean bMaintainID)
- Calls another metamorphose method to do the metamorphose and re-assigns
the original ID to the new element if required.
- Parameters:
handler, - a MetamorphoseHandler or null to use the default MorphStereotypesHandler- See Also:
EObjectUtil.metamorphose(EObject eObject, final EClass newClass,
boolean inPlace, MetamorphoseHandler handler)
© Copyright IBM Corp. 2009. All rights reserved.