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 191011 Details for
Bug 339737
Switching perspectives has trim layout issues
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 force a layout on a perspective switch
patch(339737) (text/plain), 938 bytes, created by
Eric Moffatt
on 2011-03-11 13:12:45 EST
(
hide
)
Description:
Patch to force a layout on a perspective switch
Filename:
MIME Type:
Creator:
Eric Moffatt
Created:
2011-03-11 13:12:45 EST
Size:
938 bytes
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.e4.ui.workbench.addons.swt >Index: src/org/eclipse/e4/ui/workbench/addons/minmax/MinMaxAddon.java >=================================================================== >RCS file: /cvsroot/eclipse/e4/org.eclipse.e4.ui/bundles/org.eclipse.e4.ui.workbench.addons.swt/src/org/eclipse/e4/ui/workbench/addons/minmax/MinMaxAddon.java,v >retrieving revision 1.17 >diff -u -r1.17 MinMaxAddon.java >--- src/org/eclipse/e4/ui/workbench/addons/minmax/MinMaxAddon.java 24 Feb 2011 19:12:17 -0000 1.17 >+++ src/org/eclipse/e4/ui/workbench/addons/minmax/MinMaxAddon.java 11 Mar 2011 18:11:28 -0000 >@@ -166,6 +166,13 @@ > ctf.setMaximized(isMax); > } > } >+ >+ final Shell winShell = (Shell) modelService.getTopLevelWindowFor(ps).getWidget(); >+ winShell.getDisplay().asyncExec(new Runnable() { >+ public void run() { >+ winShell.layout(true, true); >+ } >+ }); > } > }; >
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 339737
: 191011