KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > ltk > core > refactoring > UndoManagerAdapter


1 /*******************************************************************************
2  * Copyright (c) 2000, 2006 IBM Corporation and others.
3  * All rights reserved. This program and the accompanying materials
4  * are made available under the terms of the Eclipse Public License v1.0
5  * which accompanies this distribution, and is available at
6  * http://www.eclipse.org/legal/epl-v10.html
7  *
8  * Contributors:
9  * IBM Corporation - initial API and implementation
10  *******************************************************************************/

11 package org.eclipse.ltk.core.refactoring;
12
13 /**
14  * This adapter class provides default implementations for the
15  * methods defined by the {@link IUndoManagerListener} interface.
16  * <p>
17  * This class may be subclassed by clients.
18  * </p>
19  * @since 3.0
20  */

21 public class UndoManagerAdapter implements IUndoManagerListener {
22
23     /**
24      * {@inheritDoc}
25      */

26     public void undoStackChanged(IUndoManager manager) {
27     }
28     
29     /**
30      * {@inheritDoc}
31      */

32     public void redoStackChanged(IUndoManager manager) {
33     }
34
35     /**
36      * {@inheritDoc}
37      */

38     public void aboutToPerformChange(IUndoManager manager, Change change) {
39     }
40
41     /**
42      * {@inheritDoc}
43      */

44     public void changePerformed(IUndoManager manager, Change change) {
45     }
46 }
47
48
Popular Tags