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