public interface IEditingDomainItemProvider
EditingDomain
to impose a hierarchical relation on the model objects,
and to map operations on those objects onto an underlying EMF model Command
s.
See EditingDomain
for more details about how this is used.Modifier and Type | Method and Description |
---|---|
Command |
createCommand(java.lang.Object object,
EditingDomain editingDomain,
java.lang.Class<? extends Command> commandClass,
CommandParameter commandParameter)
This does the same thing as
EditingDomain.createCommand ,
i.e., it creates commands for a domain's model objects. |
java.util.Collection<?> |
getChildren(java.lang.Object object)
This does the same thing as
EditingDomain.getChildren ,
i.e., it imposes a hierarchical relation on a domain's model objects. |
java.util.Collection<?> |
getNewChildDescriptors(java.lang.Object object,
EditingDomain editingDomain,
java.lang.Object sibling)
This does the same thing as
EditingDomain.getNewChildDescriptors , i.e., it returns a collection of
objects describing the children that can be added under an object in
the editing domain. |
java.lang.Object |
getParent(java.lang.Object object)
This does the same thing as
EditingDomain.getParent ,
i.e., it imposes a hierarchical relation on a domain's model objects. |
java.util.Collection<?> getChildren(java.lang.Object object)
EditingDomain.getChildren
,
i.e., it imposes a hierarchical relation on a domain's model objects.java.lang.Object getParent(java.lang.Object object)
EditingDomain.getParent
,
i.e., it imposes a hierarchical relation on a domain's model objects.java.util.Collection<?> getNewChildDescriptors(java.lang.Object object, EditingDomain editingDomain, java.lang.Object sibling)
EditingDomain.getNewChildDescriptors
, i.e., it returns a collection of
objects describing the children that can be added under an object in
the editing domain.Command createCommand(java.lang.Object object, EditingDomain editingDomain, java.lang.Class<? extends Command> commandClass, CommandParameter commandParameter)
EditingDomain.createCommand
,
i.e., it creates commands for a domain's model objects.