From 10b375c2800378bb863f1d29b699379ada637686 Mon Sep 17 00:00:00 2001 From: Karl Woditsch Date: Wed, 20 Nov 2013 20:45:30 +0100 Subject: [PATCH] Improved Ariane --- BigBrother-Gui/src/bigbrother/gui/BigBrotherGui.fxml | 4 ++-- .../src/bigbrother/gui/BigBrotherGuiController.java | 6 +----- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/BigBrother-Gui/src/bigbrother/gui/BigBrotherGui.fxml b/BigBrother-Gui/src/bigbrother/gui/BigBrotherGui.fxml index 0e43962..fb64b7c 100644 --- a/BigBrother-Gui/src/bigbrother/gui/BigBrotherGui.fxml +++ b/BigBrother-Gui/src/bigbrother/gui/BigBrotherGui.fxml @@ -35,7 +35,7 @@
- + @@ -44,7 +44,7 @@ - + diff --git a/BigBrother-Gui/src/bigbrother/gui/BigBrotherGuiController.java b/BigBrother-Gui/src/bigbrother/gui/BigBrotherGuiController.java index b633b89..b299c48 100644 --- a/BigBrother-Gui/src/bigbrother/gui/BigBrotherGuiController.java +++ b/BigBrother-Gui/src/bigbrother/gui/BigBrotherGuiController.java @@ -306,7 +306,7 @@ public void handle(MouseEvent t) { this.arianeBox.getChildren().add(label); } else{ - this.arianeBox.getChildren().add(new Label("[Objet Primitif]")); + return; } } catch (ObservableClassException ex) { this.arianeBox.getChildren().add(new Label("?")); @@ -315,10 +315,6 @@ public void handle(MouseEvent t) { } private void buildAriane(ObservableClass classe){ - Label labelTitle = new Label("Chaine d'héritage : "); - labelTitle.setTextFill(Color.GRAY); - this.arianeBox.getChildren().add(labelTitle); - this.buildArianeStep(classe); Label label = new Label(classe.getSimpleName());