KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > ui > editors > text > ILocationProviderExtension


1 /*******************************************************************************
2  * Copyright (c) 2007 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.editors.text;
12
13 import java.net.URI JavaDoc;
14
15
16 /**
17  * Extension interface for {@link org.eclipse.ui.editors.text.ILocationProvider}. Adds
18  * ability to the location for a given object as URI.
19  *
20  * @since 3.3
21  */

22 public interface ILocationProviderExtension {
23
24     /**
25      * Returns the URI of the given object or <code>null</code>.
26      *
27      * @param element the object for which to get the location
28      * @return the URI of the given object or <code>null</code>
29      */

30     URI JavaDoc getURI(Object JavaDoc element);
31 }
32
Popular Tags