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
=== modified file 'src/pipe/gui/GuiFrame.java'
--- src/pipe/gui/GuiFrame.java 2019-03-13 07:27:29 +0000
+++ src/pipe/gui/GuiFrame.java 2019-03-14 17:38:01 +0000
@@ -20,14 +20,12 @@
20import javax.swing.*;20import javax.swing.*;
21import javax.swing.event.ChangeEvent;21import javax.swing.event.ChangeEvent;
22import javax.swing.event.ChangeListener;22import javax.swing.event.ChangeListener;
23
24import com.apple.eawt.Application;23import com.apple.eawt.Application;
25import dk.aau.cs.gui.TabTransformer;24import dk.aau.cs.gui.TabTransformer;
26import dk.aau.cs.model.tapn.*;25import dk.aau.cs.model.tapn.*;
27import dk.aau.cs.verification.VerifyTAPN.VerifyPN;26import dk.aau.cs.verification.VerifyTAPN.VerifyPN;
28import net.tapaal.Preferences;27import net.tapaal.Preferences;
29import com.sun.jna.Platform;28import com.sun.jna.Platform;
30
31import net.tapaal.TAPAAL;29import net.tapaal.TAPAAL;
32import pipe.dataLayer.DataLayer;30import pipe.dataLayer.DataLayer;
33import pipe.dataLayer.NetType;31import pipe.dataLayer.NetType;
@@ -2558,7 +2556,7 @@
2558 }2556 }
2559 });2557 });
25602558
2561 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 )) {2559 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))) {
2562 @Override2560 @Override
2563 public void actionPerformed(ActionEvent e) {2561 public void actionPerformed(ActionEvent e) {
2564 ExportBatchDialog.ShowExportBatchDialog();2562 ExportBatchDialog.ShowExportBatchDialog();

Subscribers

People subscribed via source and target branches