KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > jdt > internal > ui > viewsupport > IProblemChangedListener


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.viewsupport;
12
13 import org.eclipse.core.resources.IResource;
14
15 /**
16  * Can be added to a ProblemMarkerManager to get notified about problem
17  * marker changes. Used to update error ticks.
18  */

19 public interface IProblemChangedListener {
20     
21     /**
22      * Called when problems changed. This call is posted in an aynch exec, therefore passed
23      * resources must not exist.
24      * @param changedResources A set with elements of type <code>IResource</code> that
25      * describe the resources that had an problem change.
26      * @param isMarkerChange If set to <code>true</code>, the change was a marker change, if
27      * <code>false</code>, the change came from an annotation model modification.
28      */

29     void problemsChanged(IResource[] changedResources, boolean isMarkerChange);
30     
31 }
32
Popular Tags