1 | public class DropSelectedTablesAction extends AbstractRefactoringAction↵ | | 1 | public class DropViewAction extends AbstractRefactoringAction↵
|
2 | {↵ | | 2 | {
↵
|
3 | private static final long serialVersionUID = -8517759137466833243L;↵ | | 3 | private static final long serialVersionUID = ↵
|
|
4 | public DropSelectedTables↵ | | 4 | 375335286385572772L;↵
|
|
|
5 | Action(IApplication app, Resources rsrc)↵ | | 5 | public DropViewAction(IApplication app, Resources rsrc)↵
|
6 | {↵ | | |
|
7 | ↵ | | 6 | {↵
|
8 | super(app, rsrc);↵ | | 7 | super(app, rsrc);↵
|
9 | }↵ | | |
|
|
10 | /**↵ | | |
|
11 | ↵ | | |
|
| | | 8 | }↵
|
|
|
| | | 9 | /**↵
|
12 | * @see net.sourceforge.squirrel_sql.plugins.refactoring.actions.AbstractRefactoringAction#getCommand(net.sourceforge.squirrel_sql.fw.sql.IDatabaseObjectInfo[])↵ | | 10 | * @see net.sourceforge.squirrel_sql.plugins.refactoring.actions.AbstractRefactoringAction#getCommand(net.sourceforge.squirrel_sql.fw.sql.IDatabaseObjectInfo[])↵
|
13 | */↵ | | |
|
14 | ↵ | | |
|
| | | 11 | */↵
|
15 | @Override↵ | | 12 | @Override↵
|
16 | ↵ | | |
|
17 | protected ICommand getCommand(IDatabaseObjectInfo[] info)↵ | | 13 | protected ICommand getCommand(IDatabaseObjectInfo[] info)↵
|
18 | {↵ | | |
|
19 | ↵ | | 14 | {↵
|
20 | return new DropTablesCommand(_session, info);↵ | | 15 | return new DropViewCommand(_session, info);↵
|
21 | }↵ | | |
|
|
22 | /**↵ | | |
|
23 | ↵ | | |
|
| | | 16 | }↵
|
|
|
| | | 17 | /**↵
|
24 | * @see net.sourceforge.squirrel_sql.plugins.refactoring.actions.AbstractRefactoringAction#getErrorMessage()↵ | | 18 | * @see net.sourceforge.squirrel_sql.plugins.refactoring.actions.AbstractRefactoringAction#getErrorMessage()↵
|
25 | */↵ | | |
|
26 | ↵ | | |
|
| | | 19 | */↵
|
27 | @Override↵ | | 20 | @Override↵
|
28 | ↵ | | |
|
29 | protected String getErrorMessage()↵ | | 21 | protected String getErrorMessage()↵
|
30 | {↵ | | |
|
31 | return null;↵ | | |
|
32 | }↵ | | |
|
|
33 | /**↵ | | |
|
34 | ↵ | | 22 | {↵
|
| | | 23 | return null;↵
|
| | | 24 | }↵
|
|
|
| | | 25 | /**↵
|
35 | * @see net.sourceforge.squirrel_sql.plugins.refactoring.actions.AbstractRefactoringAction#isMultipleObjectAction()↵ | | 26 | * @see net.sourceforge.squirrel_sql.plugins.refactoring.actions.AbstractRefactoringAction#isMultipleObjectAction()↵
|
36 | */↵ | | |
|
37 | ↵ | | |
|
| | | 27 | */↵
|
38 | @Override↵ | | 28 | @Override↵
|
39 | ↵ | | |
|
40 | protected boolean isMultipleObjectAction()↵ | | 29 | protected boolean isMultipleObjectAction()↵
|
41 | {↵ | | |
|
42 | ↵ | | 30 | {↵
|
43 | return true | | 31 | return true
|