1 | public class ShowNamespacesAction extends SquirrelAction implements ISessionAction↵ | | 1 | public class ConfigureAutoCorrectAction extends SquirrelAction implements ISessionAction↵
|
2 | {↵ | | 2 | {↵
|
3 | private ISession _session;↵ | | 3 | private ↵
|
|
4 | public ShowNamespaces↵ | | 4 | SyntaxPugin _syntaxPugin;↵
|
|
5 | Action(IApplication app, Resources rsrc, CachePlugin plugin)↵ | | 5 | public ConfigureAutoCorrectAction(IApplication app, ↵
|
6 | throws IllegalArgumentException↵ | | |
|
7 | {↵ | | |
|
8 | super(app, rsrc);↵ | | |
|
9 | }↵ | | |
|
|
10 | public void setSession(ISession session)↵ | | |
|
11 | {↵ | | |
|
| | | 6 | SyntaxPluginResources resources, SyntaxPugin syntaxPugin)↵
|
| | | 7 | {↵
|
| | | 8 | super(app, resources);↵
|
12 | _session = session;↵ | | 9 | _syntaxPugin = syntaxPugin;↵
|
13 | }↵ | | 10 | }↵
|
|
|
14 | public void actionPerformed(ActionEvent evt)↵ | | 11 | public void actionPerformed(ActionEvent e↵
|
15 | ↵ | | 12 | )↵
|
16 | {↵ | | 13 | {↵
|
17 | new ShowNamespacesCommand(_session).execute() | | 14 | new AutoCorrectController(_syntaxPugin);↵
|
|
| | | 15 | }↵
|
|
| | | 16 | public void setSession(ISession session
|