package de.dynamobeuth.multiscreen;

abstract public class ScreenController {

    private ScreenManager screenManager;

//    private Application application;
//
//    public void setApplication(Application application) {
//        this.application = application;
//    }
//
//    public Application getApplication() {
//        return application;
//    }

    public void setScreenManager(ScreenManager manager) {
        this.screenManager = manager;
    }

    protected ScreenManager getScreenManager() {
        return screenManager;
    }

    /**
     * Will be called once after initialize() and after application and screenManager were injected
     */
    protected void prepare() {
    }

    /**
     * Will be called once when the screen is shown for the first time
     * and just before the screen is added to its root and before possible screen transition animations
     */
    protected void onBeforeFirstShow() {
    }

    /**
     * Will be called every time the screen is to be shown
     * and just before the screen is added to its root and before possible screen transition animations
     */
    protected void onBeforeShow() {
    }

    /**
     * Will be called once when the screen is shown for the first time
     * and when possible screen transition animations are just finished
     */
    protected void onFirstShow() {
    }

    /**
     * Will be called every time the screen is shown
     * and when possible screen transition animations are just finished
     */
    protected void onShow() {
    }

    // TODO: integration should be possible; wait for use-case before implementation
//    public void beforeHide() {
//        System.out.println("show game view");
//    }
//
//    public void hide() {
//        System.out.println("hide game view");
//    }
}

@@ -653,32 +653,41 @@
 ted%0A     */%0A    
+abstract 
 protected void p
@@ -694,24 +694,17 @@
 repare()
- %7B%0A    %7D
+;
 %0A%0A    /*
@@ -884,32 +884,41 @@
 ons%0A     */%0A    
+abstract 
 protected void o
@@ -931,32 +931,25 @@
 eFirstShow()
- %7B%0A    %7D
+;
 %0A%0A    /**%0A  
@@ -1113,32 +1113,41 @@
 ons%0A     */%0A    
+abstract 
 protected void o
@@ -1155,32 +1155,25 @@
 BeforeShow()
- %7B%0A    %7D
+;
 %0A%0A    /**%0A  
@@ -1317,32 +1317,41 @@
 hed%0A     */%0A    
+abstract 
 protected void o
@@ -1358,32 +1358,25 @@
 nFirstShow()
- %7B%0A    %7D
+;
 %0A%0A    /**%0A  
@@ -1506,24 +1506,33 @@
      */%0A    
+abstract 
 protected vo
@@ -1546,16 +1546,9 @@
 ow()
- %7B%0A    %7D
+;
 %0A%0A  

Make empty body methods in ScreenController abstract