Package org.eclipse.ui.editors.text
Interface ILocationProvider
-
public interface ILocationProviderThis class gets the location for a given object.In order to provided backward compatibility for clients of
ILocationProvider, extension interfaces are used to provide a means of evolution. The following extension interfaces exist:ILocationProviderExtensionsince version 3.3 allowing to get the location asURI.
- Since:
- 3.0
- See Also:
ILocationProviderExtension
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IPathgetPath(Object element)Returns the location of the given object ornull.
-
-
-
Method Detail
-
getPath
IPath getPath(Object element)
Returns the location of the given object ornull.The provided location is either a full path of a workspace resource or an absolute path in the local file system.
- Parameters:
element- the object for which to get the location- Returns:
- the location of the given object or
null
-
-