summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelipe Heidrich <fheidric>2006-02-03 21:38:00 +0000
committerFelipe Heidrich <fheidric>2006-02-03 21:38:00 +0000
commitaf13fa6ef381db19a47b4baf06fb07443642f2fe (patch)
treeee22658f2dbf70c8dbe83377b6e067a1e0f72a8b
parent4f97043ac0294678dc2a69840e1b387e1bb736a9 (diff)
downloadeclipse.platform.swt-af13fa6ef381db19a47b4baf06fb07443642f2fe.tar.gz
eclipse.platform.swt-af13fa6ef381db19a47b4baf06fb07443642f2fe.tar.xz
eclipse.platform.swt-af13fa6ef381db19a47b4baf06fb07443642f2fe.zip
*** empty log message ***
-rwxr-xr-xbundles/org.eclipse.swt/.classpath_motif1
-rw-r--r--bundles/org.eclipse.swt/.classpath_motif_j2me1
-rwxr-xr-xbundles/org.eclipse.swt/.classpath_photon1
-rw-r--r--bundles/org.eclipse.swt/.classpath_photon_j2me1
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT/emulated/expand/org/eclipse/swt/widgets/ExpandBar.java3
5 files changed, 5 insertions, 2 deletions
diff --git a/bundles/org.eclipse.swt/.classpath_motif b/bundles/org.eclipse.swt/.classpath_motif
index d507f03267..825684a47e 100755
--- a/bundles/org.eclipse.swt/.classpath_motif
+++ b/bundles/org.eclipse.swt/.classpath_motif
@@ -8,6 +8,7 @@
<classpathentry kind="src" path="Eclipse SWT/emulated/tabfolder"/>
<classpathentry kind="src" path="Eclipse SWT/emulated/tray"/>
<classpathentry kind="src" path="Eclipse SWT/emulated/treetable"/>
+ <classpathentry kind="src" path="Eclipse SWT/emulated/expand"/>
<classpathentry kind="src" path="Eclipse SWT/common"/>
<classpathentry kind="src" path="Eclipse SWT/common_j2se"/>
<classpathentry kind="src" path="Eclipse SWT PI/motif">
diff --git a/bundles/org.eclipse.swt/.classpath_motif_j2me b/bundles/org.eclipse.swt/.classpath_motif_j2me
index 18dc7b5277..d86f4bd290 100644
--- a/bundles/org.eclipse.swt/.classpath_motif_j2me
+++ b/bundles/org.eclipse.swt/.classpath_motif_j2me
@@ -7,6 +7,7 @@
<classpathentry kind="src" path="Eclipse SWT/emulated/tabfolder"/>
<classpathentry kind="src" path="Eclipse SWT/emulated/tray"/>
<classpathentry kind="src" path="Eclipse SWT/emulated/treetable"/>
+ <classpathentry kind="src" path="Eclipse SWT/emulated/expand"/>
<classpathentry kind="src" path="Eclipse SWT/common"/>
<classpathentry kind="src" path="Eclipse SWT/common_j2me"/>
<classpathentry kind="src" path="Eclipse SWT PI/motif">
diff --git a/bundles/org.eclipse.swt/.classpath_photon b/bundles/org.eclipse.swt/.classpath_photon
index 53dcc7122d..93f9983e7b 100755
--- a/bundles/org.eclipse.swt/.classpath_photon
+++ b/bundles/org.eclipse.swt/.classpath_photon
@@ -8,6 +8,7 @@
<classpathentry kind="src" path="Eclipse SWT/emulated/tray"/>
<classpathentry kind="src" path="Eclipse SWT/emulated/treetable"/>
<classpathentry kind="src" path="Eclipse SWT/emulated/textlayout"/>
+ <classpathentry kind="src" path="Eclipse SWT/emulated/expand"/>
<classpathentry kind="src" path="Eclipse SWT/common"/>
<classpathentry kind="src" path="Eclipse SWT/common_j2se"/>
<classpathentry kind="src" path="Eclipse SWT PI/photon">
diff --git a/bundles/org.eclipse.swt/.classpath_photon_j2me b/bundles/org.eclipse.swt/.classpath_photon_j2me
index a397634dc3..29524560fa 100644
--- a/bundles/org.eclipse.swt/.classpath_photon_j2me
+++ b/bundles/org.eclipse.swt/.classpath_photon_j2me
@@ -7,6 +7,7 @@
<classpathentry kind="src" path="Eclipse SWT/emulated/tray"/>
<classpathentry kind="src" path="Eclipse SWT/emulated/treetable"/>
<classpathentry kind="src" path="Eclipse SWT/emulated/textlayout"/>
+ <classpathentry kind="src" path="Eclipse SWT/emulated/expand"/>
<classpathentry kind="src" path="Eclipse SWT/common"/>
<classpathentry kind="src" path="Eclipse SWT/common_j2me"/>
<classpathentry kind="src" path="Eclipse SWT PI/photon">
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/emulated/expand/org/eclipse/swt/widgets/ExpandBar.java b/bundles/org.eclipse.swt/Eclipse SWT/emulated/expand/org/eclipse/swt/widgets/ExpandBar.java
index 81b78f768d..9a811f8384 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT/emulated/expand/org/eclipse/swt/widgets/ExpandBar.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT/emulated/expand/org/eclipse/swt/widgets/ExpandBar.java
@@ -239,6 +239,7 @@ void showItem (int index) {
if (control != null && !control.isDisposed ()) {
control.setVisible (item.expanded);
}
+ item.redraw ();
layoutItems (index + 1, true);
}
@@ -271,7 +272,6 @@ void onKeyDown (Event event) {
case 13: /* Return */
case 32: /* Space */
item.expanded = !item.expanded;
- item.redraw ();
showItem (focusIndex);
Event ev = new Event ();
ev.item = item;
@@ -318,7 +318,6 @@ void onMouseUp (Event event) {
boolean hover = item.x <= x && x < (item.x + item.width) && item.y <= y && y < (item.y + ExpandBar.HEADER_HEIGHT);
if (hover) {
item.expanded = !item.expanded;
- item.redraw ();
showItem (focusIndex);
Event ev = new Event ();
ev.item = item;