|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IEditingDomainItemProvider
This is the interface used by EditingDomain
to impose a hierarchical relation on the model objects,
and to map operations on those objects onto an underlying EMF model Commands.
See EditingDomain for more details about how this is used.
| Method Summary | |
|---|---|
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. |
| Method Detail |
|---|
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.
|
Copyright 2001-2006 IBM Corporation and others. All Rights Reserved. |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||