diff options
| author | Pierre-Charles David | 2017-01-03 09:08:03 +0000 |
|---|---|---|
| committer | Pierre-Charles David | 2017-01-03 15:15:54 +0000 |
| commit | 4868efa64e9700a31f7007606f58793760ddb692 (patch) | |
| tree | 856f621a713b1298c77d4fdf6317cae894e12c25 | |
| parent | b94eba626aa0c1ed6c54f0b21618d3ea86cccfc5 (diff) | |
| download | org.eclipse.sirius-4868efa64e9700a31f7007606f58793760ddb692.tar.gz org.eclipse.sirius-4868efa64e9700a31f7007606f58793760ddb692.tar.xz org.eclipse.sirius-4868efa64e9700a31f7007606f58793760ddb692.zip | |
[509840] Remove the multi-line expression editing button from the VSM editor
This is a minimal-impact change to disable the broken feature on the
maintenance branch; a better solution will be implemented for Sirius
5.0 via #480981.
Bug: 509840
Change-Id: Id13913f3f14269c1a2020a1cf7ce8b22b7cf864d
Signed-off-by: Pierre-Charles David <pierre-charles.david@obeo.fr>
| -rw-r--r-- | plugins/org.eclipse.sirius.editor/src-gen/org/eclipse/sirius/editor/properties/sections/common/AbstractTextWithButtonPropertySection.java | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/plugins/org.eclipse.sirius.editor/src-gen/org/eclipse/sirius/editor/properties/sections/common/AbstractTextWithButtonPropertySection.java b/plugins/org.eclipse.sirius.editor/src-gen/org/eclipse/sirius/editor/properties/sections/common/AbstractTextWithButtonPropertySection.java index eb7bbf26a0..4fe66c80dc 100644 --- a/plugins/org.eclipse.sirius.editor/src-gen/org/eclipse/sirius/editor/properties/sections/common/AbstractTextWithButtonPropertySection.java +++ b/plugins/org.eclipse.sirius.editor/src-gen/org/eclipse/sirius/editor/properties/sections/common/AbstractTextWithButtonPropertySection.java @@ -32,7 +32,6 @@ import org.eclipse.swt.custom.CLabel; import org.eclipse.swt.events.SelectionListener; import org.eclipse.swt.layout.FormAttachment; import org.eclipse.swt.layout.FormData; -import org.eclipse.swt.widgets.Button; import org.eclipse.swt.widgets.Composite; import org.eclipse.swt.widgets.Text; import org.eclipse.ui.IWorkbenchPart; @@ -52,9 +51,6 @@ public abstract class AbstractTextWithButtonPropertySection extends AbstractView /** Text control of the section. */ protected Text text; - /** The button control for the section. */ - protected Button button; - /** Label control of the section. */ protected CLabel nameLabel; @@ -82,17 +78,10 @@ public abstract class AbstractTextWithButtonPropertySection extends AbstractView text = getWidgetFactory().createText(composite, ""); //$NON-NLS-1$ data = new FormData(); data.left = new FormAttachment(0, LABEL_WIDTH); - data.right = new FormAttachment(95, 0); + data.right = new FormAttachment(100, 0); data.top = new FormAttachment(0, ITabbedPropertyConstants.VSPACE); text.setLayoutData(data); - button = getWidgetFactory().createButton(composite, "...", SWT.PUSH); - data = new FormData(); - data.left = new FormAttachment(95, 0); - data.right = new FormAttachment(100, 0); - data.top = new FormAttachment(text, 0, SWT.CENTER); - button.setLayoutData(data); - nameLabel = getWidgetFactory().createCLabel(composite, getLabelText()); data = new FormData(); data.left = new FormAttachment(0, 0); @@ -100,8 +89,6 @@ public abstract class AbstractTextWithButtonPropertySection extends AbstractView data.top = new FormAttachment(text, 0, SWT.CENTER); nameLabel.setLayoutData(data); - button.addSelectionListener(createButtonListener()); - listener = new TextWithContentAssistChangeHelper() { public void textChanged(Text control) { handleTextModified(); |
