01: /*
02: * HighlightCurrentStatement.java
03: *
04: * This file is part of SQL Workbench/J, http://www.sql-workbench.net
05: *
06: * Copyright 2002-2008, Thomas Kellerer
07: * No part of this code maybe reused without the permission of the author
08: *
09: * To contact the author please send an email to: support@sql-workbench.net
10: *
11: */
12: package workbench.gui.actions;
13:
14: import workbench.resource.ResourceMgr;
15: import workbench.resource.Settings;
16:
17: /**
18: * Toggle highlighting of the currently executed statement.
19: * @author support@sql-workbench.net
20: */
21: public class HighlightCurrentStatement extends CheckBoxAction {
22:
23: public HighlightCurrentStatement() {
24: super ("MnuTxtHighlightCurrent",
25: Settings.PROPERTY_HIGHLIGHT_CURRENT_STATEMENT);
26: this.setMenuItemName(ResourceMgr.MNU_TXT_SQL);
27: }
28:
29: }
|