Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 84331 Details for
Bug 156456
[Forms] widgets accept focus even though they can't do anything with it
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
resynched patch
patch156456.txt (text/plain), 3.17 KB, created by
Adam Archer
on 2007-12-03 11:48:29 EST
(
hide
)
Description:
resynched patch
Filename:
MIME Type:
Creator:
Adam Archer
Created:
2007-12-03 11:48:29 EST
Size:
3.17 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.ui.forms >Index: src/org/eclipse/ui/internal/forms/widgets/TitleRegion.java >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.ui.forms/src/org/eclipse/ui/internal/forms/widgets/TitleRegion.java,v >retrieving revision 1.14 >diff -u -r1.14 TitleRegion.java >--- src/org/eclipse/ui/internal/forms/widgets/TitleRegion.java 25 Apr 2007 20:32:59 -0000 1.14 >+++ src/org/eclipse/ui/internal/forms/widgets/TitleRegion.java 3 Dec 2007 16:45:56 -0000 >@@ -242,6 +242,13 @@ > }); > } > >+ /* (non-Javadoc) >+ * @see org.eclipse.swt.widgets.Control#forceFocus() >+ */ >+ public boolean forceFocus() { >+ return false; >+ } >+ > private Color getColor(String key) { > return (Color) ((FormHeading) getParent()).colors.get(key); > } >Index: src/org/eclipse/ui/internal/forms/widgets/FormHeading.java >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.ui.forms/src/org/eclipse/ui/internal/forms/widgets/FormHeading.java,v >retrieving revision 1.28 >diff -u -r1.28 FormHeading.java >--- src/org/eclipse/ui/internal/forms/widgets/FormHeading.java 10 Sep 2007 18:09:49 -0000 1.28 >+++ src/org/eclipse/ui/internal/forms/widgets/FormHeading.java 3 Dec 2007 16:45:56 -0000 >@@ -337,6 +337,13 @@ > } > } > >+ /* (non-Javadoc) >+ * @see org.eclipse.swt.widgets.Control#forceFocus() >+ */ >+ public boolean forceFocus() { >+ return false; >+ } >+ > private boolean hasToolBar() { > return toolBarManager != null && !toolBarManager.isEmpty(); > } >Index: src/org/eclipse/ui/internal/forms/widgets/BusyIndicator.java >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.ui.forms/src/org/eclipse/ui/internal/forms/widgets/BusyIndicator.java,v >retrieving revision 1.18 >diff -u -r1.18 BusyIndicator.java >--- src/org/eclipse/ui/internal/forms/widgets/BusyIndicator.java 5 Jul 2007 23:14:07 -0000 1.18 >+++ src/org/eclipse/ui/internal/forms/widgets/BusyIndicator.java 3 Dec 2007 16:45:56 -0000 >@@ -78,6 +78,13 @@ > return size; > } > >+ /* (non-Javadoc) >+ * @see org.eclipse.swt.widgets.Control#forceFocus() >+ */ >+ public boolean forceFocus() { >+ return false; >+ } >+ > /** > * Creates a thread to animate the image. > */ >Index: src/org/eclipse/ui/forms/widgets/ExpandableComposite.java >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.ui.forms/src/org/eclipse/ui/forms/widgets/ExpandableComposite.java,v >retrieving revision 1.60 >diff -u -r1.60 ExpandableComposite.java >--- src/org/eclipse/ui/forms/widgets/ExpandableComposite.java 19 Oct 2007 20:07:42 -0000 1.60 >+++ src/org/eclipse/ui/forms/widgets/ExpandableComposite.java 3 Dec 2007 16:45:56 -0000 >@@ -666,6 +666,13 @@ > } > } > >+ /* (non-Javadoc) >+ * @see org.eclipse.swt.widgets.Control#forceFocus() >+ */ >+ public boolean forceFocus() { >+ return false; >+ } >+ > /** > * Overrides 'super' to pass the menu to the text label. > * >@@ -1087,4 +1094,4 @@ > if (toggle.isFocusControl()) > gc.drawFocus(0, 0, size.x, size.y); > } >-} >\ No newline at end of file >+}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 156456
:
49575
|
61695
| 84331