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

java.lang.Object
  extended byorg.eclipse.emf.common.command.AbstractCommand
      extended byorg.eclipse.emf.common.command.CompoundCommand
          extended byorg.eclipse.uml2.common.edit.command.SupersetCommand
All Implemented Interfaces:
Command
Direct Known Subclasses:
SupersetRemoveCommand, SupersetReplaceCommand, SupersetSetCommand

public abstract class SupersetCommand
extends CompoundCommand


Nested Class Summary
 
Nested classes inherited from class org.eclipse.emf.common.command.AbstractCommand
AbstractCommand.NonDirtying
 
Field Summary
protected  EditingDomain domain
           
protected  EStructuralFeature feature
           
protected  EObject owner
           
protected  EStructuralFeature[] subsetFeatures
           
protected  Command supersetCommand
           
 
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
protected SupersetCommand(EditingDomain domain, EObject owner, EStructuralFeature feature, EStructuralFeature[] subsetFeatures, Command supersetCommand)
           
 
Method Summary
 void execute()
           
protected  boolean 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

domain

protected final EditingDomain domain

owner

protected final EObject owner

feature

protected final EStructuralFeature feature

subsetFeatures

protected final EStructuralFeature[] subsetFeatures

supersetCommand

protected final Command supersetCommand
Constructor Detail

SupersetCommand

protected SupersetCommand(EditingDomain domain,
                          EObject owner,
                          EStructuralFeature feature,
                          EStructuralFeature[] subsetFeatures,
                          Command supersetCommand)
Method Detail

execute

public void execute()
See Also:
Command.execute()

prepare

protected boolean prepare()
See Also:
AbstractCommand.prepare()

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