|
Eclipse Platform Release 3.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.core.resources.variableresolvers.PathVariableResolver
public abstract class PathVariableResolver
An interface that variable providers should implement in order to extends the default path variable list used to resolve relative locations of linked resources.
Constructor Summary | |
---|---|
PathVariableResolver()
|
Method Summary | |
---|---|
abstract String |
getValue(String variable,
IResource resource)
Returns a variable value |
String[] |
getVariableNames(String variable,
IResource resource)
This method can return a list of possible variables resolved by this resolver. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PathVariableResolver()
Method Detail |
---|
public String[] getVariableNames(String variable, IResource resource)
This default implementation always returns null
. Subclasses
should override to provide custom extensions.
variable
- The current variable name.resource
- The resource that the variable is being resolved for.
public abstract String getValue(String variable, IResource resource)
variable
- The current variable name.resource
- The resource that the variable is being resolved for.
|
Eclipse Platform Release 3.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) Eclipse contributors and others 2000, 2010. All rights reserved.