org.eclipse.uml2.common.edit.command
Class SubsetSupersetReplaceCommand

java.lang.Object
  extended by org.eclipse.emf.common.command.AbstractCommand
      extended by org.eclipse.emf.common.command.CompoundCommand
          extended by org.eclipse.uml2.common.edit.command.SubsetSupersetCommand
              extended by org.eclipse.uml2.common.edit.command.SubsetSupersetReplaceCommand
All Implemented Interfaces:
org.eclipse.emf.common.command.Command

public class SubsetSupersetReplaceCommand
extends SubsetSupersetCommand


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  java.util.Collection<?> collection
           
protected  java.lang.Object value
           
 
Fields inherited from class org.eclipse.uml2.common.edit.command.SubsetSupersetCommand
domain, feature, owner, subsetFeatures, subsetSupersetCommand, supersetFeatures
 
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
SubsetSupersetReplaceCommand(org.eclipse.emf.edit.domain.EditingDomain domain, org.eclipse.emf.ecore.EObject owner, org.eclipse.emf.ecore.EStructuralFeature feature, org.eclipse.emf.ecore.EStructuralFeature[] supersetFeatures, org.eclipse.emf.ecore.EStructuralFeature[] subsetFeatures, java.lang.Object value, java.util.Collection<?> collection)
           
 
Method Summary
 void execute()
           
 
Methods inherited from class org.eclipse.uml2.common.edit.command.SubsetSupersetCommand
prepare
 
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, toString, 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

value

protected final java.lang.Object value

collection

protected final java.util.Collection<?> collection
Constructor Detail

SubsetSupersetReplaceCommand

public SubsetSupersetReplaceCommand(org.eclipse.emf.edit.domain.EditingDomain domain,
                                    org.eclipse.emf.ecore.EObject owner,
                                    org.eclipse.emf.ecore.EStructuralFeature feature,
                                    org.eclipse.emf.ecore.EStructuralFeature[] supersetFeatures,
                                    org.eclipse.emf.ecore.EStructuralFeature[] subsetFeatures,
                                    java.lang.Object value,
                                    java.util.Collection<?> collection)
Method Detail

execute

public void execute()
Specified by:
execute in interface org.eclipse.emf.common.command.Command
Overrides:
execute in class SubsetSupersetCommand

Copyright 2003, 2007 IBM Corporation and others.
All Rights Reserved.