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 7 * 8 * Contributors: 9 * IBM Corporation - initial API and implementation 10 *******************************************************************************/ 11 package org.eclipse.ant.internal.ui.editor.outline; 12 13 public interface IProblemRequestor { 14 15 /** 16 * Notification of a XML problem. 17 * 18 * @param problem IProblem - The discovered Java problem. 19 */ 20 void acceptProblem(IProblem problem); 21 22 /** 23 * Notification sent before starting the problem detection process. 24 * Typically, this would tell a problem collector to clear previously recorded problems. 25 */ 26 void beginReporting(); 27 28 /** 29 * Notification sent after having completed problem detection process. 30 * Typically, this would tell a problem collector that no more problems should be expected in this 31 * iteration. 32 */ 33 void endReporting(); 34 35 } 36