|
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.Observable
org.freehep.util.commanddispatcher.CommandProcessor
hep.aida.ref.sql.JAS3Plugin.SQLTupleCommands
public class SQLTupleCommands
SQLTupleCommands
contains SQLTuple commands for JAS3 plugin of SQLTuple.
It uses directly AIDA ITuple
calls so it profits from SQLTuple
optimisation.
$Id: SQLTupleCommands.java,v 1.10 2007/09/26 07:58:51 hrivnac Exp $
$Log: SQLTupleCommands.java,v $
Revision 1.10 2007/09/26 07:58:51 hrivnac
cache savable fromjas menu
Revision 1.9 2007/05/23 16:38:44 hrivnac
logical connections for Plotter; better UML
Revision 1.8 2006/12/19 14:31:08 hrivnac
news added into WS
Revision 1.7 2006/04/22 12:05:27 hrivnac
help included in JAS plugin
Revision 1.6 2005/10/10 10:05:33 hrivnac
prepared for 1.0.2
Revision 1.5 2005/09/29 16:08:38 hrivnac
javadoc fixed
Revision 1.4 2005/09/29 14:31:32 hrivnac
clouds and profiles added
Revision 1.3 2005/09/29 13:02:39 hrivnac
histograms can be plotted in a different way in JAS3
Revision 1.2 2005/09/29 09:22:59 hrivnac
jas3 plugin improved
Revision 1.1 2005/09/28 22:49:55 hrivnac
added SQLTuple-aware projections
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.freehep.util.commanddispatcher.CommandProcessor |
---|
CommandProcessor.BooleanTarget, CommandProcessor.SimpleTarget |
Field Summary | |
---|---|
private Studio |
_app
|
private static String |
_homePageString
|
private PrintWriter |
_log
|
private PlotFactory |
_plotFactory
|
private SQLTuplePlugin |
_plugin
|
private FTree |
_tree
|
private SimpleWebBrowser |
_webBrowser
|
Constructor Summary | |
---|---|
SQLTupleCommands(SQLTuplePlugin plugin)
Initialise and connect to JAS3. |
Method Summary | |
---|---|
private ICloud |
cloud(boolean newPage,
boolean overlay,
boolean newPlot)
Project ITuple into ICloud . |
void |
enableHelpSQLTuple(CommandState state)
Enable Help. |
void |
enableProjector(CommandState state)
Enable EventSelector. |
void |
enableSaveCache(CommandState state)
Enable Save Cache. |
private IHistogram |
histogram(boolean newPage,
boolean overlay,
boolean newPlot)
Project ITuple into IHistogram . |
void |
onHelpSQLTuple()
Act on Help click. |
void |
onProjectCloudInCurrentRegion()
Project ICloud in Current Region. |
void |
onProjectCloudInNewPage()
Project ICloud in New Page. |
void |
onProjectCloudInNewRegion()
Project ICloud in New Region. |
void |
onProjectCloudOverlay()
Project ICloud Overlay. |
void |
onProjectHistogramInCurrentRegion()
Project IHistogram in Current Region. |
void |
onProjectHistogramInNewPage()
Project IHistogram in New Page. |
void |
onProjectHistogramInNewRegion()
Project IHistogram in New Region. |
void |
onProjectHistogramOverlay()
Project IHistogram Overlay. |
void |
onProjectProfileInCurrentRegion()
Project IProfile in Current Region. |
void |
onProjectProfileInNewPage()
Project IProfile in New Page. |
void |
onProjectProfileInNewRegion()
Project IProfile in New Region. |
void |
onProjectProfileOverlay()
Project IProfile Overlay. |
void |
onSaveCache()
Act on Save Cache click. |
private void |
plot(IBaseHistogram histogram,
boolean newPage,
boolean overlay,
boolean newPlot)
Plot IBaseHistogram according to selected options. |
private IProfile |
profile(boolean newPage,
boolean overlay,
boolean newPlot)
Project ITuple into IProfile . |
Methods inherited from class org.freehep.util.commanddispatcher.CommandProcessor |
---|
acceptCommand, acceptCommand, invoke, invokeCommand, invokeCommand, invokeCommand, invokeEnable, setChanged, setManager, translate |
Methods inherited from class java.util.Observable |
---|
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.freehep.util.commanddispatcher.CommandGroup |
---|
addObserver, deleteObserver |
Field Detail |
---|
private SQLTuplePlugin _plugin
private Studio _app
private FTree _tree
private PlotFactory _plotFactory
private PrintWriter _log
private SimpleWebBrowser _webBrowser
private static String _homePageString
Constructor Detail |
---|
public SQLTupleCommands(SQLTuplePlugin plugin)
plugin
- The connected SQLTuplePlugin
.Method Detail |
---|
public void onProjectHistogramInCurrentRegion()
IHistogram
in Current Region.
public void onProjectHistogramInNewRegion()
IHistogram
in New Region.
public void onProjectHistogramInNewPage()
IHistogram
in New Page.
public void onProjectHistogramOverlay()
IHistogram
Overlay.
public void onProjectCloudInCurrentRegion()
ICloud
in Current Region.
public void onProjectCloudInNewRegion()
ICloud
in New Region.
public void onProjectCloudInNewPage()
ICloud
in New Page.
public void onProjectCloudOverlay()
ICloud
Overlay.
public void onProjectProfileInCurrentRegion()
IProfile
in Current Region.
public void onProjectProfileInNewRegion()
IProfile
in New Region.
public void onProjectProfileInNewPage()
IProfile
in New Page.
public void onProjectProfileOverlay()
IProfile
Overlay.
public void onSaveCache()
public void enableSaveCache(CommandState state)
state
- Ignored.public void onHelpSQLTuple()
public void enableHelpSQLTuple(CommandState state)
state
- Ignored.private IHistogram histogram(boolean newPage, boolean overlay, boolean newPlot)
ITuple
into IHistogram
.
Depending on number of selected columns, following
IHistogram
s are produced:
IHistogram1D
IHistogram2D
IHistogram2D
with weight
newPage
- Whether plot on a new page.overlay
- Whether overlay current plot.newPlot
- Whether create new plot.
IHistogram
.private ICloud cloud(boolean newPage, boolean overlay, boolean newPlot)
ITuple
into ICloud
.
Depending on number of selected columns, following
IHistogram
s are produced:
newPage
- Whether plot on a new page.overlay
- Whether overlay current plot.newPlot
- Whether create new plot.
ICloud
.private IProfile profile(boolean newPage, boolean overlay, boolean newPlot)
ITuple
into IProfile
.
Depending on number of selected columns, following
IProfile
s are produced:
IProfile1D
IProfile1D
with weight
newPage
- Whether plot on a new page.overlay
- Whether overlay current plot.newPlot
- Whether create new plot.
IProfile
.public void enableProjector(CommandState state)
state
- Ignored.private void plot(IBaseHistogram histogram, boolean newPage, boolean overlay, boolean newPlot)
IBaseHistogram
according to selected options.
histogram
- The IBaseHistogram
to plot.newPage
- Whether plot on a new page.overlay
- Whether overlay current plot.newPlot
- Whether create new plot.
|
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |