|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.emf.common.command.AbstractCommand
org.eclipse.emf.common.command.CompoundCommand
org.eclipse.emf.mapping.command.MatchMappingCommand
org.eclipse.emf.mapping.command.NameMatchMappingCommand
Nested Class Summary |
Nested classes inherited from class org.eclipse.emf.common.command.AbstractCommand |
AbstractCommand.NonDirtying |
Field Summary |
Fields inherited from class org.eclipse.emf.mapping.command.MatchMappingCommand |
DESCRIPTION, domain, LABEL, mappedInputs, mapping |
Fields inherited from class org.eclipse.emf.common.command.CompoundCommand |
commandList, LAST_COMMAND_ALL, MERGE_COMMAND_ALL, resultIndex |
Fields inherited from class org.eclipse.emf.common.command.AbstractCommand |
description, isExecutable, isPrepared, label |
Constructor Summary | |
NameMatchMappingCommand(MappingDomain domain,
Mapping mapping)
|
Method Summary | |
protected String |
concatName(List parsedName)
|
static Command |
create(MappingDomain domain,
Mapping mapping)
This creates a command that creates a new child mappings for the given mapping by attempting to match by name input children with output children. |
void |
execute()
Calls Command.execute() for each command in the list. |
protected boolean |
match(Object inputObject,
Object outputObject,
Collection mappedObjects)
|
Methods inherited from class org.eclipse.emf.mapping.command.MatchMappingCommand |
matchChildren, prepare, toString |
Methods inherited from class org.eclipse.emf.common.command.CompoundCommand |
append, appendAndExecute, appendIfCanExecute, canUndo, dispose, getAffectedObjects, getCommandList, getDescription, getLabel, getMergedAffectedObjectsCollection, getMergedResultCollection, getResult, getResultIndex, isEmpty, redo, undo, unwrap |
Methods inherited from class org.eclipse.emf.common.command.AbstractCommand |
canExecute, chain, setDescription, setLabel |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public NameMatchMappingCommand(MappingDomain domain, Mapping mapping)
Method Detail |
public static Command create(MappingDomain domain, Mapping mapping)
protected boolean match(Object inputObject, Object outputObject, Collection mappedObjects)
match
in class MatchMappingCommand
protected String concatName(List parsedName)
public void execute()
CompoundCommand
Command.execute()
for each command in the list.
execute
in interface Command
execute
in class CompoundCommand
|
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 |