org.eclipse.ocl.examples.pivot.manager
Class PackageTracker
java.lang.Object
org.eclipse.ocl.examples.pivot.manager.PackageTracker
- All Implemented Interfaces:
- org.eclipse.emf.common.notify.Adapter, org.eclipse.emf.common.notify.Adapter.Internal
- Direct Known Subclasses:
- PackageClient, PackageServer
public abstract class PackageTracker
- extends java.lang.Object
- implements org.eclipse.emf.common.notify.Adapter.Internal
A PackageTracker adapts a Package to keep the overall managed meta-model in tune with any changes.
Nested classes/interfaces inherited from interface org.eclipse.emf.common.notify.Adapter |
org.eclipse.emf.common.notify.Adapter.Internal |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
packageManager
protected final PackageManager packageManager
target
protected final Package target
PackageTracker
protected PackageTracker(PackageManager packageManager,
Package target)
dispose
public void dispose()
getMetaModelManager
public MetaModelManager getMetaModelManager()
getPackageManager
public PackageManager getPackageManager()
getPackageServer
public abstract PackageServer getPackageServer()
- Return the PackageServer supervising this package merge.
getTarget
public Package getTarget()
- Specified by:
getTarget
in interface org.eclipse.emf.common.notify.Adapter
initContents
protected void initContents(PackageServer packageServer)
isAdapterForType
public boolean isAdapterForType(java.lang.Object type)
- Specified by:
isAdapterForType
in interface org.eclipse.emf.common.notify.Adapter
notifyChanged
public void notifyChanged(org.eclipse.emf.common.notify.Notification notification)
- Specified by:
notifyChanged
in interface org.eclipse.emf.common.notify.Adapter
setTarget
public void setTarget(org.eclipse.emf.common.notify.Notifier newTarget)
- Specified by:
setTarget
in interface org.eclipse.emf.common.notify.Adapter
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
unsetTarget
public void unsetTarget(org.eclipse.emf.common.notify.Notifier oldTarget)
- Specified by:
unsetTarget
in interface org.eclipse.emf.common.notify.Adapter.Internal