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