KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > ui > IMarkerResolutionGenerator


1 /*******************************************************************************
2  * Copyright (c) 2000, 2006 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.ui;
12
13 import org.eclipse.core.resources.IMarker;
14
15 /**
16  * Creates resolutions for a given marker.
17  * When run, a resolution would typically eliminate
18  * the need for the marker.
19  *
20  * @since 2.0
21  */

22 public interface IMarkerResolutionGenerator {
23     /**
24      * Returns resolutions for the given marker (may
25      * be empty).
26      *
27      * @return resolutions for the given marker
28      */

29     public IMarkerResolution[] getResolutions(IMarker marker);
30 }
31
32
Popular Tags