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 61695 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]
patch for when we re-apply
org.eclipse.ui.forms_156456.txt (text/plain), 3.24 KB, created by
Curtis d'Entremont
on 2007-03-22 11:55:06 EDT
(
hide
)
Description:
patch for when we re-apply
Filename:
MIME Type:
Creator:
Curtis d'Entremont
Created:
2007-03-22 11:55:06 EDT
Size:
3.24 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.ui.forms >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.57 >diff -u -r1.57 ExpandableComposite.java >--- src/org/eclipse/ui/forms/widgets/ExpandableComposite.java 22 Mar 2007 15:49:00 -0000 1.57 >+++ src/org/eclipse/ui/forms/widgets/ExpandableComposite.java 22 Mar 2007 15:51:01 -0000 >@@ -632,6 +632,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. > * >@@ -1053,4 +1060,4 @@ > if (toggle.isFocusControl()) > gc.drawFocus(0, 0, size.x, size.y); > } >-} >\ No newline at end of file >+} >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.13 >diff -u -r1.13 TitleRegion.java >--- src/org/eclipse/ui/internal/forms/widgets/TitleRegion.java 22 Mar 2007 15:49:00 -0000 1.13 >+++ src/org/eclipse/ui/internal/forms/widgets/TitleRegion.java 22 Mar 2007 15:51:03 -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.27 >diff -u -r1.27 FormHeading.java >--- src/org/eclipse/ui/internal/forms/widgets/FormHeading.java 22 Mar 2007 15:49:00 -0000 1.27 >+++ src/org/eclipse/ui/internal/forms/widgets/FormHeading.java 22 Mar 2007 15:51:03 -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.14 >diff -u -r1.14 BusyIndicator.java >--- src/org/eclipse/ui/internal/forms/widgets/BusyIndicator.java 22 Mar 2007 15:49:00 -0000 1.14 >+++ src/org/eclipse/ui/internal/forms/widgets/BusyIndicator.java 22 Mar 2007 15:51:02 -0000 >@@ -61,6 +61,13 @@ > }); > } > >+ /* (non-Javadoc) >+ * @see org.eclipse.swt.widgets.Control#forceFocus() >+ */ >+ public boolean forceFocus() { >+ return false; >+ } >+ > private void loadProgressImage() { > InputStream is = BusyIndicator.class > .getResourceAsStream("progress.gif"); //$NON-NLS-1$
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