public class ModelObjectAdapter extends TranslatorAdapter implements org.eclipse.emf.common.notify.Adapter, org.eclipse.wst.sse.core.internal.provisional.INodeAdapter
node| Constructor and Description |
|---|
ModelObjectAdapter(SSESyncResource resource,
org.eclipse.emf.ecore.EObject eobject,
Element node) |
| Modifier and Type | Method and Description |
|---|---|
org.eclipse.emf.common.notify.Notifier |
getTarget() |
boolean |
isAdapterForType(Object type) |
void |
load()
Populates all child model objects from the child nodes in the dom tree.
|
void |
notifyChanged(org.eclipse.wst.sse.core.internal.provisional.INodeNotifier notifier,
int eventType,
Object changedFeature,
Object oldValue,
Object newValue,
int pos) |
void |
notifyChanged(org.eclipse.emf.common.notify.Notification notification) |
void |
save()
Populates all child dom objects from the model children.
|
void |
setTarget(org.eclipse.emf.common.notify.Notifier target) |
void |
update(Object oldValue,
Object newValObject,
int index) |
absoluteIndexOf, createWSAfter, createWSBefore, formatNode, getElementText, getFirstChildWithName, getNode, getNthChildWithName, namedIndexOf, removeChildElement, setNodepublic ModelObjectAdapter(SSESyncResource resource, org.eclipse.emf.ecore.EObject eobject, Element node)
public boolean isAdapterForType(Object type)
isAdapterForType in interface org.eclipse.emf.common.notify.AdapterisAdapterForType in interface org.eclipse.wst.sse.core.internal.provisional.INodeAdapterpublic void notifyChanged(org.eclipse.wst.sse.core.internal.provisional.INodeNotifier notifier,
int eventType,
Object changedFeature,
Object oldValue,
Object newValue,
int pos)
notifyChanged in interface org.eclipse.wst.sse.core.internal.provisional.INodeAdapterpublic void notifyChanged(org.eclipse.emf.common.notify.Notification notification)
notifyChanged in interface org.eclipse.emf.common.notify.Adapterpublic void update(Object oldValue, Object newValObject, int index)
update in class TranslatorAdapterpublic void load()
load in class TranslatorAdapterpublic void save()
save in class TranslatorAdapterpublic org.eclipse.emf.common.notify.Notifier getTarget()
getTarget in interface org.eclipse.emf.common.notify.Adapterpublic void setTarget(org.eclipse.emf.common.notify.Notifier target)
setTarget in interface org.eclipse.emf.common.notify.AdapterCopyright © 2005–2021 Eclipse Foundation. All rights reserved.