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

  




 

 


Eclipse Platform
Release 3.5

org.eclipse.core.commands.operations
Interface ICompositeOperation

All Superinterfaces:
IUndoableOperation
All Known Implementing Classes:
TriggeredOperations

public interface ICompositeOperation
extends IUndoableOperation

ICompositeOperation defines an undoable operation that is composed of child operations. Requests to execute, undo, or redo a composite result in the the execution, undo, or redo of the composite as a whole. Similarly, a request to dispose the composite should result in all child operations being disposed.

Since:
3.1

Method Summary
 void add ( IUndoableOperation operation)
           Add the specified operation as a child of this operation.
 void remove ( IUndoableOperation operation)
           Remove the specified operation from this operation.
 
Methods inherited from interface org.eclipse.core.commands.operations. IUndoableOperation
addContext, canExecute, canRedo, canUndo, dispose, execute, getContexts, getLabel, hasContext, redo, removeContext, undo
 

Method Detail

add

void add(
IUndoableOperation operation)

Add the specified operation as a child of this operation.

Parameters:
operation - the operation to be added. If the operation instance has already been added, this method will have no effect.

remove

void remove(
IUndoableOperation operation)

Remove the specified operation from this operation.

The composite operation should dispose the operation as part of removing it.

Parameters:
operation - the operation to be removed. The operation should be disposed by the receiver. This method will have no effect if the operation instance is not already a child.

Eclipse Platform
Release 3.5

Guidelines for using Eclipse APIs.

Copyright (c) Eclipse contributors and others 2000, 2008. All rights reserved.


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