From 316a087f7cfed4a4fd765bd8c9e8452a767c3630 Mon Sep 17 00:00:00 2001 From: Vincent Lorenzo Date: Tue, 11 Feb 2014 10:21:45 +0100 Subject: 423675: ENTER & ALT-ENTER shortcuts in textual cells of the new tables are counter-intuitive (opposite of Excel) https://bugs.eclipse.org/bugs/show_bug.cgi?id=423675 Add auto resize of the text widget when the user add a line--- .../papyrus/infra/nattable/celleditor/MultiLineTextCellEditorEx.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/extraplugins/table/org.eclipse.papyrus.infra.nattable/src/org/eclipse/papyrus/infra/nattable/celleditor/MultiLineTextCellEditorEx.java b/extraplugins/table/org.eclipse.papyrus.infra.nattable/src/org/eclipse/papyrus/infra/nattable/celleditor/MultiLineTextCellEditorEx.java index 125a68e0082..2d84c1fac7e 100644 --- a/extraplugins/table/org.eclipse.papyrus.infra.nattable/src/org/eclipse/papyrus/infra/nattable/celleditor/MultiLineTextCellEditorEx.java +++ b/extraplugins/table/org.eclipse.papyrus.infra.nattable/src/org/eclipse/papyrus/infra/nattable/celleditor/MultiLineTextCellEditorEx.java @@ -13,7 +13,10 @@ package org.eclipse.papyrus.infra.nattable.celleditor; import org.eclipse.swt.SWT; +import org.eclipse.swt.events.ControlEvent; +import org.eclipse.swt.events.ControlListener; import org.eclipse.swt.events.KeyEvent; +import org.eclipse.swt.graphics.Rectangle; import org.eclipse.swt.widgets.Composite; import org.eclipse.swt.widgets.Text; import org.eclipse.ui.PlatformUI; -- cgit v1.2.3