1 /*******************************************************************************
2 * Copyright (c) 2000, 2003 IBM Corporation and others.
3 * All rights reserved. This program and the accompanying materials
4 * are made available under the terms of the Common Public License v1.0
5 * which accompanies this distribution, and is available at
6 * http://www.eclipse.org/legal/cpl-v10.html
9 * IBM Corporation - initial API and implementation
10 *******************************************************************************/
11 package net.sourceforge.phpdt.internal.ui.viewsupport;
13 import org.eclipse.core.resources.IResource;
16 * Can be added to a ProblemMarkerManager to get notified about problem marker
17 * changes. Used to update error ticks.
19 public interface IProblemChangedListener {
22 * Called when problems changed. This call is posted in an aynch exec,
23 * therefore passed resources must not exist.
25 * @param changedElements
26 * A set with elements of type <code>IResource</code> that
27 * describe the resources that had an problem change.
28 * @param isMarkerChange
29 * If set to <code>true</code>, the change was a marker
30 * change, if <code>false</code>, the change came from an
31 * annotation model modification.
33 void problemsChanged(IResource[] changedResources, boolean isMarkerChange);