1 | public class FilterObjectsAction extends SquirrelAction ↵ | | 1 | public class SessionPropertiesAction extends SquirrelAction↵
|
2 | implements ISessionAction↵ | | 2 | implements ISessionAction↵
|
3 | {↵ | | 3 | {↵
|
4 | private ISession _session;↵ | | 4 | private ISession _session;↵
|
|
5 | public FilterObjectsAction(IApplication app)↵ | | 5 | public SessionPropertiesAction(IApplication app)↵
|
6 | {↵ | | |
|
7 | ↵ | | 6 | {↵
|
8 | super(app);↵ | | 7 | super(app);↵
|
9 | }↵ | | |
|
|
10 | ↵ | | 8 | }↵
|
|
11 | public void setSession(ISession session)↵ | | 9 | public void setSession(ISession session)↵
|
12 | {↵ | | |
|
13 | ↵ | | 10 | {↵
|
14 | _session = session;↵ | | 11 | _session = session;↵
|
15 | }↵ | | |
|
|
16 | ↵ | | 12 | }↵
|
|
17 | public void actionPerformed(ActionEvent evt)↵ | | 13 | public void actionPerformed(ActionEvent evt)↵
|
18 | {↵ | | |
|
19 | ↵ | | 14 | {↵
|
20 | if (_session != null)↵ | | 15 | if (_session != null)↵
|
21 | {↵ | | |
|
22 | ↵ | | 16 | {↵
|
23 | new SessionPropertiesCommand(_session, 1).execute() | | 17 | new SessionPropertiesCommand(_session).execute()
|