KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > ltk > core > refactoring > history > IRefactoringExecutionListener


1 /*******************************************************************************
2  * Copyright (c) 2005, 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.history;
12
13 import org.eclipse.ltk.core.refactoring.RefactoringCore;
14
15 /**
16  * Interface for refactoring execution listeners. Clients may register a
17  * refactoring execution listener with the {@link IRefactoringHistoryService}
18  * obtained by calling {@link RefactoringCore#getHistoryService()} in order to
19  * get informed about refactoring execution events.
20  * <p>
21  * Note: this interface is intended to be implemented by clients.
22  * </p>
23  *
24  * @see IRefactoringHistoryService
25  * @see RefactoringExecutionEvent
26  *
27  * @since 3.2
28  */

29 public interface IRefactoringExecutionListener {
30
31     /**
32      * Gets called if a refactoring execution event happened.
33      * <p>
34      * Implementors of this method should not rely on a fixed set of event
35      * types.
36      * </p>
37      * <p>
38      * The event object is valid only for the duration of this method.
39      * </p>
40      *
41      * @param event
42      * the refactoring execution event
43      */

44     public void executionNotification(RefactoringExecutionEvent event);
45 }
46
Popular Tags