
DataSourceControllerFactory |
org.kepler.objectmanager.data.DataSourceControllerFactory |
This is attribute that produces a custom node controller for Data Sources.
This class produces a node controller that is customized in
order to add the "Get metadata" menu.
To use this class, just insert it as an attribute inside
any Ptolemy II object, and then right clicking on the icon for
that object will result in the use of the controller specified
here. The instance by convention will be named "_controllerFactory",
but the only reason to enforce this is that only the first such
controller factory found as an attribute will be used.
It is a singleton, so placing it any container will replace any
previous controller factory with the same name.
Author(s): Matthew Jones
Version:$Id: DataSourceControllerFactory.java,v 1.1 2005/07/06 02:49:46 zhu Exp $
Pt.Proposed Rating:Red (mbj)
Pt.Accepted Rating:Red (mbj)