org.opensourcephysics.tools
Class Toolbox

java.lang.Object
  extended by org.opensourcephysics.tools.Toolbox

public class Toolbox
extends java.lang.Object

Toolbox stores tools that can exchange data using the Tool interface.

Version:
0.1
Author:
Wolfgang Christian and Doug Brown

Field Summary
protected static int allowRMI
           
protected static java.rmi.registry.Registry registry
           
protected static java.util.Map<java.lang.String,Tool> tools
           
 
Constructor Summary
protected Toolbox()
           
 
Method Summary
static boolean addRMITool(java.lang.String name, Tool tool)
           
static void addTool(java.lang.String name, Tool tool)
           
static Tool getTool(java.lang.String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

tools

protected static java.util.Map<java.lang.String,Tool> tools

registry

protected static java.rmi.registry.Registry registry

allowRMI

protected static int allowRMI
Constructor Detail

Toolbox

protected Toolbox()
Method Detail

addTool

public static void addTool(java.lang.String name,
                           Tool tool)

addRMITool

public static boolean addRMITool(java.lang.String name,
                                 Tool tool)

getTool

public static Tool getTool(java.lang.String name)