Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcletavernie2012-06-29 08:19:05 +0000
committercletavernie2012-06-29 08:19:05 +0000
commit07de3953701d29a105312dbcde5064c258a63fe8 (patch)
tree886c967ade6d769103b28128b006797d473d6e64 /plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.widgets
parentb3fc0265ac0f30659e12144d71e42159c12a203c (diff)
downloadorg.eclipse.papyrus-07de3953701d29a105312dbcde5064c258a63fe8.tar.gz
org.eclipse.papyrus-07de3953701d29a105312dbcde5064c258a63fe8.tar.xz
org.eclipse.papyrus-07de3953701d29a105312dbcde5064c258a63fe8.zip
269494: Manage application of stereotype properties as other element in the diagram
https://bugs.eclipse.org/bugs/show_bug.cgi?id=269494 Improve the label of the AppliedStereotypeProperty in the properties view
Diffstat (limited to 'plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.widgets')
-rw-r--r--plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.widgets/src/org/eclipse/papyrus/infra/gmfdiag/widgets/editors/ColorPickerEditor.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.widgets/src/org/eclipse/papyrus/infra/gmfdiag/widgets/editors/ColorPickerEditor.java b/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.widgets/src/org/eclipse/papyrus/infra/gmfdiag/widgets/editors/ColorPickerEditor.java
index 96631ce2265..d209d44d2ba 100644
--- a/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.widgets/src/org/eclipse/papyrus/infra/gmfdiag/widgets/editors/ColorPickerEditor.java
+++ b/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.widgets/src/org/eclipse/papyrus/infra/gmfdiag/widgets/editors/ColorPickerEditor.java
@@ -183,11 +183,12 @@ public class ColorPickerEditor extends AbstractValueEditor implements IChangeLis
@Override
public void setReadOnly(boolean readOnly) {
+ colorPicker.setEnabled(false);
}
@Override
public boolean isReadOnly() {
- return false;
+ return colorPicker.isEnabled();
}
@Override

Back to the top