|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use CommandParameter | |
---|---|
org.eclipse.emf.codegen.ecore.genmodel.action | |
org.eclipse.emf.edit.domain | This provides support for an EditingDomain , which acts a
centralized control mechanism for managing a set of interrelated
models and the Command s
which modify them.
|
org.eclipse.emf.edit.provider | This provides reusable ItemProviderAdapter support to drive
JFace StructuredViewers, Eclipse IPropertySources, and EditingDomain s |
org.eclipse.emf.mapping.action | |
org.eclipse.emf.mapping.command | |
org.eclipse.emf.mapping.domain | |
org.eclipse.emf.mapping.provider |
Uses of CommandParameter in org.eclipse.emf.codegen.ecore.genmodel.action |
---|
Fields in org.eclipse.emf.codegen.ecore.genmodel.action declared as CommandParameter | |
---|---|
protected CommandParameter |
CreateChildAction.newChildDescriptor
This is the descriptor for the child to be created. |
Constructors in org.eclipse.emf.codegen.ecore.genmodel.action with parameters of type CommandParameter | |
---|---|
CreateChildAction(IEditorPart editorPart,
ISelection selection,
CommandParameter newChildDescriptor)
This constructs an instance of an action that creates a child described by newChildDescriptor. |
Uses of CommandParameter in org.eclipse.emf.edit.domain |
---|
Methods in org.eclipse.emf.edit.domain with parameters of type CommandParameter | |
---|---|
Command |
AdapterFactoryEditingDomain.createCommand(java.lang.Class<? extends Command> commandClass,
CommandParameter commandParameter)
This delegates to IEditingDomainItemProvider.createCommand . |
Command |
EditingDomain.createCommand(java.lang.Class<? extends Command> commandClass,
CommandParameter commandParameter)
This creates a command of the type of the specified by the command class and acting upon the information specified in the given command parameter. |
Uses of CommandParameter in org.eclipse.emf.edit.provider |
---|
Methods in org.eclipse.emf.edit.provider that return CommandParameter | |
---|---|
protected CommandParameter |
ItemProviderAdapter.createChildParameter(java.lang.Object feature,
java.lang.Object child)
This is a convenience method that creates a CommandParameter
for a given parent feature and child object. |
protected CommandParameter |
ItemProviderAdapter.unwrapCommandValues(CommandParameter commandParameter,
java.lang.Class<? extends Command> commandClass)
If the given command parameter contains wrapped values that need to be unwrapped for the given command class to operate on, a new command parameter will be returned, with those values unwrapped; otherwise, the original one is returned. |
Methods in org.eclipse.emf.edit.provider that return types with arguments of type CommandParameter | |
---|---|
java.util.Collection<CommandParameter> |
ItemProvider.getNewChildDescriptors(java.lang.Object object,
EditingDomain editingDomain,
java.lang.Object sibling)
This implements IEditingDomainItemProvider.getNewChildDescriptors , returning an empty
list. |
Methods in org.eclipse.emf.edit.provider with parameters of type CommandParameter | |
---|---|
Command |
WrapperItemProvider.baseCreateCommand(java.lang.Object object,
EditingDomain domain,
java.lang.Class<? extends Command> commandClass,
CommandParameter commandParameter)
Implements creation of a set, copy, or drag-and-drop command by calling out to createSetCommand , createCopyCommand , or createDragAndDropCommand . |
Command |
ItemProviderAdapter.createCommand(java.lang.Object object,
EditingDomain domain,
java.lang.Class<? extends Command> commandClass,
CommandParameter commandParameter)
This implements delegated command creation for the given object. |
Command |
ItemProviderDecorator.createCommand(java.lang.Object object,
EditingDomain domain,
java.lang.Class<? extends Command> commandClass,
CommandParameter commandParameter)
This implements IEditingDomainItemProvider.createCommand
by delegating to (IEditingDomainItemProvider) ItemProviderDecorator.decoratedItemProvider . |
Command |
AdapterFactoryItemDelegator.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. |
Command |
DelegatingWrapperItemProvider.createCommand(java.lang.Object object,
EditingDomain domain,
java.lang.Class<? extends Command> commandClass,
CommandParameter commandParameter)
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. |
Command |
IEditingDomainItemProvider.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. |
Command |
ItemProvider.createCommand(java.lang.Object object,
EditingDomain editingDomain,
java.lang.Class<? extends Command> commandClass,
CommandParameter commandParameter)
This implements IEditingDomainItemProvider.createCommand() , returning the unexecutable
command. |
Command |
FeatureMapEntryWrapperItemProvider.createCommand(java.lang.Object object,
EditingDomain domain,
java.lang.Class<? extends Command> commandClass,
CommandParameter commandParameter)
Uses the delegate item provider or the base wrapper implementation to create a command. |
Command |
WrapperItemProvider.createCommand(java.lang.Object object,
EditingDomain domain,
java.lang.Class<? extends Command> commandClass,
CommandParameter commandParameter)
{IEditingDomainItemProvider#createCommand IEditingDomainItemProvider.createCommand} is implemented via baseCreateCommand to create set, copy, and drag-and-drop commands, only. |
protected Command |
ItemProviderAdapter.factorAddCommand(EditingDomain domain,
CommandParameter commandParameter)
This method factors an AddCommand for a collection of objects
into one or more primitive add command,
i.e., one per unique feature. |
protected Command |
ItemProviderAdapter.factorMoveCommand(EditingDomain domain,
CommandParameter commandParameter)
This method factors a MoveCommand to determine the feature. |
protected Command |
ItemProviderAdapter.factorRemoveCommand(EditingDomain domain,
CommandParameter commandParameter)
This method factors a RemoveCommand for a collection of objects
into one or more primitive remove commands,
i.e., one per unique feature. |
protected java.util.Collection<? extends IWrapperItemProvider> |
ItemProviderAdapter.getWrappedValues(CommandParameter commandParameter)
Returns a collection of any objects in the given command parameter's collection and value , that implement IWrapperItemProvider . |
protected CommandParameter |
ItemProviderAdapter.unwrapCommandValues(CommandParameter commandParameter,
java.lang.Class<? extends Command> commandClass)
If the given command parameter contains wrapped values that need to be unwrapped for the given command class to operate on, a new command parameter will be returned, with those values unwrapped; otherwise, the original one is returned. |
protected Command |
ItemProviderAdapter.wrapCommand(Command command,
java.lang.Object object,
java.lang.Class<? extends Command> commandClass,
CommandParameter commandParameter,
CommandParameter oldCommandParameter)
Returns a version of the given command that automatically re-wraps values that have been unwrapped when returning them as the command's result or affected objects. |
Uses of CommandParameter in org.eclipse.emf.mapping.action |
---|
Constructors in org.eclipse.emf.mapping.action with parameters of type CommandParameter | |
---|---|
CreateMappingAction.DelegateCommand(EditingDomain editingDomain,
CommandParameter commandParameter)
|
|
CreateOneSidedMappingAction.DelegateCommand(EditingDomain editingDomain,
CommandParameter commandParameter)
|
|
NameMatchMappingAction.DelegateCommand(EditingDomain editingDomain,
CommandParameter commandParameter)
|
|
RemoveMappingAction.CommandDelegate(EditingDomain editingDomain,
CommandParameter commandParameter)
|
|
TypeMatchMappingAction.DelegateCommand(EditingDomain editingDomain,
CommandParameter commandParameter)
|
Uses of CommandParameter in org.eclipse.emf.mapping.command |
---|
Methods in org.eclipse.emf.mapping.command that return CommandParameter | |
---|---|
CommandParameter |
PersistentCommandStack.CommandCreationRecord.getCommandParameter()
|
Methods in org.eclipse.emf.mapping.command with parameters of type CommandParameter | |
---|---|
void |
PersistentCommandStack.handleCreateCommand(java.lang.Class<? extends Command> commandClass,
CommandParameter commandParameter,
Command command)
This is called by the mapping domain whenever a command (that may subsequently be executed) is created. |
Constructors in org.eclipse.emf.mapping.command with parameters of type CommandParameter | |
---|---|
PersistentCommandStack.CommandCreationRecord(java.lang.Class<? extends Command> commandClass,
CommandParameter commandParameter)
|
Uses of CommandParameter in org.eclipse.emf.mapping.domain |
---|
Methods in org.eclipse.emf.mapping.domain with parameters of type CommandParameter | |
---|---|
Command |
AdapterFactoryMappingDomain.createCommand(java.lang.Class<? extends Command> commandClass,
CommandParameter commandParameter)
|
void |
AdapterFactoryMappingDomain.handleCreateCommand(java.lang.Class<? extends Command> commandClass,
CommandParameter commandParameter,
Command command)
This is called for every command created by the domain. |
Uses of CommandParameter in org.eclipse.emf.mapping.provider |
---|
Methods in org.eclipse.emf.mapping.provider with parameters of type CommandParameter | |
---|---|
Command |
MappingRootItemProvider.createCommand(java.lang.Object object,
EditingDomain editingDomain,
java.lang.Class<? extends Command> commandClass,
CommandParameter commandParameter)
|
Command |
MappedObjectItemProvider.createCommand(java.lang.Object object,
EditingDomain editingDomain,
java.lang.Class<? extends Command> commandClass,
CommandParameter commandParameter)
|
Command |
MappingItemProvider.createCommand(java.lang.Object object,
EditingDomain editingDomain,
java.lang.Class<? extends Command> commandClass,
CommandParameter commandParameter)
|
protected Command |
MappingItemProvider.factorAddCommand(EditingDomain domain,
CommandParameter commandParameter)
|
|
Copyright 2001-2006 IBM Corporation and others. All Rights Reserved. |
|||||||||
PREV NEXT | FRAMES NO FRAMES |