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
17 * marker changes. Used to update error ticks.
19 public interface IProblemChangedListener {
22 * Called when problems changed. This call is posted in an aynch exec, therefore passed
23 * resources must not exist.
24 * @param changedElements 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.
29 void problemsChanged(IResource[] changedResources, boolean isMarkerChange);