Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVincent Lorenzo2014-02-11 04:21:45 -0500
committerVincent Lorenzo2014-02-11 04:21:45 -0500
commit316a087f7cfed4a4fd765bd8c9e8452a767c3630 (patch)
tree14c7bc843557ed905fd53d7ad5c288fd84854d91
parent3e9d268971ffd214f1a9346d237d71459ab40e28 (diff)
downloadorg.eclipse.papyrus-316a087f7cfed4a4fd765bd8c9e8452a767c3630.tar.gz
org.eclipse.papyrus-316a087f7cfed4a4fd765bd8c9e8452a767c3630.tar.xz
org.eclipse.papyrus-316a087f7cfed4a4fd765bd8c9e8452a767c3630.zip
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
-rw-r--r--extraplugins/table/org.eclipse.papyrus.infra.nattable/src/org/eclipse/papyrus/infra/nattable/celleditor/MultiLineTextCellEditorEx.java3
1 files changed, 3 insertions, 0 deletions
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;

Back to the top