Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastien Gabel2016-07-12 16:32:47 +0000
committerGerrit Code Review @ Eclipse.org2016-07-19 09:19:25 +0000
commit922fd0c034182de526488475fc8410a7e3d076b8 (patch)
treed6b08f275da3dcc34dd4e1d45291cf65b305812f /plugins/infra/properties
parent0d658d357627ad0c0e7b3267f76c8d20a38c7caa (diff)
downloadorg.eclipse.papyrus-922fd0c034182de526488475fc8410a7e3d076b8.tar.gz
org.eclipse.papyrus-922fd0c034182de526488475fc8410a7e3d076b8.tar.xz
org.eclipse.papyrus-922fd0c034182de526488475fc8410a7e3d076b8.zip
Bug 497768: [Properties View] StringCombo constructor too restrictive to
be subclassed https://bugs.eclipse.org/bugs/show_bug.cgi?id=497768 Remove the 'super' keyword in the constructor to let potential clients properly override setEditor(AbstractValueEditor) method in their code. Change-Id: I27b9c9397dc561d5ad63c0ce31a04ac425c660d6 Signed-off-by: Sebastien Gabel <sebastien.gabel@esterel-technologies.com>
Diffstat (limited to 'plugins/infra/properties')
-rw-r--r--plugins/infra/properties/org.eclipse.papyrus.infra.properties.ui/src/org/eclipse/papyrus/infra/properties/ui/widgets/StringCombo.java6
1 files changed, 4 insertions, 2 deletions
diff --git a/plugins/infra/properties/org.eclipse.papyrus.infra.properties.ui/src/org/eclipse/papyrus/infra/properties/ui/widgets/StringCombo.java b/plugins/infra/properties/org.eclipse.papyrus.infra.properties.ui/src/org/eclipse/papyrus/infra/properties/ui/widgets/StringCombo.java
index 2169fc50521..4380b9e4bce 100644
--- a/plugins/infra/properties/org.eclipse.papyrus.infra.properties.ui/src/org/eclipse/papyrus/infra/properties/ui/widgets/StringCombo.java
+++ b/plugins/infra/properties/org.eclipse.papyrus.infra.properties.ui/src/org/eclipse/papyrus/infra/properties/ui/widgets/StringCombo.java
@@ -1,5 +1,5 @@
/*****************************************************************************
- * Copyright (c) 2011 CEA LIST.
+ * Copyright (c) 2011, 2016 CEA LIST, Esterel Technologies SAS and others.
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
@@ -8,6 +8,8 @@
*
* Contributors:
* Camille Letavernier (CEA LIST) camille.letavernier@cea.fr - Initial API and implementation
+ * Sebastien Gabel (Esterel Technologies SAS) - Bug 497768
+ *
*****************************************************************************/
package org.eclipse.papyrus.infra.properties.ui.widgets;
@@ -37,7 +39,7 @@ public class StringCombo extends AbstractPropertyEditor {
*/
public StringCombo(Composite parent, int style) {
editor = createStringCombo(parent, style);
- super.setEditor(editor);
+ setEditor(editor);
}
/**

Back to the top