Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStéphane Bégaudeau2016-09-14 08:11:49 +0000
committerPierre-Charles David2016-09-15 19:18:47 +0000
commit591a9074d3cc3d396a5c272ac29ca4c38c5c0803 (patch)
tree7d6970289db8c161dc1864e508822c14005a0614
parent402bd7a748e4fee2d35a947222b968e3cab32015 (diff)
downloadorg.eclipse.sirius-591a9074d3cc3d396a5c272ac29ca4c38c5c0803.tar.gz
org.eclipse.sirius-591a9074d3cc3d396a5c272ac29ca4c38c5c0803.tar.xz
org.eclipse.sirius-591a9074d3cc3d396a5c272ac29ca4c38c5c0803.zip
[498258] The label of the property view does not refresh on a null value
Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=498258 Change-Id: Ic698562983d2494301e19c6dae093720881d70a6 Signed-off-by: Stéphane Bégaudeau <stephane.begaudeau@obeo.fr>
-rw-r--r--plugins/org.eclipse.sirius.ui.properties/src/org/eclipse/sirius/ui/properties/internal/ContributorWrapper.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/plugins/org.eclipse.sirius.ui.properties/src/org/eclipse/sirius/ui/properties/internal/ContributorWrapper.java b/plugins/org.eclipse.sirius.ui.properties/src/org/eclipse/sirius/ui/properties/internal/ContributorWrapper.java
index d86abf749a..382a98c3c7 100644
--- a/plugins/org.eclipse.sirius.ui.properties/src/org/eclipse/sirius/ui/properties/internal/ContributorWrapper.java
+++ b/plugins/org.eclipse.sirius.ui.properties/src/org/eclipse/sirius/ui/properties/internal/ContributorWrapper.java
@@ -65,9 +65,14 @@ public class ContributorWrapper extends AbstractEEFTabbedPropertySheetPageContri
if (result.length >= 1) {
form.setText(result[0]);
}
+ } else {
+ form.setText(""); //$NON-NLS-1$
}
form.setImage(ExtendedImageRegistry.INSTANCE.getImage(new SiriusToolServices().eefViewImage(semanticElement)));
+ } else {
+ form.setText(""); //$NON-NLS-1$
+ form.setImage(null);
}
}
}

Back to the top