|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.awt.event.MouseAdapter
projectviewer.vpt.VPTContextMenu
public class VPTContextMenu
A handler for context menu requests on the tree, providing node-sensitive functionality.
Constructor Summary | |
---|---|
VPTContextMenu(ProjectViewer viewer)
Constructs a listener that will ask the provided viewer instance for information about the nodes clicked. |
Method Summary | |
---|---|
java.lang.Class |
getServiceClass()
ManagedService implementation. |
java.lang.String |
getServiceName()
ManagedService implementation. |
void |
mousePressed(java.awt.event.MouseEvent me)
Context-menus are shown on the "pressed" event. |
void |
mouseReleased(java.awt.event.MouseEvent me)
Context-menus are shown on the "pressed" event. |
void |
updateExtensions(java.util.List<java.lang.Object> l)
ManagedService implementation. |
void |
userMenuChanged()
Called when the user context menu (or a config option related to that menu) has changed. |
Methods inherited from class java.awt.event.MouseAdapter |
---|
mouseClicked, mouseDragged, mouseEntered, mouseExited, mouseMoved, mouseWheelMoved |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public VPTContextMenu(ProjectViewer viewer)
Method Detail |
---|
public void mousePressed(java.awt.event.MouseEvent me)
mousePressed
in interface java.awt.event.MouseListener
mousePressed
in class java.awt.event.MouseAdapter
public void mouseReleased(java.awt.event.MouseEvent me)
mouseReleased
in interface java.awt.event.MouseListener
mouseReleased
in class java.awt.event.MouseAdapter
public void userMenuChanged()
public java.lang.Class getServiceClass()
getServiceClass
in interface ExtensionManager.ManagedService
public java.lang.String getServiceName()
getServiceName
in interface ExtensionManager.ManagedService
public void updateExtensions(java.util.List<java.lang.Object> l)
updateExtensions
in interface ExtensionManager.ManagedService
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |