This class is used to implement a selection-based IAction on the menubar, the toolbar, or a popup menu
by delegating all required behaviour to a Command.
This provides support that allows a factory to be composed into a ComposedAdapterFactory
that serves the union of the model objects from different packages.
The copy command logically acts upon an owner object or collection or owner objects
and copies the tree structured implied by the MOF containment hierarchy.
This command wraps an AddCommand or SetCommand to
provide the higher-level operation of "creating" an appropriate child
object and adding it to a owner object.
This constructor initializes an instance that adds the specified
child object to the owner object, at the
specified index of its feature feature, if it
is multi-valued.
The create copy command is used to create an uninitialized object of the same type
as owner which will later be initialized using InitializeCopyCommand.
When ItemProviderAdapter.ChildrenStores are to be used to cache children (typically to hold wrappers for non-EObject
children), this maps adapted objects to their corresponding stores.
This adds to newChildDescriptors, a collection of CommandParameters, parameters for
possible children of the specified object, when viewed as
an instance of the type for which this is an item provider.
Collects into result nested GenPackages to the specified depth,
not counting those without classifiers (for which nothing is ever
generated); -1 for no limit.
This will visit all reachable references from object except those in visited;
it updates visited and adds to result any object with a meta object that indicates that it is a subtype of type.
This records the collection of selected objects so that a new command can be easily constructed
after the execution of the command previously constructed from this selection.
Called to handle the copying of a cross reference;
this adds values or sets a single value as appropriate for the multiplicity
while omitting any bidirectional reference that isn't in the copy map.
Convenience method added to allow subclasses to modify the default implementation
for the scenario in which an element was added to the monitored list.
Uses the delegate item provider to create a command for the delegate value, and then calls wrapCommand to return an appropriate wrapper-substituting command wrapper for it.
{IEditingDomainItemProvider#createCommand IEditingDomainItemProvider.createCommand} is implemented via baseCreateCommand to create copy and drag-and-drop commands, only.
Convenience method added to allow subclasses to modify the default implementation
for the scenario in which an element was moved in the monitored list.
Convenience method added to allow subclasses to modify the default implementation
for the scenario in which an element was removed from the monitored list.
Creates and returns a wrapper for the given value, at the given index in the given feature of the given object
if such a wrapper is needed; otherwise, returns the original value.