Class PathVariableResolver
- java.lang.Object
-
- org.eclipse.core.resources.variableresolvers.PathVariableResolver
-
public abstract class PathVariableResolver extends Object
An interface that variable providers should implement in order to extends the default path variable list used to resolve relative locations of linked resources.- Since:
- 3.6
-
-
Constructor Summary
Constructors Constructor Description PathVariableResolver()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract String
getValue(String variable, IResource resource)
Returns a variable valueString[]
getVariableNames(String variable, IResource resource)
This method can return a list of possible variables resolved by this resolver.
-
-
-
Method Detail
-
getVariableNames
public String[] getVariableNames(String variable, IResource resource)
This method can return a list of possible variables resolved by this resolver.This default implementation always returns
null
. Subclasses should override to provide custom extensions.- Parameters:
variable
- The current variable name.resource
- The resource that the variable is being resolved for.- Returns:
- the list of supported variables
-
-