~tapaal-contributor/tapaal/disappearing-tokens-1940098

« back to all changes in this revision

Viewing changes to src/pipe/gui/undo/RemoveQueryCommand.java

  • Committer: Kenneth Yrke Jørgensen
  • Date: 2011-04-12 09:50:16 UTC
  • mfrom: (329.1.188 tapaal-1.5)
  • Revision ID: mail@yrke.dk-20110412095016-e4hqdgab5596ja09
Merged with branch addning support for new 1.5 features

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
package pipe.gui.undo;
 
2
 
 
3
import pipe.dataLayer.TAPNQuery;
 
4
import dk.aau.cs.gui.TabContent;
 
5
 
 
6
public class RemoveQueryCommand extends AddQueryCommand {
 
7
        
 
8
        public RemoveQueryCommand(TAPNQuery query, TabContent tabContent) {
 
9
                super(query, tabContent);
 
10
        }
 
11
        
 
12
        @Override
 
13
        public void redo() {
 
14
                super.undo();
 
15
        }
 
16
 
 
17
        @Override
 
18
        public void undo() {
 
19
                super.redo();
 
20
        }
 
21
 
 
22
}