Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'testcases/org.eclipse.fx.testcases.e4/src/org/eclipse/fx/testcases/e4/handlers/DialogTest.java')
-rw-r--r--testcases/org.eclipse.fx.testcases.e4/src/org/eclipse/fx/testcases/e4/handlers/DialogTest.java23
1 files changed, 23 insertions, 0 deletions
diff --git a/testcases/org.eclipse.fx.testcases.e4/src/org/eclipse/fx/testcases/e4/handlers/DialogTest.java b/testcases/org.eclipse.fx.testcases.e4/src/org/eclipse/fx/testcases/e4/handlers/DialogTest.java
new file mode 100644
index 000000000..71bc07e7e
--- /dev/null
+++ b/testcases/org.eclipse.fx.testcases.e4/src/org/eclipse/fx/testcases/e4/handlers/DialogTest.java
@@ -0,0 +1,23 @@
+/*******************************************************************************
+ * Copyright (c) 2013 BestSolution.at and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Tom Schindl<tom.schindl@bestsolution.at> - initial API and implementation
+ *******************************************************************************/
+package org.eclipse.fx.testcases.e4.handlers;
+
+import javafx.stage.Stage;
+
+import org.eclipse.e4.core.di.annotations.Execute;
+import org.eclipse.fx.ui.dialogs.MessageDialog;
+
+public class DialogTest {
+ @Execute
+ void openDialog(Stage stage) {
+ MessageDialog.openInformationDialog(stage, "Hello World!", "This is blocking!");
+ }
+}

Back to the top