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.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