public class PropertiesAdapter extends ListAdapter
| Modifier and Type | Field and Description |
|---|---|
protected List<PropertyElement> |
properties |
listnode, resource| Constructor and Description |
|---|
PropertiesAdapter(SSESyncResource resc,
Element containerNode,
List<PropertyElement> properties) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(Object newValue,
int position) |
PropertyElement |
createObject(Element child) |
boolean |
isAdapterForType(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,
Object changedFeature,
Object oldValue,
Object newValue,
int pos) |
void |
remove(Object oldValue,
int position) |
void |
save()
Save the xml value of this adapter from the model.
|
getElementName, getElementValue, getObject, updateabsoluteIndexOf, createWSAfter, createWSBefore, formatNode, getElementText, getFirstChildWithName, getNode, getNthChildWithName, namedIndexOf, removeChildElement, setNodeprotected List<PropertyElement> properties
public PropertiesAdapter(SSESyncResource resc, Element containerNode, List<PropertyElement> properties)
public 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.INodeAdapternotifyChanged in class ListAdapterpublic void add(Object newValue, int position)
add in class ListAdapterpublic void remove(Object oldValue, int position)
remove in class ListAdapterpublic PropertyElement createObject(Element child)
public boolean isAdapterForType(Object type)
isAdapterForType in interface org.eclipse.wst.sse.core.internal.provisional.INodeAdapterisAdapterForType in class ListAdapterpublic void load()
TranslatorAdapterload in class ListAdapterpublic void save()
TranslatorAdaptersave in class ListAdapterCopyright © 2005–2021 Eclipse Foundation. All rights reserved.