org.metaabm.commands
Class AddAgentActsCommand
java.lang.Object
AbstractOverrideableCommand
org.metaabm.commands.AddAgentActsCommand
- Direct Known Subclasses:
- AddAgentActsLoaderCommand
public class AddAgentActsCommand
- extends AbstractOverrideableCommand
Creates acts on agent creation.
- Author:
- milesparker
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
command
protected CompoundCommand command
parent
SContext parent
agents
java.util.Collection<?> agents
AddAgentActsCommand
public AddAgentActsCommand(EditingDomain domain,
SContext parent,
java.util.Collection<?> agents)
doGetAffectedObjects
public java.util.Collection<?> doGetAffectedObjects()
doCanExecute
public boolean doCanExecute()
findBuilderFor
public static ABuild findBuilderFor(SAgent agent)
findBuilderOf
public static ABuild findBuilderOf(SContext agent)
findCreatorFor
public static ACreateAgents findCreatorFor(SAgent agent)
findCreatorOf
public static ACreateAgents findCreatorOf(SContext context,
SAgent agent)
doExecute
public void doExecute()
createAgentConstructor
protected void createAgentConstructor(SAgent agent,
ABuild builder)
doRedo
public void doRedo()
doUndo
public void doUndo()
Copyright (C) 2007-2009 Metascape, LLC, 2009 Miles Parker, 2006-2007 Argonne National Labs, and Contributors