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
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Mail Systems
Eclipse Documentation

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




Eclipse JDT
Release 3.5

Class ClasspathVariableInitializer

  extended by 

public abstract class ClasspathVariableInitializer
extends Object

Abstract base implementation of all classpath variable initializers. Classpath variable initializers are used in conjunction with the "org.eclipse.jdt.core.classpathVariableInitializer" extension point.

Clients should subclass this class to implement a specific classpath variable initializer. The subclass must have a public 0-argument constructor and a concrete implementation of initialize.

See Also:

Constructor Summary
ClasspathVariableInitializer ()
          Creates a new classpath variable initializer.
Method Summary
abstract  void initialize ( String variable)
          Binds a value to the workspace classpath variable with the given name, or fails silently if this cannot be done.
Methods inherited from class java.lang. Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail


public ClasspathVariableInitializer()
Creates a new classpath variable initializer.

Method Detail


public abstract void initialize(
String variable)
Binds a value to the workspace classpath variable with the given name, or fails silently if this cannot be done.

A variable initializer is automatically activated whenever a variable value is needed and none has been recorded so far. The implementation of the initializer can set the corresponding variable using JavaCore#setClasspathVariable.

variable - the name of the workspace classpath variable that requires a binding
See Also:
JavaCore.getClasspathVariable(String), JavaCore.setClasspathVariable(String, org.eclipse.core.runtime.IPath, org.eclipse.core.runtime.IProgressMonitor), JavaCore.setClasspathVariables(String[], org.eclipse.core.runtime.IPath[], org.eclipse.core.runtime.IProgressMonitor)

Eclipse JDT
Release 3.5

Copyright (c) IBM Corp. and others 2000, 2008. All Rights Reserved.

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