org.embl.ebi.escience.scuflui.workbench
Class ScavengerTreePopupHandler

java.lang.Object
  extended by java.awt.event.MouseAdapter
      extended by org.embl.ebi.escience.scuflui.workbench.ScavengerTreePopupHandler
All Implemented Interfaces:
java.awt.event.MouseListener, java.util.EventListener

public class ScavengerTreePopupHandler
extends java.awt.event.MouseAdapter

A class to handle popup menus on nodes on the ScavengerTree tree

Author:
Tom Oinn

Constructor Summary
ScavengerTreePopupHandler(DefaultScavengerTree theTree)
           
 
Method Summary
 boolean isPopulating()
           
 void mousePressed(java.awt.event.MouseEvent e)
          Handle the mouse pressed event in case this is the platform specific trigger for a popup menu
 void mouseReleased(java.awt.event.MouseEvent e)
          Similarly handle the mouse released event
 
Methods inherited from class java.awt.event.MouseAdapter
mouseClicked, mouseEntered, mouseExited
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ScavengerTreePopupHandler

public ScavengerTreePopupHandler(DefaultScavengerTree theTree)
Method Detail

isPopulating

public boolean isPopulating()

mousePressed

public void mousePressed(java.awt.event.MouseEvent e)
Handle the mouse pressed event in case this is the platform specific trigger for a popup menu

Specified by:
mousePressed in interface java.awt.event.MouseListener
Overrides:
mousePressed in class java.awt.event.MouseAdapter

mouseReleased

public void mouseReleased(java.awt.event.MouseEvent e)
Similarly handle the mouse released event

Specified by:
mouseReleased in interface java.awt.event.MouseListener
Overrides:
mouseReleased in class java.awt.event.MouseAdapter