org.metaabm.commands
Class RemoveMultiValueStateCommand

java.lang.Object
  extended by org.eclipse.emf.common.command.AbstractCommand
      extended by org.eclipse.emf.common.command.CompoundCommand
          extended by org.metaabm.commands.MultiValueCommand
              extended by org.metaabm.commands.RemoveMultiValueStateCommand
All Implemented Interfaces:
org.eclipse.emf.common.command.Command

public class RemoveMultiValueStateCommand
extends MultiValueCommand
implements org.eclipse.emf.common.command.Command

When a sink with a multi-value function is removed, remove any auto-created attributes.

Author:
milesparker

Nested Class Summary
 
Nested classes/interfaces inherited from class org.eclipse.emf.common.command.AbstractCommand
org.eclipse.emf.common.command.AbstractCommand.NonDirtying
 
Field Summary
 
Fields inherited from class org.eclipse.emf.common.command.CompoundCommand
LAST_COMMAND_ALL, MERGE_COMMAND_ALL
 
Constructor Summary
RemoveMultiValueStateCommand(org.eclipse.emf.edit.domain.EditingDomain domain, org.metaabm.act.ASink sink, java.util.List<org.metaabm.act.AInput> inputs, java.util.Collection<?> collection, int index)
           
 
Method Summary
 
Methods inherited from class org.metaabm.commands.MultiValueCommand
addAttribute, addAttributesCross, addAttributesSingle, removeMultiFunction
 
Methods inherited from class org.eclipse.emf.common.command.CompoundCommand
append, appendAndExecute, appendIfCanExecute, canUndo, dispose, execute, getAffectedObjects, getCommandList, getDescription, getLabel, getResult, getResultIndex, isEmpty, redo, toString, undo, unwrap
 
Methods inherited from class org.eclipse.emf.common.command.AbstractCommand
canExecute, chain, setDescription, setLabel
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.eclipse.emf.common.command.Command
canExecute, canUndo, chain, dispose, execute, getAffectedObjects, getDescription, getLabel, getResult, redo, undo
 

Constructor Detail

RemoveMultiValueStateCommand

public RemoveMultiValueStateCommand(org.eclipse.emf.edit.domain.EditingDomain domain,
                                    org.metaabm.act.ASink sink,
                                    java.util.List<org.metaabm.act.AInput> inputs,
                                    java.util.Collection<?> collection,
                                    int index)