Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristoph Keimel2015-03-06 09:56:44 +0000
committerThomas Schindl2015-03-26 07:58:55 +0000
commit57d8550e1d3908fa9550534552f1aea6991e584e (patch)
treec83805f82a04322628d2f001a4a0846f43848ece /experimental
parentede24b8817820f6fcb3812d6052ee6aa1f915d9f (diff)
downloadorg.eclipse.efxclipse-57d8550e1d3908fa9550534552f1aea6991e584e.tar.gz
org.eclipse.efxclipse-57d8550e1d3908fa9550534552f1aea6991e584e.tar.xz
org.eclipse.efxclipse-57d8550e1d3908fa9550534552f1aea6991e584e.zip
Bug 462925 - [swtonjavafx] Request implementation of
TreeItem.removeAll() Signed-off-by: Christoph Keimel <c.keimel@emsw.de>
Diffstat (limited to 'experimental')
-rw-r--r--experimental/swt/org.eclipse.fx.runtime.swt/src/org/eclipse/swt/widgets/TreeItem.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/experimental/swt/org.eclipse.fx.runtime.swt/src/org/eclipse/swt/widgets/TreeItem.java b/experimental/swt/org.eclipse.fx.runtime.swt/src/org/eclipse/swt/widgets/TreeItem.java
index 83e2f5900..e9730c1f9 100644
--- a/experimental/swt/org.eclipse.fx.runtime.swt/src/org/eclipse/swt/widgets/TreeItem.java
+++ b/experimental/swt/org.eclipse.fx.runtime.swt/src/org/eclipse/swt/widgets/TreeItem.java
@@ -126,6 +126,10 @@ public class TreeItem extends Item {
public javafx.scene.control.TreeItem<TreeItem> internal_getNativeObject() {
return nativeObject;
}
+
+ public void removeAll() {
+ nativeObject.getChildren().clear();
+ }
@Override
public void setText(String string) {
@@ -479,4 +483,5 @@ public class TreeItem extends Item {
IMAGE,
CHECK
}
+
} \ No newline at end of file

Back to the top