Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--plugins/infra/properties/org.eclipse.papyrus.infra.properties.ui/src/org/eclipse/papyrus/infra/properties/ui/widgets/MultiString.java25
1 files changed, 25 insertions, 0 deletions
diff --git a/plugins/infra/properties/org.eclipse.papyrus.infra.properties.ui/src/org/eclipse/papyrus/infra/properties/ui/widgets/MultiString.java b/plugins/infra/properties/org.eclipse.papyrus.infra.properties.ui/src/org/eclipse/papyrus/infra/properties/ui/widgets/MultiString.java
index 465e55d559d..b23736f9457 100644
--- a/plugins/infra/properties/org.eclipse.papyrus.infra.properties.ui/src/org/eclipse/papyrus/infra/properties/ui/widgets/MultiString.java
+++ b/plugins/infra/properties/org.eclipse.papyrus.infra.properties.ui/src/org/eclipse/papyrus/infra/properties/ui/widgets/MultiString.java
@@ -8,6 +8,7 @@
*
* Contributors:
* Camille Letavernier (CEA LIST) camille.letavernier@cea.fr - Initial API and implementation
+ * Nicolas FAUVERGUE (CEA LIST) nicolas.fauvergue@cea.fr - Bug 527183
*****************************************************************************/
package org.eclipse.papyrus.infra.properties.ui.widgets;
@@ -59,6 +60,30 @@ public class MultiString extends AbstractPropertyEditor {
return new MultipleStringEditor(parent, style);
}
+ /**
+ * Set the direct creation on the TreeViewer.
+ *
+ * @param directCreationWithTreeViewer
+ *
+ * @since 3.3
+ */
+ public void setDirectCreationWithTreeViewer(final boolean directCreationWithTreeViewer) {
+ if (null != editor) {
+ editor.setDirectCreationWithTreeViewer(directCreationWithTreeViewer);
+ }
+ }
+
+ /**
+ * Returns the boolean for the direct creation on TreeViewer.
+ *
+ * @return the directCreation value.
+ *
+ * @since 3.3
+ */
+ public boolean getDirectCreationWithTreeViewer() {
+ return null != editor ? editor.isDirectCreationWithTreeViewer() : false;
+ }
+
@Override
protected void doBinding() {
editor.setOrdered(input.isOrdered(propertyPath));

Back to the top