public class VPTContextMenu extends java.awt.event.MouseAdapter implements ExtensionManager.ManagedService
| Constructor and Description |
|---|
VPTContextMenu(ProjectViewer viewer)
Constructs a listener that will ask the provided viewer instance for
information about the nodes clicked.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
public VPTContextMenu(ProjectViewer viewer)
public void mousePressed(java.awt.event.MouseEvent me)
mousePressed in interface java.awt.event.MouseListenermousePressed in class java.awt.event.MouseAdapterpublic void mouseReleased(java.awt.event.MouseEvent me)
mouseReleased in interface java.awt.event.MouseListenermouseReleased in class java.awt.event.MouseAdapterpublic void userMenuChanged()
public java.lang.Class getServiceClass()
getServiceClass in interface ExtensionManager.ManagedServicepublic java.lang.String getServiceName()
getServiceName in interface ExtensionManager.ManagedServicepublic void updateExtensions(java.util.List<java.lang.Object> l)
updateExtensions in interface ExtensionManager.ManagedService