com.bbn.swede.tools
Class ToolsPlugin

java.lang.Object
  extended byPlugin
      extended bycom.bbn.swede.tools.ToolsPlugin

public class ToolsPlugin
extends Plugin

Plug-in class for com.bbn.swede.tools. Contains convenience methods for working with SWeDE tools.

Author:
jlerner
See Also:
Serialized Form

Field Summary
protected static IExtension[] _extensions
          Array of extenders of com.bbn.swede.tools.codeGenerator.
static String S_CODEGENERATOR_ID
          ID string for the code generator extension point.
static String S_SCHEMAGEN_ID
          ID string for the Schemagen code generator.
 
Constructor Summary
ToolsPlugin()
          Creates a new Tools plug-in and sets it as the singleton instance.
 
Method Summary
 IMenuManager getCodeGeneratorMenu()
          Provides access to the code generation menu, which is populated with all extenders of the com.bbn.swede.codeGenerator extension point.
static String getID()
          Retrieves the plugin's ID from the resource bundle.
static Plugin getPlugin()
          Retrieves the one and only instance of the plugin.
static ToolsPlugin getToolsPlugin()
          Retrieves the one and only instance of ToolsPlugin.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

S_SCHEMAGEN_ID

public static final String S_SCHEMAGEN_ID
ID string for the Schemagen code generator.

See Also:
Constant Field Values

S_CODEGENERATOR_ID

public static final String S_CODEGENERATOR_ID
ID string for the code generator extension point.

See Also:
Constant Field Values

_extensions

protected static IExtension[] _extensions
Array of extenders of com.bbn.swede.tools.codeGenerator.

Constructor Detail

ToolsPlugin

public ToolsPlugin()
Creates a new Tools plug-in and sets it as the singleton instance.

Method Detail

getCodeGeneratorMenu

public IMenuManager getCodeGeneratorMenu()
Provides access to the code generation menu, which is populated with all extenders of the com.bbn.swede.codeGenerator extension point.

Returns:
The code generator menu

getPlugin

public static Plugin getPlugin()
Retrieves the one and only instance of the plugin.

Returns:
The singleton instance

getToolsPlugin

public static ToolsPlugin getToolsPlugin()
Retrieves the one and only instance of ToolsPlugin.

Returns:
The singleton instance, cast as a ToolsPlugin

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.