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