summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVeronika Irvine <veronika>2005-10-27 12:57:10 +0000
committerVeronika Irvine <veronika>2005-10-27 12:57:10 +0000
commit43d75b5f85b54d28ea519896d6e52d18e49e215b (patch)
treec08c378d0bfa33b685148ec8444161e923cf9240
parent8e56b8564e1d03547c1b14624153e5451fe4aa93 (diff)
downloadeclipse.platform.swt-43d75b5f85b54d28ea519896d6e52d18e49e215b.tar.gz
eclipse.platform.swt-43d75b5f85b54d28ea519896d6e52d18e49e215b.tar.xz
eclipse.platform.swt-43d75b5f85b54d28ea519896d6e52d18e49e215b.zip
Bug 92341 - Add Virtual Support for Tree
-rwxr-xr-xbundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Tree.java6
-rwxr-xr-xbundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/TreeItem.java6
2 files changed, 6 insertions, 6 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Tree.java b/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Tree.java
index 7691ab6e91..ebc327dac2 100755
--- a/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Tree.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Tree.java
@@ -325,7 +325,7 @@ protected void checkSubclass () {
*
* @since 3.2
*/
-/*public*/ void clear (int index, boolean all) {
+public void clear (int index, boolean all) {
checkWidget ();
int hItem = OS.SendMessage (handle, OS.TVM_GETNEXTITEM, OS.TVGN_ROOT, 0);
if (hItem == 0) error (SWT.ERROR_INVALID_RANGE);
@@ -370,7 +370,7 @@ void clear (int hItem, TVITEM tvItem) {
*
* @since 3.2
*/
-/*public*/ void clearAll (boolean all) {
+public void clearAll (boolean all) {
checkWidget ();
int hItem = OS.SendMessage (handle, OS.TVM_GETNEXTITEM, OS.TVGN_ROOT, 0);
if (hItem == 0) return;
@@ -2158,7 +2158,7 @@ public void setInsertMark (TreeItem item, boolean before) {
*
* @since 3.2
*/
-/*public*/ void setItemCount (int count) {
+public void setItemCount (int count) {
checkWidget ();
count = Math.max (0, count);
int hItem = OS.SendMessage (handle, OS.TVM_GETNEXTITEM, OS.TVGN_ROOT, 0);
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/TreeItem.java b/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/TreeItem.java
index 6fff7b26c5..bbdd139b48 100755
--- a/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/TreeItem.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/TreeItem.java
@@ -270,7 +270,7 @@ void clear () {
*
* @since 3.2
*/
-/*public*/ void clear (int index, boolean all) {
+public void clear (int index, boolean all) {
checkWidget ();
int hwnd = parent.handle;
int hItem = OS.SendMessage (hwnd, OS.TVM_GETNEXTITEM, OS.TVGN_CHILD, handle);
@@ -304,7 +304,7 @@ void clear () {
*
* @since 3.2
*/
-/*public*/ void clearAll (boolean all) {
+public void clearAll (boolean all) {
checkWidget ();
int hwnd = parent.handle;
int hItem = OS.SendMessage (hwnd, OS.TVM_GETNEXTITEM, OS.TVGN_CHILD, handle);
@@ -1450,7 +1450,7 @@ public void setText (String [] strings) {
*
* @since 3.2
*/
-/*public*/ void setItemCount (int count) {
+public void setItemCount (int count) {
checkWidget ();
count = Math.max (0, count);
int hwnd = parent.handle;