
LibraryPaneFactory |
org.kepler.gui.LibraryPaneFactory |
This class is an attribute that creates a tableau to view a specified
effigy. When a model is opened, if the top-level of that model contains this
attribute or a subclass, then that attribute handles constructing a tableau.
Otherwise, the configuration specifies which tableau is used. A
configuration contains an instance of this class, and uses it to create a
tableau for a model represented by an effigy. This base class assumes that
it contains other tableau factories. Its createTableau() method defers to
each contained factory, in the order in which they were added, until one is
capable of creating a tableau for the specified effigy. Subclasses of this
class will usually be inner classes of a Tableau, and will create the
Tableau, or might themselves be aggregates of instances of TableauFactory.
When there are multiple distinct TableauFactory classes that are capable of
providing views on the same effigy, then instances of these factories should
be aggregated into a single factory contained herein. Those instances can be
presented as alternative views of the data when any single view is opened.
Author(s): Steve Neuendorffer and Edward A. Lee
Version:$Id: LibraryPaneFactory.java,v 1.2 2004/08/17 18:22:42 berkley Exp
$