KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > jdt > internal > ui > text > java > IJavaReconcilingListener


1 /*******************************************************************************
2  * Copyright (c) 2000, 2005 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.jdt.internal.ui.text.java;
12
13 import org.eclipse.core.runtime.IProgressMonitor;
14
15 import org.eclipse.jdt.core.dom.CompilationUnit;
16
17
18 /**
19  * Interface of an object listening to Java reconciling.
20  *
21  * @since 3.0
22  */

23 public interface IJavaReconcilingListener {
24
25     /**
26      * Called before reconciling is started.
27      */

28     void aboutToBeReconciled();
29
30     /**
31      * Called after reconciling has been finished.
32      * @param ast the compilation unit AST or <code>null</code> if
33  * the working copy was consistent or reconciliation has been cancelled
34      * @param forced <code>true</code> iff this reconciliation was forced
35      * @param progressMonitor the progress monitor
36      */

37     void reconciled(CompilationUnit ast, boolean forced, IProgressMonitor progressMonitor);
38 }
39
Popular Tags