| |||||||||||
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
Nested Class Summary |
Nested classes inherited from class org.eclipse.emf.common.command.AbstractCommand |
AbstractCommand.NonDirtying |
Field Summary | |
protected static String | DESCRIPTION
This cachaes the description. |
protected MappingDomain | domain
This keeps track of the mapping domain in which the command operates. |
protected static String | LABEL
This caches the label. |
protected Collection | mappedInputs
This is the collection of inputs that have been matched by this command |
protected Mapping | mapping
This is the mapping that is being recursively matched. |
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 | |
MatchMappingCommand(MappingDomain domain,
Mapping mapping)
|
Method Summary | |
protected abstract boolean | match(Object inputObject,
Object outputObject,
Collection mappedObjects)
|
protected void | matchChildren(Collection inputChildren,
Collection outputChildren)
|
protected boolean | prepare()
Returns whether all the commands can execute so that AbstractCommand.isExecutable can be cached. |
String | toString()
This gives an abbreviated name using this object's own class' name, without package qualification, followed by a space separated list of field:value pairs. |
Methods inherited from class org.eclipse.emf.common.command.CompoundCommand |
append, appendAndExecute, appendIfCanExecute, canUndo, dispose, execute, 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 |
Field Detail |
protected MappingDomain domain
protected Mapping mapping
protected Collection mappedInputs
protected static final String LABEL
protected static final String DESCRIPTION
Constructor Detail |
public MatchMappingCommand(MappingDomain domain, Mapping mapping)
Method Detail |
protected boolean prepare()
protected void matchChildren(Collection inputChildren, Collection outputChildren)
protected abstract boolean match(Object inputObject, Object outputObject, Collection mappedObjects)
public String toString()
|
Copyright 2001-2004 IBM Corporation and others. All Rights Reserved. | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |