Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristophe Cornu2005-04-01 20:51:44 +0000
committerChristophe Cornu2005-04-01 20:51:44 +0000
commit4f3afed29ebb3721d2f7ce26836be69b4ecda3dd (patch)
tree50a878dd07d1f94b8f79909101da33e10c308122
parentdf947cc21bed97ac0e36207a0068fc44fc33bbd1 (diff)
downloadeclipse.platform.swt-eclipse_3_1_0_M6.tar.gz
eclipse.platform.swt-eclipse_3_1_0_M6.tar.xz
eclipse.platform.swt-eclipse_3_1_0_M6.zip
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT/emulated/treetable/org/eclipse/swt/widgets/Table.java10
-rwxr-xr-xbundles/org.eclipse.swt/buildnotes_swt.html3
2 files changed, 11 insertions, 2 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/emulated/treetable/org/eclipse/swt/widgets/Table.java b/bundles/org.eclipse.swt/Eclipse SWT/emulated/treetable/org/eclipse/swt/widgets/Table.java
index a8d9e8d0ae..a9a8538935 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT/emulated/treetable/org/eclipse/swt/widgets/Table.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT/emulated/treetable/org/eclipse/swt/widgets/Table.java
@@ -67,7 +67,13 @@ public class Table extends Composite {
static final String ID_UNCHECKED = "UNCHECKED"; //$NON-NLS-1$
static final String ID_GRAYUNCHECKED = "GRAYUNCHECKED"; //$NON-NLS-1$
static final String ID_CHECKMARK = "CHECKMARK"; //$NON-NLS-1$
-
+
+//TEMPORARY CODE
+boolean hasFocus;
+public boolean isFocusControl() {
+ return hasFocus;
+}
+
/**
* Constructs a new instance of this class given its parent
* and a style value describing its behavior and appearance.
@@ -1768,6 +1774,7 @@ void onEnd (int stateMask) {
postEvent (SWT.Selection, newEvent);
}
void onFocusIn () {
+ hasFocus = true;
if (itemsCount == 0) return;
if (focusItem != null) {
redrawItem (focusItem.index, true);
@@ -1789,6 +1796,7 @@ void onFocusIn () {
return;
}
void onFocusOut () {
+ hasFocus = false;
if (focusItem != null) {
redrawItem (focusItem.index, true);
}
diff --git a/bundles/org.eclipse.swt/buildnotes_swt.html b/bundles/org.eclipse.swt/buildnotes_swt.html
index 63c4616aab..0b387b3538 100755
--- a/bundles/org.eclipse.swt/buildnotes_swt.html
+++ b/bundles/org.eclipse.swt/buildnotes_swt.html
@@ -12,7 +12,7 @@
Eclipse Platform Build Notes<br>
SWT</h1>
-<h2> SWT Build 3.1 028f - Friday April 1st, 2005 </h2>
+<h2> SWT Build 3.1 028g - Friday April 1st, 2005 </h2>
<h3><a NAME="New APIs"></a>New APIs</h3>
<p>New API has been added to Spinner</p>
<blockquote>
@@ -33,6 +33,7 @@ int Spinner.getDigits()
<br>89665: VM terminated when switching page in the Plugin manifest editor
<br>89885: Crash using command-O.
<br>90009: code assist loses its visual selection
+<br>90024: scrolling code assist can GP
</blockquote>
<h2> SWT Build 3.1 027c - Thursday March 24nd, 2005 </h2>

Back to the top