public class AIDAPlugin
extends org.freehep.application.studio.Plugin
implements org.freehep.application.studio.StudioListener, org.freehep.jas.services.FileHandler, org.freehep.jas.services.URLHandler, org.freehep.jas.services.PlotterProvider, org.freehep.jas.plugin.xmlio.XMLPluginIO, org.freehep.jas.services.PreferencesTopic
This plugin implements PlotterProvider
that creates plotters (instances of
AIDAPlot
) for plotting objects of types IBaseHistogram,
IDataPointSet, and IFunction. It also registers an instance of
AIDAPlotAdapter
as a PlotterAdapter
for converting objects of these
types into instances of JAS3DataSource
.
Modifier and Type | Class and Description |
---|---|
static class |
AIDAPlugin.JASAnalysisFactory |
Constructor and Description |
---|
AIDAPlugin() |
Modifier and Type | Method and Description |
---|---|
boolean |
accept(File file) |
boolean |
accept(URL url) |
hep.aida.ref.tree.Tree |
aidaMasterTree() |
boolean |
apply(JComponent panel) |
void |
checkForChildrenForNode(org.freehep.jas.plugin.tree.FTreePath path) |
JComponent |
component() |
org.freehep.jas.services.Plotter |
create() |
Object |
findInTree(org.freehep.jas.plugin.tree.FTreePath path,
Class clazz) |
String |
fullPath(org.freehep.jas.plugin.tree.FTreePath path) |
FileFilter |
getFileFilter() |
File |
getLastDir() |
String |
getMountPointName(String name) |
void |
handleEvent(EventObject event) |
protected void |
init() |
boolean |
isShowNamesAndTitles() |
void |
openFile(File file) |
void |
openURL(URL url) |
String[] |
path() |
org.freehep.jas.plugin.tree.FTreePath |
pathForManagedObject(hep.aida.IManagedObject obj) |
protected void |
postInit() |
int |
restore(int level,
org.freehep.xml.io.XMLIOManager manager,
org.jdom.Element el) |
void |
save(org.freehep.xml.io.XMLIOManager manager,
org.jdom.Element el) |
void |
setLastDir(File dir) |
boolean |
supports(Class klass) |
org.freehep.jas.plugin.tree.FTree |
tree() |
protected void init() throws SAXException, IOException
init
in class org.freehep.application.studio.Plugin
SAXException
IOException
protected void postInit()
postInit
in class org.freehep.application.studio.Plugin
public FileFilter getFileFilter()
getFileFilter
in interface org.freehep.jas.services.FileHandler
public boolean accept(File file) throws IOException
accept
in interface org.freehep.jas.services.FileHandler
IOException
public void openFile(File file) throws IOException
openFile
in interface org.freehep.jas.services.FileHandler
IOException
public boolean accept(URL url) throws IOException
accept
in interface org.freehep.jas.services.URLHandler
IOException
public void openURL(URL url) throws IOException
openURL
in interface org.freehep.jas.services.URLHandler
IOException
public org.freehep.jas.services.Plotter create()
create
in interface org.freehep.jas.services.PlotterProvider
public boolean supports(Class klass)
supports
in interface org.freehep.jas.services.PlotterProvider
public boolean apply(JComponent panel)
apply
in interface org.freehep.jas.services.PreferencesTopic
public JComponent component()
component
in interface org.freehep.jas.services.PreferencesTopic
public String[] path()
path
in interface org.freehep.jas.services.PreferencesTopic
public int restore(int level, org.freehep.xml.io.XMLIOManager manager, org.jdom.Element el)
restore
in interface org.freehep.jas.plugin.xmlio.XMLPluginIO
public void save(org.freehep.xml.io.XMLIOManager manager, org.jdom.Element el)
save
in interface org.freehep.jas.plugin.xmlio.XMLPluginIO
public void handleEvent(EventObject event)
handleEvent
in interface org.freehep.application.studio.StudioListener
public hep.aida.ref.tree.Tree aidaMasterTree()
public org.freehep.jas.plugin.tree.FTree tree()
public org.freehep.jas.plugin.tree.FTreePath pathForManagedObject(hep.aida.IManagedObject obj)
public void checkForChildrenForNode(org.freehep.jas.plugin.tree.FTreePath path)
public String fullPath(org.freehep.jas.plugin.tree.FTreePath path)
public boolean isShowNamesAndTitles()
public File getLastDir()
public void setLastDir(File dir)
Copyright © 2019. All rights reserved.