Skip to main content
aboutsummaryrefslogblamecommitdiffstats
blob: a1b397826620735f8980ab14a1f0cb707da05a12 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
                                                                       
                                                    











                                                                       
 
   


                                           





                                                                         
              

                                                                                 
               
           
                                                                  



                                                                        
/**********************************************************************
Copyright (c) 2000, 2004 IBM Corporation and others.
All rights reserved. This program and the accompanying materials
are made available under the terms of the Common Public License v1.0
which accompanies this distribution, and is available at
http://www.eclipse.org/legal/cpl-v10.html

Contributors:
	IBM Corporation - Initial implementation
**********************************************************************/
package org.eclipse.ui.editors.text;

import org.eclipse.core.runtime.IPath;


/**
 * This class gets the location for a given
 * object.
 * 
 * @since 3.0
 */
public interface ILocationProvider {
	
	/**
	 * Returns the location of the given object or <code>null</code>.
	 * <p>
	 * The provided location is either a full path of a workspace resource or
	 * an absolute path in the local file system.
	 * </p>
	 * 
	 * @param element the object for which to get the location
	 * @return the location of the given object or <code>null</code>
	 */
	IPath getPath(Object element);
}

Back to the top