SQLTuple version: 1.2.0.0

hep.aida.ref.sql.JAS3Plugin
Class SQLTupleColumnAdapter

java.lang.Object
  extended by org.freehep.jas.plugin.tree.DefaultFTreeNodeAdapter
      extended by hep.aida.ref.sql.JAS3Plugin.SQLTupleColumnAdapter
All Implemented Interfaces:
FTreeNodeAdapter

public class SQLTupleColumnAdapter
extends DefaultFTreeNodeAdapter

SQLTupleColumnAdapter handles SQLTuple columns.

$Id: SQLTupleColumnAdapter.java,v 1.6 2007/05/23 16:38:44 hrivnac Exp $

 $Log: SQLTupleColumnAdapter.java,v $
 Revision 1.6  2007/05/23 16:38:44  hrivnac
 logical connections for Plotter; better UML

 Revision 1.5  2005/10/10 10:05:33  hrivnac
 prepared for 1.0.2

 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

 

Version:
$Id: SQLTupleColumnAdapter.java,v 1.6 2007/05/23 16:38:44 hrivnac Exp $
Author:
J.Hrivnac

Field Summary
private  Studio _app
           
private  SQLTupleCommands _commands
           
 
Constructor Summary
SQLTupleColumnAdapter(Studio app, SQLTupleCommands commands)
          Create and attach Studio with hight pripority = 300.
 
Method Summary
 boolean doubleClick(FTreeNode node)
          Activate Projector command on double click.
 JPopupMenu modifyPopupMenu(FTreeNode[] nodes, JPopupMenu menu)
          Add Projector action into popup menu.
 
Methods inherited from class org.freehep.jas.plugin.tree.DefaultFTreeNodeAdapter
acceptNewText, allowsChildren, canTextBeChanged, checkForChildren, commandProcessor, icon, modifyTransferable, mouseClicked, nodeBeingDeleted, nodeStructureProvider, nodeTextChanged, priority, selectionChanged, statusMessage, text, toolTipMessage, treeCellRendererComponent, treeNodeObjectProvider
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_app

private Studio _app

_commands

private SQLTupleCommands _commands
Constructor Detail

SQLTupleColumnAdapter

SQLTupleColumnAdapter(Studio app,
                      SQLTupleCommands commands)
Create and attach Studio with hight pripority = 300.

Parameters:
app - The attached Studio.
commands - The associated SQLTupleCommands.
Method Detail

modifyPopupMenu

public JPopupMenu modifyPopupMenu(FTreeNode[] nodes,
                                  JPopupMenu menu)
Add Projector action into popup menu.

Specified by:
modifyPopupMenu in interface FTreeNodeAdapter
Overrides:
modifyPopupMenu in class DefaultFTreeNodeAdapter
Parameters:
nodes - The selected FTreeNodes.
menu - The current JPopupMenu.
Returns:
The updated JPopupMenu.

doubleClick

public boolean doubleClick(FTreeNode node)
                    throws IllegalArgumentException
Activate Projector command on double click.

Specified by:
doubleClick in interface FTreeNodeAdapter
Overrides:
doubleClick in class DefaultFTreeNodeAdapter
Parameters:
node - The selected FTreeNode.
Returns:
true.
Throws:
IllegalArgumentException - if selected double click is not defined.

Written by: J.Hrivnac

Documentation built November 9 2010 on Linux by hrivnac