public class PropertiesAdapter extends ListAdapter
Modifier and Type | Field and Description |
---|---|
protected List<PropertyElement> |
properties |
list
node, 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, update
absoluteIndexOf, createWSAfter, createWSBefore, formatNode, getElementText, getFirstChildWithName, getNode, getNthChildWithName, namedIndexOf, removeChildElement, setNode
protected 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.INodeAdapter
notifyChanged
in class ListAdapter
public void add(Object newValue, int position)
add
in class ListAdapter
public void remove(Object oldValue, int position)
remove
in class ListAdapter
public PropertyElement createObject(Element child)
public boolean isAdapterForType(Object type)
isAdapterForType
in interface org.eclipse.wst.sse.core.internal.provisional.INodeAdapter
isAdapterForType
in class ListAdapter
public void load()
TranslatorAdapter
load
in class ListAdapter
public void save()
TranslatorAdapter
save
in class ListAdapter
Copyright © 2005–2015 Sonatype, Inc.. All rights reserved.