com.bbn.swede.library.kazuki
Class KazukiPlugin

java.lang.Object
  extended byPlugin
      extended bycom.bbn.swede.library.kazuki.KazukiPlugin

public class KazukiPlugin
extends Plugin

Plugin class for com.bbn.swede.library.kazuki. Contains convenience methods for working with the Kazuki classpath container.

See Also:
Serialized Form

Constructor Summary
KazukiPlugin()
          Creates a new KazukiPlugin and sets it as the singleton instance.
 
Method Summary
static void addKazukiToClasspath(IJavaProject project)
          Adds the Kazuki container to a Java project's classpath.
static String getID()
          Retrieves the plugin's ID from the resource bundle.
 String[] getKazukiLibraryLocations()
          Compiles a list of .jar file locations for the Kazuki library.
static KazukiPlugin getKazukiPlugin()
          Provides access to the one and only instance of KazukiPlugin.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KazukiPlugin

public KazukiPlugin()
Creates a new KazukiPlugin and sets it as the singleton instance.

Method Detail

getKazukiPlugin

public static KazukiPlugin getKazukiPlugin()
Provides access to the one and only instance of KazukiPlugin.

Returns:
The singleton instance

getKazukiLibraryLocations

public String[] getKazukiLibraryLocations()
Compiles a list of .jar file locations for the Kazuki library.

Returns:
An array of strings specifying filesystem paths for each .jar file to be included in the Kazuki container

addKazukiToClasspath

public static void addKazukiToClasspath(IJavaProject project)
                                 throws JavaModelException
Adds the Kazuki container to a Java project's classpath. If Kazuki is already there, nothing happens.

Parameters:
project - The project to receive the Kazuki classpath container
Throws:
JavaModelException - if an error occurs modifying the classpath

getID

public static String getID()
Retrieves the plugin's ID from the resource bundle.

Returns:
The plugin ID


Copyright © 2004-2005 BBN Technologies. All Rights Reserved.