Public Member Functions | |
TablePopupMenu (LoggingClient logCli, LogEntryTable table) | |
void | actionPerformed (ActionEvent e) |
void | show (Component invoker, int x, int y, int row, String txt) |
Private Member Functions | |
void | saveSelectedLogs () |
Private Attributes | |
JMenuItem | showErrorStack = new JMenuItem("Show error stack") |
JMenuItem | copyClipboard = new JMenuItem("to clipboard") |
JMenuItem | copyAddInfo = new JMenuItem("to additionalInfo") |
JMenuItem | addUserInfo = new JMenuItem("add Info") |
ImageIcon | saveIcon = new ImageIcon(LogTypeHelper.class.getResource("/disk.png")) |
JMenuItem | saveSelected = new JMenuItem("Save selected logs...",saveIcon) |
ImageIcon | zoomIcon = new ImageIcon(LogTypeHelper.class.getResource("/zoom.png")) |
JMenuItem | zoomOverSelected = new JMenuItem("Drill down",zoomIcon) |
String | textToCopy |
int | row |
String | stackId |
final LoggingClient | loggingClient |
final LogEntryTable | table |
final LogTableDataModel | model |
final DefaultListSelectionModel | selectionModel |
final TextTransfer | textTransfer = new TextTransfer() |
|
Constructor
|
|
Handle the events from the menu
|
|
Save the selected logs into a file |
|
Show the popup menu
|
|
The menu item to allow the user to add his information |
|
The menu item to copy the text to the additional info field |
|
The menu item to copy the text to the clipboard |
|
The |
|
The model |
|
The row and column under the mouse pointer |
|
The icon of the menu item to save selected logs |
|
The menu item to save the selected logs |
|
The selection model |
|
The menu item to show the error stack. It is enabled only if the stack ID is not null |
|
This property is used to select the logs for the error browser. Its value is initialized in the constructor by reading the |
|
The table |
|
The text to copy |
|
The helper for the clipboard |
|
The icon of the menu item to save selected logs |
|
The menu item to save the selected logs |