class ConfigurationAdapter extends TranslatorAdapter implements org.eclipse.wst.sse.core.internal.provisional.INodeAdapter
Modifier and Type | Field and Description |
---|---|
private Configuration |
modelObject |
node, resource
Constructor and Description |
---|
ConfigurationAdapter(SSESyncResource resource,
org.w3c.dom.Element node,
Configuration object) |
Modifier and Type | Method and Description |
---|---|
boolean |
isAdapterForType(java.lang.Object type) |
void |
load()
Load the model value from this adapter's xml value
|
void |
notifyChanged(org.eclipse.wst.sse.core.internal.provisional.INodeNotifier notifier,
int eventType,
java.lang.Object changedFeature,
java.lang.Object oldValue,
java.lang.Object newValue,
int pos) |
void |
save()
Save the xml value of this adapter from the model.
|
void |
update(java.lang.Object oldValue,
java.lang.Object newValue,
int index) |
absoluteIndexOf, createWSAfter, createWSBefore, formatNode, getElementText, getFirstChildWithName, getNode, getNthChildWithName, namedIndexOf, removeChildElement, setNode
private Configuration modelObject
public ConfigurationAdapter(SSESyncResource resource, org.w3c.dom.Element node, Configuration object)
public boolean isAdapterForType(java.lang.Object type)
isAdapterForType
in interface org.eclipse.wst.sse.core.internal.provisional.INodeAdapter
public void notifyChanged(org.eclipse.wst.sse.core.internal.provisional.INodeNotifier notifier, int eventType, java.lang.Object changedFeature, java.lang.Object oldValue, java.lang.Object newValue, int pos)
notifyChanged
in interface org.eclipse.wst.sse.core.internal.provisional.INodeAdapter
public void load()
TranslatorAdapter
load
in class TranslatorAdapter
public void save()
TranslatorAdapter
save
in class TranslatorAdapter
public void update(java.lang.Object oldValue, java.lang.Object newValue, int index)
update
in class TranslatorAdapter