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.emf.transaction.util
Class ConditionalRedoCommand.Compound


java.lang.Object
  extended by 

org.eclipse.emf.common.command.AbstractCommand
      extended by 

org.eclipse.emf.common.command.CompoundCommand
          extended by 
org.eclipse.emf.transaction.util.ConditionalRedoCommand.Compound
All Implemented Interfaces:
Command, ConditionalRedoCommand
Direct Known Subclasses:
TriggerCommand
Enclosing interface:
ConditionalRedoCommand

public static class ConditionalRedoCommand.Compound
extends CompoundCommand
implements ConditionalRedoCommand

A conditionally redoable compound command.


Nested Class Summary
 
Nested classes/interfaces inherited from class org.eclipse.emf.common.command. AbstractCommand
AbstractCommand.NonDirtying
 
Nested classes/interfaces inherited from interface org.eclipse.emf.transaction.util. ConditionalRedoCommand
ConditionalRedoCommand.Compound
 
Field Summary
 
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
ConditionalRedoCommand.Compound ()
           
ConditionalRedoCommand.Compound (int resultIndex)
           
ConditionalRedoCommand.Compound (int resultIndex, List< Command> commandList)
           
ConditionalRedoCommand.Compound (int resultIndex, String label)
           
ConditionalRedoCommand.Compound (int resultIndex, String label, List< Command> commandList)
           
ConditionalRedoCommand.Compound (int resultIndex, String label, String description)
           
ConditionalRedoCommand.Compound (int resultIndex, String label, String description, List< Command> commandList)
           
ConditionalRedoCommand.Compound ( List< Command> commandList)
           
ConditionalRedoCommand.Compound ( String label)
           
ConditionalRedoCommand.Compound ( String label, List< Command> commandList)
           
ConditionalRedoCommand.Compound ( String label, String description)
           
ConditionalRedoCommand.Compound ( String label, String description, List< Command> commandList)
           
 
Method Summary
 boolean canRedo ()
          I can redo if none of my composed commands cannot redo.
  Command chain ( Command c)
          I am self-chaining.
 
Methods inherited from class org.eclipse.emf.common.command. CompoundCommand
append, appendAndExecute, appendIfCanExecute, canUndo, dispose, execute, getAffectedObjects, getCommandList, getDescription, getLabel, getMergedAffectedObjectsCollection, getMergedResultCollection, getResult, getResultIndex, isEmpty, prepare, redo, toString, undo, unwrap
 
Methods inherited from class org.eclipse.emf.common.command. AbstractCommand
canExecute, setDescription, setLabel
 
Methods inherited from class java.lang. Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.eclipse.emf.common.command. Command
canExecute, canUndo, dispose, execute, getAffectedObjects, getDescription, getLabel, getResult, redo, undo
 

Constructor Detail

ConditionalRedoCommand.Compound

public ConditionalRedoCommand.Compound()

ConditionalRedoCommand.Compound

public ConditionalRedoCommand.Compound(int resultIndex,
                                       
List<
Command> commandList)

ConditionalRedoCommand.Compound

public ConditionalRedoCommand.Compound(int resultIndex,
                                       
String label,
                                       
List<
Command> commandList)

ConditionalRedoCommand.Compound

public ConditionalRedoCommand.Compound(int resultIndex,
                                       
String label,
                                       
String description,
                                       
List<
Command> commandList)

ConditionalRedoCommand.Compound

public ConditionalRedoCommand.Compound(int resultIndex,
                                       
String label,
                                       
String description)

ConditionalRedoCommand.Compound

public ConditionalRedoCommand.Compound(int resultIndex,
                                       
String label)

ConditionalRedoCommand.Compound

public ConditionalRedoCommand.Compound(int resultIndex)

ConditionalRedoCommand.Compound

public ConditionalRedoCommand.Compound(
List<
Command> commandList)

ConditionalRedoCommand.Compound

public ConditionalRedoCommand.Compound(
String label,
                                       
List<
Command> commandList)

ConditionalRedoCommand.Compound

public ConditionalRedoCommand.Compound(
String label,
                                       
String description,
                                       
List<
Command> commandList)

ConditionalRedoCommand.Compound

public ConditionalRedoCommand.Compound(
String label,
                                       
String description)

ConditionalRedoCommand.Compound

public ConditionalRedoCommand.Compound(
String label)
Method Detail

canRedo

public boolean canRedo()
I can redo if none of my composed commands cannot redo.

Specified by:
canRedo in interface ConditionalRedoCommand
Returns:
false if any command that is a ConditionalRedoCommand cannot redo; true, otherwise

chain

public 
Command chain(
Command c)
I am self-chaining.

Specified by:
chain in interface Command
Overrides:
chain in class AbstractCommand

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


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