Package bacnet.e4.rap.setup
Class SessionControl
java.lang.Object
bacnet.e4.rap.setup.SessionControl
General methods for session control of an eclipse.rap application
- Author:
- christophebecavin
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic 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)
-
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
-
-