Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTom Schindl2016-04-01 17:53:48 -0400
committerTom Schindl2016-04-01 17:53:48 -0400
commit39d3b81460d41b44a237b294f64cfedccee3a33f (patch)
tree132fc7360ab7f65a32eed4f9dc42b71a6e757423
parenteb56e9a8a41d4265797ff0b87d3ea50fd7a12923 (diff)
downloadorg.eclipse.efxclipse-39d3b81460d41b44a237b294f64cfedccee3a33f.tar.gz
org.eclipse.efxclipse-39d3b81460d41b44a237b294f64cfedccee3a33f.tar.xz
org.eclipse.efxclipse-39d3b81460d41b44a237b294f64cfedccee3a33f.zip
removed content
-rw-r--r--bundles/runtime/org.eclipse.fx.ui.controls/src/org/eclipse/fx/ui/controls/image/fonticonview.css3
-rw-r--r--demos/org.eclipse.fx.ui.controls.sample/src/org/eclipse/fx/ui/controls/sample/HeavyWeightDialogSample.java76
-rw-r--r--demos/org.eclipse.fx.ui.controls.sample/src/org/eclipse/fx/ui/controls/sample/LwDialogSample.java84
3 files changed, 0 insertions, 163 deletions
diff --git a/bundles/runtime/org.eclipse.fx.ui.controls/src/org/eclipse/fx/ui/controls/image/fonticonview.css b/bundles/runtime/org.eclipse.fx.ui.controls/src/org/eclipse/fx/ui/controls/image/fonticonview.css
deleted file mode 100644
index 6970bfb40..000000000
--- a/bundles/runtime/org.eclipse.fx.ui.controls/src/org/eclipse/fx/ui/controls/image/fonticonview.css
+++ /dev/null
@@ -1,3 +0,0 @@
-.fonticonview {
- -fx-skin: "org.eclipse.fx.ui.controls.image.skin.FontIconViewSkin";
-} \ No newline at end of file
diff --git a/demos/org.eclipse.fx.ui.controls.sample/src/org/eclipse/fx/ui/controls/sample/HeavyWeightDialogSample.java b/demos/org.eclipse.fx.ui.controls.sample/src/org/eclipse/fx/ui/controls/sample/HeavyWeightDialogSample.java
deleted file mode 100644
index 237c56b04..000000000
--- a/demos/org.eclipse.fx.ui.controls.sample/src/org/eclipse/fx/ui/controls/sample/HeavyWeightDialogSample.java
+++ /dev/null
@@ -1,76 +0,0 @@
-package org.eclipse.fx.ui.controls.sample;
-
-import org.eclipse.fx.core.Subscription;
-import org.eclipse.fx.ui.dialogs.TitleAreaDialog;
-
-import javafx.application.Application;
-import javafx.scene.Node;
-import javafx.scene.Scene;
-import javafx.scene.control.Button;
-import javafx.scene.layout.HBox;
-import javafx.stage.Stage;
-import javafx.stage.Window;
-
-public class HeavyWeightDialogSample extends Application {
- public static void main(String[] args) {
- launch(args);
- }
- @Override
- public void start(Stage primaryStage) throws Exception {
- HBox container = new HBox();
-
- {
- Button b = new Button("Show TitleArea Dialog");
- b.setOnAction(e -> new SampleHeavyTitleAreaDialog(primaryStage).open());
- container.getChildren().add(b);
- }
-
- primaryStage.setScene(new Scene(container, 800, 600));
- primaryStage.show();
- }
-
- static class SampleHeavyTitleAreaDialog extends TitleAreaDialog {
- private Subscription currentTempMessage;
-
- public SampleHeavyTitleAreaDialog(Window parent) {
- super(parent, "Sample Dialog", "Sample Dialog", "This is a sample dialog", "sample-title-icon");
- }
-
- @Override
- protected Node createDialogContent() {
- HBox box = new HBox();
-
- {
- Button b = new Button("Error");
- b.setOnAction(e -> currentTempMessage = showTemporaryErrorMessage("This is an error message"));
- box.getChildren().add(b);
- }
-
- {
- Button b = new Button("Warning");
- b.setOnAction(e -> currentTempMessage = showTemporaryWarningMessage("This is an warning message"));
- box.getChildren().add(b);
- }
-
- {
- Button b = new Button("Info");
- b.setOnAction(e -> currentTempMessage = showTemporaryInfoMessage("This is an info message"));
- box.getChildren().add(b);
- }
-
- {
- Button b = new Button("Reset");
- b.setOnAction(e -> {
- if (currentTempMessage != null) {
- currentTempMessage.dispose();
- currentTempMessage = null;
- }
- });
- box.getChildren().add(b);
- }
-
- return box;
- }
-
- }
-}
diff --git a/demos/org.eclipse.fx.ui.controls.sample/src/org/eclipse/fx/ui/controls/sample/LwDialogSample.java b/demos/org.eclipse.fx.ui.controls.sample/src/org/eclipse/fx/ui/controls/sample/LwDialogSample.java
deleted file mode 100644
index 9282d267a..000000000
--- a/demos/org.eclipse.fx.ui.controls.sample/src/org/eclipse/fx/ui/controls/sample/LwDialogSample.java
+++ /dev/null
@@ -1,84 +0,0 @@
-package org.eclipse.fx.ui.controls.sample;
-
-import org.eclipse.fx.core.Subscription;
-import org.eclipse.fx.ui.controls.stage.FrameEvent;
-
-import javafx.application.Application;
-import javafx.scene.Node;
-import javafx.scene.Scene;
-import javafx.scene.control.Button;
-import javafx.scene.layout.HBox;
-import javafx.scene.layout.StackPane;
-import javafx.stage.Stage;
-
-public class LwDialogSample extends Application {
- public static void main(String[] args) {
- launch(args);
- }
-
- @Override
- public void start(Stage primaryStage) throws Exception {
- StackPane pane = new StackPane();
- HBox container = new HBox();
-
- {
- Button b = new Button("LW Dialog");
- b.setOnAction(e -> {
- SampleLWTitleAreaDialog d = new SampleLWTitleAreaDialog();
- d.addEventHandler(FrameEvent.CLOSED, ev -> {
- pane.getChildren().remove(d);
- });
- pane.getChildren().add(d);
- });
- container.getChildren().add(b);
- }
-
- pane.getChildren().add(container);
- primaryStage.setScene(new Scene(pane,800,600));
- primaryStage.show();
- }
-
- static class SampleLWTitleAreaDialog extends org.eclipse.fx.ui.controls.dialog.TitleAreaDialog {
- private Subscription currentTempMessage;
- public SampleLWTitleAreaDialog() {
- super("Sample Dialog", "Sample Dialog", "This is a sample dialog");
- setPrefSize(500, 300);
- setClientArea(createClientArea());
- addDefaultButtons();
- }
-
- private Node createClientArea() {
- HBox box = new HBox();
-
- {
- Button b = new Button("Error");
- b.setOnAction(e -> currentTempMessage = showTemporaryErrorMessage("This is an error message"));
- box.getChildren().add(b);
- }
-
- {
- Button b = new Button("Warning");
- b.setOnAction(e -> currentTempMessage = showTemporaryWarningMessage("This is an warning message"));
- box.getChildren().add(b);
- }
-
- {
- Button b = new Button("Info");
- b.setOnAction(e -> currentTempMessage = showTemporaryInfoMessage("This is an info message"));
- box.getChildren().add(b);
- }
-
- {
- Button b = new Button("Reset");
- b.setOnAction(e -> {
- if (currentTempMessage != null) {
- currentTempMessage.dispose();
- currentTempMessage = null;
- }
- });
- box.getChildren().add(b);
- }
- return box;
- }
- }
-}

Back to the top