~yrke/tapaal/slimImageIcons-2

« back to all changes in this revision

Viewing changes to src/pipe/gui/GuiFrameControllerActions.java

  • Committer: Jiri Srba
  • Date: 2020-04-28 19:15:28 UTC
  • mfrom: (998.2.376 testbranch)
  • Revision ID: srba@cs.aau.dk-20200428191528-3xxjqa1r4jcob5ur
merged in lp:~yrke/tapaal/testbranch doing majour refactoring of the GUI

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
package pipe.gui;
 
2
 
 
3
import dk.aau.cs.gui.TabContent;
 
4
 
 
5
public interface GuiFrameControllerActions {
 
6
    void openTab(TabContent tab);
 
7
    default void openTab(Iterable<TabContent> tabs) {
 
8
        tabs.forEach(this::openTab);
 
9
    }
 
10
 
 
11
    //If needed, add boolean forceClose, where net is not checkedForSave and just closed
 
12
    //XXX 2018-05-23 kyrke, implementation close to undoAddTab, needs refactoring
 
13
    void closeTab(TabContent tab);
 
14
 
 
15
    //TODO: 2018-05-07 //kyrke Create CloseTab function, used to close a tab
 
16
    //XXX: Temp solution to call getCurrentTab to get new new selected tab (should use index) --kyrke 2019-07-08
 
17
    void changeToTab(TabContent tab);
 
18
 
 
19
    void clearPreferences();
 
20
 
 
21
    void showEngineDialog();
 
22
 
 
23
    void openURL(String s);
 
24
 
 
25
    void showNewPNDialog();
 
26
 
 
27
    void saveWorkspace();
 
28
 
 
29
    void checkForUpdate();
 
30
 
 
31
    void showAbout();
 
32
 
 
33
    void exit();
 
34
 
 
35
    void openTAPNFile();
 
36
 
 
37
    void importPNMLFile();
 
38
 
 
39
    void save();
 
40
 
 
41
    void saveAs();
 
42
 
 
43
    void showBatchProcessingDialog();
 
44
    void toggleQueries();
 
45
    void toggleConstants();
 
46
    void toggleTokenAge();
 
47
    void toggleZeroToInfinityIntervals();
 
48
    void toggleComponents();
 
49
    void toggleEnabledTransitionsList();
 
50
    void toggleDelayEnabledTransitions();
 
51
    void toggleDisplayToolTips();
 
52
 
 
53
    void showAdvancedWorkspace();
 
54
 
 
55
    void showSimpleWorkspace();
 
56
}