Interface IObjectTreeContext<M,MA,MR extends M,MP extends M,MC extends M>
-
- All Known Subinterfaces:
IProjectionContext<D,DA,DR,DP,DC,M,MA,MR,MP,MC>
- All Known Implementing Classes:
ExtensibleProjection.Context
public interface IObjectTreeContext<M,MA,MR extends M,MP extends M,MC extends M>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addListItem(M model, MA attribute, int index, Object item)
void
addMapItem(M model, MA attribute, Object key, Object value)
void
addSetItem(M model, MA attribute, Object item)
void
addTreeItem(MP parent, int index, MC item)
void
changeAttribute(M model, MA attribute, Object newValue)
void
changeRoot(MR oldRoot, MR newRoot)
void
moveListItem(M model, MA attribute, int oldIndex, int newIndex)
void
moveTreeItem(MP parent, int oldIndex, int newIndex)
void
removeListItem(M model, MA attribute, int index)
void
removeMapItem(M model, MA attribute, Object key)
void
removeSetItem(M model, MA attribute, Object item)
void
removeTreeItem(MP parent, int index)
void
replaceListItem(M model, MA attribute, int index, Object newItem)
void
replaceMapItem(M model, MA attribute, Object key, Object newValue)
void
replaceTreeItem(MP parent, int index, MC newItem)
void
sendMessage(IObjectTreeMessage message)
void
setRoot(MR root)
void
unsetRoot(MR root)
-
-
-
Method Detail
-
sendMessage
void sendMessage(IObjectTreeMessage message)
-
setRoot
void setRoot(MR root)
-
unsetRoot
void unsetRoot(MR root)
-
moveTreeItem
void moveTreeItem(MP parent, int oldIndex, int newIndex)
-
removeTreeItem
void removeTreeItem(MP parent, int index)
-
-