01: /*
02: * MacroEntry.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.macros;
13:
14: /**
15: * One Macro entry in the GUI dialogs
16: */
17: public class MacroEntry {
18: private String text;
19: private String name;
20:
21: public MacroEntry(String aName, String aText) {
22: this .text = aText;
23: this .name = aName;
24: }
25:
26: public String toString() {
27: return this .name;
28: }
29:
30: public final String getName() {
31: return this .name;
32: }
33:
34: public final void setName(String aName) {
35: this .name = aName;
36: }
37:
38: public final String getText() {
39: return this .text;
40: }
41:
42: public final void setText(String aText) {
43: this.text = aText;
44: }
45: }
|