Line | |
---|
1 | package geniusweb.actions;
|
---|
2 |
|
---|
3 | import javax.swing.AbstractAction;
|
---|
4 |
|
---|
5 | import com.fasterxml.jackson.databind.ObjectMapper;
|
---|
6 |
|
---|
7 | import tudelft.utilities.logging.Reporter;
|
---|
8 |
|
---|
9 | /**
|
---|
10 | * AbstractAction with some more general support and tools
|
---|
11 | */
|
---|
12 | public abstract class GuiAction extends AbstractAction {
|
---|
13 | protected final static ObjectMapper jackson = new ObjectMapper();
|
---|
14 | protected final Reporter log;
|
---|
15 |
|
---|
16 | public GuiAction(String name, Reporter log) {
|
---|
17 | super(name);
|
---|
18 | this.log = log;
|
---|
19 | }
|
---|
20 |
|
---|
21 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.