public interface IStringVariable
${varname} or ${varname:argument}
A variable is identified by its name, and optionally accepts an argument. When an argument is present, a colon separates the variable name from its argument.
Variables can be contributed by extensions or programmatically. There are two kinds of variables.
IValueVariable
- variables that have a value (with getter and setter), and
accept no arguments. The value of this type of variable is resolved at the time
its value is set via its setter API.IDynamicVariable
- variables whose value is resolved at the time
a string substitution is performed by a contributed resolver. Dynamic variables
may accept an argument.Modifier and Type | Method and Description |
---|---|
String |
getDescription()
Returns a human readable description of this variable, possibly
null |
String |
getName()
Returns the name of this variable.
|
String getName()
String getDescription()
null
null
if none
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.