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 10540 Details for
Bug 60479
[EditorMgmt] switch to tabs on bottom then back to top redraws poorly
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
[patch]
Patch to add the “resizeListener” code back in “DefaultPartPresentation”
default_part_patch.txt (text/plain), 1.26 KB, created by
Ines Khelifi
on 2004-05-12 11:00:03 EDT
(
hide
)
Description:
Patch to add the “resizeListener” code back in “DefaultPartPresentation”
Filename:
MIME Type:
Creator:
Ines Khelifi
Created:
2004-05-12 11:00:03 EDT
Size:
1.26 KB
patch
obsolete
>Index: Eclipse UI/org/eclipse/ui/internal/presentations/DefaultPartPresentation.java >=================================================================== >RCS file: /home/eclipse/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/presentations/DefaultPartPresentation.java,v >retrieving revision 1.4 >diff -u -r1.4 DefaultPartPresentation.java >--- Eclipse UI/org/eclipse/ui/internal/presentations/DefaultPartPresentation.java 12 May 2004 01:40:44 -0000 1.4 >+++ Eclipse UI/org/eclipse/ui/internal/presentations/DefaultPartPresentation.java 12 May 2004 14:45:02 -0000 >@@ -157,6 +157,12 @@ > } > }; > >+ private Listener resizeListener = new Listener() { >+ public void handleEvent(Event e) { >+ setControlSize(); >+ } >+ }; >+ > private IPropertyListener childPropertyChangeListener = new IPropertyListener() { > public void propertyChanged(Object source, int property) { > if (source instanceof IPresentablePart) { >@@ -274,6 +280,9 @@ > tabFolder.getControl().addListener(SWT.MenuDetect, menuListener); > > tabFolder.addButtonListener(buttonListener); >+ >+ // listener to resize visible components >+ tabFolder.getControl().addListener(SWT.Resize, resizeListener); > > dragListener = new Listener() { > public void handleEvent(Event event) {
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 60479
:
10540
|
10563