Class SessionControl

java.lang.Object
bacnet.e4.rap.setup.SessionControl

public class SessionControl extends Object
General methods for session control of an eclipse.rap application
Author:
christophebecavin
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    initBacnetApp(org.eclipse.e4.ui.workbench.modeling.EPartService partService, org.eclipse.e4.ui.workbench.modeling.EModelService modelService, org.eclipse.swt.widgets.Shell shell)
    Performed all initialisation necessary at the running of the webapp
    Is runned in BannerView.createPartControl()
    static void
    registerClosingUIsession(org.eclipse.e4.ui.workbench.modeling.EPartService partService, org.eclipse.e4.ui.workbench.modeling.EModelService modelService, org.eclipse.swt.widgets.Shell shell)
    Register the closing of UI session and close every part manually !
    static void
     
    void
    testApplicationContext(org.eclipse.e4.ui.workbench.modeling.EPartService partService)
     

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • SessionControl

      public SessionControl()
  • Method Details

    • initBacnetApp

      public static void initBacnetApp(org.eclipse.e4.ui.workbench.modeling.EPartService partService, org.eclipse.e4.ui.workbench.modeling.EModelService modelService, org.eclipse.swt.widgets.Shell shell)
      Performed all initialisation necessary at the running of the webapp
      Is runned in BannerView.createPartControl()
      Parameters:
      partService -
      modelService -
      shell -
    • testApplicationContext

      public void testApplicationContext(org.eclipse.e4.ui.workbench.modeling.EPartService partService)
    • setExitConfirmation

      public static void setExitConfirmation()
    • registerClosingUIsession

      public static void registerClosingUIsession(org.eclipse.e4.ui.workbench.modeling.EPartService partService, org.eclipse.e4.ui.workbench.modeling.EModelService modelService, org.eclipse.swt.widgets.Shell shell)
      Register the closing of UI session and close every part manually !
      Parameters:
      partService -
      modelService -
      shell -