~yrke/tapaal/slimImageIcons-2

« back to all changes in this revision

Viewing changes to src/pipe/gui/GuiFrameActions.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
import dk.aau.cs.gui.TabContentActions;
 
5
import net.tapaal.helpers.Reference.Reference;
 
6
 
 
7
import java.awt.*;
 
8
 
 
9
/**
 
10
 * Used to delegate control of the state of AppGUI to tabs
 
11
 * control accessible functions -- kyrke - 2019-07-08
 
12
 */
 
13
public interface GuiFrameActions {
 
14
 
 
15
    void updateZoomCombo();
 
16
 
 
17
    void setRedoActionEnabled(boolean b);
 
18
 
 
19
    void setUndoActionEnabled(boolean b);
 
20
 
 
21
    void setWindowSize(Dimension dimension);
 
22
 
 
23
    void attachTabToGuiFrame(TabContent tab);
 
24
 
 
25
    void detachTabFromGuiFrame(TabContent tab);
 
26
 
 
27
    void setGUIMode(GuiFrame.GUIMode animation);
 
28
 
 
29
    //XXX temp while refactoring, kyrke - 2019-07-25
 
30
    void updateMode(Pipe.ElementType mode);
 
31
 
 
32
    void registerController(GuiFrameControllerActions guiFrameController, Reference<TabContentActions> currentTab);
 
33
 
 
34
    void changeToTab(TabContent tab);
 
35
 
 
36
    //Actions for controller
 
37
    void setShowComponentsSelected(boolean b);
 
38
    void setShowConstantsSelected(boolean b);
 
39
    void setShowQueriesSelected(boolean b);
 
40
    void setShowEnabledTransitionsSelected(boolean b);
 
41
    void setShowDelayEnabledTransitionsSelected(boolean b);
 
42
    void setShowToolTipsSelected(boolean b);
 
43
    void setShowZeroToInfinityIntervalsSelected(boolean b);
 
44
    void setShowTokenAgeSelected(boolean b);
 
45
 
 
46
}