|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.freehep.application.studio.Plugin
org.freehep.jas.plugin.tree.FTreePlugin
public class FTreePlugin
Field Summary |
---|
Fields inherited from interface org.freehep.jas.plugin.xmlio.XMLPluginIO |
---|
RESTORE_DATA, RESTORE_DONE, RESTORE_FINALIZE, RESTORE_PAGES, RESTORE_PLOT_DATA_SOURCES, RESTORE_PLOTS_IN_PAGES, RESTORE_TREE_OBJECTS, RESTORE_TREE_STRUCTURE |
Constructor Summary | |
---|---|
FTreePlugin()
|
Method Summary | |
---|---|
boolean |
apply(JComponent panel)
Called when the user pushes the apply button in the preferences dialog. |
JComponent |
component()
Get the component to display in the preferences dialog |
protected void |
init()
|
String[] |
namesOfExistingTrees()
Get the names of the exising FTrees. |
String[] |
path()
Specifies where in the preferences tree this item should appear. |
int |
restore(int level,
org.freehep.xml.io.XMLIOManager manager,
org.jdom.Element el)
level is the level at which the restore should be performed. |
void |
save(org.freehep.xml.io.XMLIOManager manager,
org.jdom.Element el)
|
FTree |
tree()
Get the provider's default FTree. |
FTree |
tree(String name)
Get an FTree by name. |
FTreeNodeAdapterRegistry |
treeNodeAdapterRegistry()
Get the FTreeNodeAdapterRegistry. |
Methods inherited from class org.freehep.application.studio.Plugin |
---|
addMenu, applicationVisible, canBeShutDown, getApplication, postInit, shutdown |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FTreePlugin()
Method Detail |
---|
protected void init() throws SAXException, IOException
init
in class org.freehep.application.studio.Plugin
SAXException
IOException
public FTreeNodeAdapterRegistry treeNodeAdapterRegistry()
FTreeProvider
treeNodeAdapterRegistry
in interface FTreeProvider
public String[] namesOfExistingTrees()
FTreeProvider
namesOfExistingTrees
in interface FTreeProvider
public FTree tree()
FTreeProvider
tree
in interface FTreeProvider
public FTree tree(String name)
FTreeProvider
tree
in interface FTreeProvider
name
- The name of the FTree.
public int restore(int level, org.freehep.xml.io.XMLIOManager manager, org.jdom.Element el)
XMLPluginIO
restore
in interface XMLPluginIO
public void save(org.freehep.xml.io.XMLIOManager manager, org.jdom.Element el)
save
in interface XMLPluginIO
public boolean apply(JComponent panel)
PreferencesTopic
apply
in interface PreferencesTopic
panel
- The component currently being displayed
PreferencesTopic.component()
public JComponent component()
PreferencesTopic
component
in interface PreferencesTopic
public String[] path()
PreferencesTopic
path
in interface PreferencesTopic
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |