Package bacnet.e4.rap
Class SessionControl
java.lang.Object
bacnet.e4.rap.SessionControl
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
closeGenomeViewer
(org.eclipse.e4.ui.workbench.modeling.EPartService partService) Test function for closing a Genomeviewer and check if it is kept in JVMstatic 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
-
-
closeGenomeViewer
public static void closeGenomeViewer(org.eclipse.e4.ui.workbench.modeling.EPartService partService) Test function for closing a Genomeviewer and check if it is kept in JVM- Parameters:
partService
-
-