de.cau.cs.kieler.synccharts.synchronizer.merge
Class LinkingAdapter

java.lang.Object
  extended by de.cau.cs.kieler.synccharts.synchronizer.merge.LinkingAdapter
All Implemented Interfaces:
Adapter

public class LinkingAdapter
extends Object
implements Adapter

Rating red

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.eclipse.emf.common.notify.Adapter
Adapter.Internal
 
Constructor Summary
LinkingAdapter(EObject theSource, EObject theCopy)
           
 
Method Summary
static EObject getCounterPartAndUnlink(EObject eObj)
           
 Notifier getTarget()
          
 EObject getTheCounterPart(EObject eObj)
           
static void installLinkingAdapter(EObject theSource, EObject theCopy)
           
 boolean isAdapterForType(Object type)
          
 boolean isLinkingAdapterOf(EObject eObj)
           
 void notifyChanged(Notification notification)
          
 void setTarget(Notifier newTarget)
           
 void unlink()
           
 void unsetTarget(Notifier oldTarget)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LinkingAdapter

public LinkingAdapter(EObject theSource,
                      EObject theCopy)
Method Detail

installLinkingAdapter

public static void installLinkingAdapter(EObject theSource,
                                         EObject theCopy)

getCounterPartAndUnlink

public static EObject getCounterPartAndUnlink(EObject eObj)

isLinkingAdapterOf

public boolean isLinkingAdapterOf(EObject eObj)

getTheCounterPart

public EObject getTheCounterPart(EObject eObj)

unlink

public void unlink()

unsetTarget

public void unsetTarget(Notifier oldTarget)

setTarget

public void setTarget(Notifier newTarget)
Specified by:
setTarget in interface Adapter

notifyChanged

public void notifyChanged(Notification notification)

Specified by:
notifyChanged in interface Adapter

getTarget

public Notifier getTarget()

Specified by:
getTarget in interface Adapter

isAdapterForType

public boolean isAdapterForType(Object type)

Specified by:
isAdapterForType in interface Adapter