|
||||||||||
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.edit.command.AbstractOverrideableCommand
org.metaabm.commands.AddSpacesActsCommand
public class AddSpacesActsCommand
Creates acts on agent creation.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.eclipse.emf.common.command.AbstractCommand |
---|
org.eclipse.emf.common.command.AbstractCommand.NonDirtying |
Field Summary | |
---|---|
protected org.eclipse.emf.common.command.CompoundCommand |
command
|
Fields inherited from class org.eclipse.emf.edit.command.AbstractOverrideableCommand |
---|
domain, overrideCommand |
Fields inherited from class org.eclipse.emf.common.command.AbstractCommand |
---|
description, isExecutable, isPrepared, label |
Constructor Summary | |
---|---|
AddSpacesActsCommand(org.eclipse.emf.edit.domain.EditingDomain domain,
SContext parent,
java.util.Collection<?> spaces)
|
Method Summary | |
---|---|
protected void |
createSpaceBuilder(SProjection proj,
ABuild builder)
|
boolean |
doCanExecute()
|
void |
doExecute()
|
java.util.Collection<?> |
doGetAffectedObjects()
|
void |
doRedo()
|
void |
doUndo()
|
static ABuildProjection |
findBuilderOf(SContext context,
SProjection proj)
|
Methods inherited from class org.eclipse.emf.edit.command.AbstractOverrideableCommand |
---|
canExecute, canUndo, dispose, doCanUndo, doDispose, doGetChildrenToCopy, doGetDescription, doGetLabel, doGetResult, execute, getAffectedObjects, getChildrenToCopy, getDescription, getDomain, getLabel, getOverride, getOwnerList, getResult, redo, setOverride, toString, undo, updateEMap |
Methods inherited from class org.eclipse.emf.common.command.AbstractCommand |
---|
chain, prepare, setDescription, setLabel |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.eclipse.emf.common.command.Command |
---|
chain |
Field Detail |
---|
protected org.eclipse.emf.common.command.CompoundCommand command
Constructor Detail |
---|
public AddSpacesActsCommand(org.eclipse.emf.edit.domain.EditingDomain domain, SContext parent, java.util.Collection<?> spaces)
Method Detail |
---|
public java.util.Collection<?> doGetAffectedObjects()
doGetAffectedObjects
in interface org.eclipse.emf.edit.command.OverrideableCommand
doGetAffectedObjects
in class org.eclipse.emf.edit.command.AbstractOverrideableCommand
public boolean doCanExecute()
doCanExecute
in interface org.eclipse.emf.edit.command.OverrideableCommand
doCanExecute
in class org.eclipse.emf.edit.command.AbstractOverrideableCommand
public static ABuildProjection findBuilderOf(SContext context, SProjection proj)
public void doExecute()
doExecute
in interface org.eclipse.emf.edit.command.OverrideableCommand
doExecute
in class org.eclipse.emf.edit.command.AbstractOverrideableCommand
protected void createSpaceBuilder(SProjection proj, ABuild builder)
public void doRedo()
doRedo
in interface org.eclipse.emf.edit.command.OverrideableCommand
doRedo
in class org.eclipse.emf.edit.command.AbstractOverrideableCommand
public void doUndo()
doUndo
in interface org.eclipse.emf.edit.command.OverrideableCommand
doUndo
in class org.eclipse.emf.edit.command.AbstractOverrideableCommand
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |