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