-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
113 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -42,7 +42,7 @@ | |
* @author Scott Deboy <[email protected]> | ||
*/ | ||
class FileMenu extends JMenu { | ||
private final Action loadConfigAction; | ||
private final Action loadReceiverAction; | ||
private final Action exitAction; | ||
private final Action loadLog4JAction; | ||
private final Action loadUtilLoggingAction; | ||
|
@@ -54,9 +54,9 @@ public FileMenu(final LogUI logUI) { | |
super("File"); | ||
setMnemonic(KeyEvent.VK_F); | ||
|
||
loadConfigAction = new AbstractAction("Load Chainsaw configuration") { | ||
loadReceiverAction = new AbstractAction("Load Receiver") { | ||
public void actionPerformed(ActionEvent actionEvent) { | ||
logUI.showReceiverConfiguration(); | ||
logUI.loadReceiver(); | ||
} | ||
}; | ||
|
||
|
@@ -87,7 +87,7 @@ public void actionPerformed(ActionEvent actionEvent) { | |
|
||
saveAction = new FileSaveAction(logUI); | ||
|
||
JMenuItem loadChainsawConfig = new JMenuItem(loadConfigAction); | ||
JMenuItem loadReceiver = new JMenuItem(loadReceiverAction); | ||
JMenuItem loadLog4JFile = new JMenuItem(loadLog4JAction); | ||
JMenuItem loadUtilLoggingFile = new JMenuItem(loadUtilLoggingAction); | ||
JMenuItem remoteLog4JFile = new JMenuItem(remoteLog4JAction); | ||
|
@@ -110,7 +110,7 @@ public void actionPerformed(ActionEvent e) { | |
|
||
JMenuItem menuItemExit = new JMenuItem(exitAction); | ||
|
||
// add(loadChainsawConfig); | ||
add(loadReceiver); | ||
// add(loadLog4JFile); | ||
// add(loadUtilLoggingFile); | ||
// addSeparator(); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters