UML Modeling Layer

com.ibm.xtools.uml.msl.internal.metamorphose
Class MorphStereotypesHandler

java.lang.Object
  extended by org.eclipse.gmf.runtime.emf.core.util.EObjectUtil.MetamorphoseHandler
      extended by 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


Constructor Summary
MorphStereotypesHandler()
           
 
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 org.eclipse.gmf.runtime.emf.core.util.EObjectUtil.MetamorphoseHandler
createNewEObject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MorphStereotypesHandler

public MorphStereotypesHandler()
Method Detail

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

UML Modeling Layer

© Copyright IBM Corp. 2009. All rights reserved.