Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 


Eclipse Platform
Release 3.5

org.eclipse.core.variables
Interface IStringVariable

All Known Subinterfaces:
IDynamicVariable, IValueVariable

public interface IStringVariable

A variable that can be referenced in an expression, which resolves to a string value. Variables are referenced in expressions via their name, in the following format.

 ${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.

Since:
3.0
Restriction:
This interface is not intended to be implemented by clients.

Method Summary
  String getDescription ()
          Returns a human readable description of this variable, possibly null
  String getName ()
          Returns the name of this variable.
 

Method Detail

getName

String getName()
Returns the name of this variable. A variable is uniquely identified by its name.

Returns:
variable name

getDescription

String getDescription()
Returns a human readable description of this variable, possibly null

Returns:
a description of this variable, or null if none

Eclipse Platform
Release 3.5

Guidelines for using Eclipse APIs.

Copyright (c) Eclipse contributors and others 2000, 2008. All rights reserved.


 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire