Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastien Gabel2017-10-20 12:37:35 +0000
committerSebastien Gabel2017-10-20 12:42:37 +0000
commitd15ba8712a45ed53256073be3e903bf68bc1c751 (patch)
treed8424c9e1a26c32c0d38fce69bc5e10a08d17650 /plugins/infra/ui/org.eclipse.papyrus.infra.widgets
parent77e7e82b5b2dd87146186c8317b59430f5b881af (diff)
downloadorg.eclipse.papyrus-d15ba8712a45ed53256073be3e903bf68bc1c751.tar.gz
org.eclipse.papyrus-d15ba8712a45ed53256073be3e903bf68bc1c751.tar.xz
org.eclipse.papyrus-d15ba8712a45ed53256073be3e903bf68bc1c751.zip
Bug 526302 - [Property View] MultipleValueSelectionDialog should
consider the ordered parameter received https://bugs.eclipse.org/bugs/show_bug.cgi?id=526302 Use the parameter received by the constructor instead of a default value. Add some missing javadoc. Change-Id: Idb328ddab215dd0bb5ac70e3cd18616be33d3ada Signed-off-by: Sebastien Gabel <sebastien.gabel@ansys.com>
Diffstat (limited to 'plugins/infra/ui/org.eclipse.papyrus.infra.widgets')
-rw-r--r--plugins/infra/ui/org.eclipse.papyrus.infra.widgets/src/org/eclipse/papyrus/infra/widgets/editors/MultipleValueSelectionDialog.java9
1 files changed, 7 insertions, 2 deletions
diff --git a/plugins/infra/ui/org.eclipse.papyrus.infra.widgets/src/org/eclipse/papyrus/infra/widgets/editors/MultipleValueSelectionDialog.java b/plugins/infra/ui/org.eclipse.papyrus.infra.widgets/src/org/eclipse/papyrus/infra/widgets/editors/MultipleValueSelectionDialog.java
index acab12ca40b..eee67c3795b 100644
--- a/plugins/infra/ui/org.eclipse.papyrus.infra.widgets/src/org/eclipse/papyrus/infra/widgets/editors/MultipleValueSelectionDialog.java
+++ b/plugins/infra/ui/org.eclipse.papyrus.infra.widgets/src/org/eclipse/papyrus/infra/widgets/editors/MultipleValueSelectionDialog.java
@@ -1,5 +1,5 @@
/*****************************************************************************
- * Copyright (c) 2010, 2014 CEA LIST and others.
+ * Copyright (c) 2010, 2017 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
@@ -9,6 +9,7 @@
* Contributors:
* Vincent Lorenzo (CEA LIST) vincent.lorenzo@cea.fr - Initial API and implementation
* Adapted code from MultipleValueSelectorDialog
+ * Sebastien Gabel (Esterel Technologies SAS) - Bug 526302
*
*****************************************************************************/
package org.eclipse.papyrus.infra.widgets.editors;
@@ -95,9 +96,11 @@ public class MultipleValueSelectionDialog extends SelectionDialog {
* The title of this dialog
* @param unique
* True if the values returned by this dialog should be unique
+ * @param ordered
+ * <code>true</code> if the edited feature is ordered
*/
public MultipleValueSelectionDialog(Shell parentShell, IElementSelector selector, String title, boolean unique, boolean ordered) {
- this(parentShell, selector, title, unique, false, ValueUtils.MANY);
+ this(parentShell, selector, title, unique, ordered, ValueUtils.MANY);
}
/**
@@ -112,6 +115,8 @@ public class MultipleValueSelectionDialog extends SelectionDialog {
* The title of this dialog
* @param unique
* True if the values returned by this dialog should be unique
+ * @param ordered
+ * <code>true</code> if the edited feature is ordered
* @param upperBound
* The maximum number of values selected.
*/

Back to the top