Merge lp:~tapaal-contributor/tapaal/change-export-batch-shortcut-1820012 into lp:tapaal

Proposed by Peter Haahr Taankvist
Status: Merged
Approved by: Jiri Srba
Approved revision: 994
Merged at revision: 994
Proposed branch: lp:~tapaal-contributor/tapaal/change-export-batch-shortcut-1820012
Merge into: lp:tapaal
Diff against target: 27 lines (+1/-3)
1 file modified
src/pipe/gui/GuiFrame.java (+1/-3)
To merge this branch: bzr merge lp:~tapaal-contributor/tapaal/change-export-batch-shortcut-1820012
Reviewer Review Type Date Requested Status
Jiri Srba Approve
Review via email: mp+364454@code.launchpad.net

Commit message

Changed shortcut for exporting batch to ctrl + shift + D from ctrl + k. Thought this made sense because export to PNML was ctrl + D.

To post a comment you must log in.
Revision history for this message
Jiri Srba (srba) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'src/pipe/gui/GuiFrame.java'
2--- src/pipe/gui/GuiFrame.java 2019-03-13 07:27:29 +0000
3+++ src/pipe/gui/GuiFrame.java 2019-03-14 17:38:01 +0000
4@@ -20,14 +20,12 @@
5 import javax.swing.*;
6 import javax.swing.event.ChangeEvent;
7 import javax.swing.event.ChangeListener;
8-
9 import com.apple.eawt.Application;
10 import dk.aau.cs.gui.TabTransformer;
11 import dk.aau.cs.model.tapn.*;
12 import dk.aau.cs.verification.VerifyTAPN.VerifyPN;
13 import net.tapaal.Preferences;
14 import com.sun.jna.Platform;
15-
16 import net.tapaal.TAPAAL;
17 import pipe.dataLayer.DataLayer;
18 import pipe.dataLayer.NetType;
19@@ -2558,7 +2556,7 @@
20 }
21 });
22
23- exportMenu.add(exportBatchAction = new GuiAction("Batch Export to PNML and XML Queries", "Export multiple nets into PNML together with the XML queries, while removing the timing information", KeyStroke.getKeyStroke('K', shortcutkey )) {
24+ exportMenu.add(exportBatchAction = new GuiAction("Batch Export to PNML and XML Queries", "Export multiple nets into PNML together with the XML queries, while removing the timing information", KeyStroke.getKeyStroke('D', (shortcutkey + InputEvent.SHIFT_DOWN_MASK))) {
25 @Override
26 public void actionPerformed(ActionEvent e) {
27 ExportBatchDialog.ShowExportBatchDialog();

Subscribers

People subscribed via source and target branches