diff options
-rw-r--r-- | bundles/org.eclipse.swt/Eclipse SWT/emulated/treetable/org/eclipse/swt/widgets/Table.java | 10 | ||||
-rwxr-xr-x | bundles/org.eclipse.swt/buildnotes_swt.html | 3 |
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> |