Where Am I? Class Hierarchy All Classes All Fields and Methods

Class com.ibm.ivj.util.base.ToolEnv

java.lang.Object
   |
   +----com.ibm.ivj.util.base.ToolEnv

public class ToolEnv
extends Object

This is a "bootstrap" class used by a tool to gain access to the VisualAge for Java API services. If successful loading the native library provided within VisualAge for Java, the caller is assumed to be running "inside" the IDE.


Constructor Index

ToolEnv()

Method Index

connectToWorkspace()
Establish a "connection" to the VisualAge for Java workspace.
hostedByVAJava()
Determine whether the caller is executing within the VisualAge for Java IDE environment, or in a external process

Constructors

ToolEnv
 public ToolEnv()

Methods

connectToWorkspace
 public static Workspace connectToWorkspace()
Establish a "connection" to the VisualAge for Java workspace. This is typically the first API call made by a tool.

Returns:
com.ibm.ivj.util.base.Workspace or null (unable to connect)
hostedByVAJava
 public static boolean hostedByVAJava()
Determine whether the caller is executing within the VisualAge for Java IDE environment, or in a external process

Returns:
boolean

Where Am I? Class Hierarchy All Classes All Fields and Methods