diff options
author | Felipe Heidrich <fheidric> | 2010-12-17 21:48:04 +0000 |
---|---|---|
committer | Felipe Heidrich <fheidric> | 2010-12-17 21:48:04 +0000 |
commit | 1c8d6d064e4a8a70316f776a21806c7dda140423 (patch) | |
tree | a013b3317233078ea393b78e85ad02a9fd262ac2 /bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Table.java | |
parent | d8c7ac1c238569192a4106f29243a448a4e0192d (diff) | |
download | eclipse.platform.swt-1c8d6d064e4a8a70316f776a21806c7dda140423.tar.gz eclipse.platform.swt-1c8d6d064e4a8a70316f776a21806c7dda140423.tar.xz eclipse.platform.swt-1c8d6d064e4a8a70316f776a21806c7dda140423.zip |
Bug 29779 - BIDI: lack of ability to change orientation of widget in runtime [no public methods yet]
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Table.java')
-rw-r--r-- | bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Table.java | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Table.java b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Table.java index 305a54feed..dd5ba91151 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Table.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Table.java @@ -3139,6 +3139,16 @@ public void setLinesVisible (boolean show) { } } +void setOrientation (boolean create) { + super.setOrientation (create); + for (int i=0; i<itemCount; i++) { + if (items[i] != null) items[i].setOrientation (create); + } + for (int i=0; i<columnCount; i++) { + if (columns[i] != null) columns[i].setOrientation (create); + } +} + void setParentBackground () { ownerDraw = true; recreateRenderers (); |