Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 


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

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.SupersetCommand
All Implemented Interfaces:
org.eclipse.emf.common.command.Command
Direct Known Subclasses:
SupersetRemoveCommand, SupersetReplaceCommand, SupersetSetCommand

public abstract class SupersetCommand
extends org.eclipse.emf.common.command.CompoundCommand


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.edit.domain.EditingDomain domain
           
protected  org.eclipse.emf.ecore.EStructuralFeature feature
           
protected  org.eclipse.emf.ecore.EObject owner
           
protected  org.eclipse.emf.ecore.EStructuralFeature[] subsetFeatures
           
protected  org.eclipse.emf.common.command.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 (org.eclipse.emf.edit.domain.EditingDomain domain, org.eclipse.emf.ecore.EObject owner, org.eclipse.emf.ecore.EStructuralFeature feature, org.eclipse.emf.ecore.EStructuralFeature[] subsetFeatures, org.eclipse.emf.common.command.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 org.eclipse.emf.edit.domain.EditingDomain domain

owner

protected final org.eclipse.emf.ecore.EObject owner

feature

protected final org.eclipse.emf.ecore.EStructuralFeature feature

subsetFeatures

protected final org.eclipse.emf.ecore.EStructuralFeature[] subsetFeatures

supersetCommand

protected final org.eclipse.emf.common.command.Command supersetCommand
Constructor Detail

SupersetCommand

protected SupersetCommand(org.eclipse.emf.edit.domain.EditingDomain domain,
                          org.eclipse.emf.ecore.EObject owner,
                          org.eclipse.emf.ecore.EStructuralFeature feature,
                          org.eclipse.emf.ecore.EStructuralFeature[] subsetFeatures,
                          org.eclipse.emf.common.command.Command supersetCommand)
Method Detail

execute

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

prepare

protected boolean prepare()
Overrides:
prepare in class org.eclipse.emf.common.command.CompoundCommand

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


 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire