diff options
author | Sebastien Gabel | 2017-10-20 12:37:35 +0000 |
---|---|---|
committer | Sebastien Gabel | 2017-10-20 12:42:37 +0000 |
commit | d15ba8712a45ed53256073be3e903bf68bc1c751 (patch) | |
tree | d8424c9e1a26c32c0d38fce69bc5e10a08d17650 /plugins/infra/ui/org.eclipse.papyrus.infra.widgets | |
parent | 77e7e82b5b2dd87146186c8317b59430f5b881af (diff) | |
download | org.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.java | 9 |
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. */ |