blob: eba510215af9f83d667433f3ab99725d1022994c [file] [log] [blame]
/**********************************************************************
Copyright (c) 2000, 2003 IBM Corp. 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;
/**
* @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>
*
* @return the location of the given object or <code>null</code>
*/
IPath getPath(Object element);
}