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 179870 Details for
Bug 317849
A SashForm replacement
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]
Allow an MPartSashContainer to be 'shared'
patch(317849-3) (text/plain), 1.16 KB, created by
Eric Moffatt
on 2010-09-29 13:33:07 EDT
(
hide
)
Description:
Allow an MPartSashContainer to be 'shared'
Filename:
MIME Type:
Creator:
Eric Moffatt
Created:
2010-09-29 13:33:07 EDT
Size:
1.16 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.e4.ui.workbench.renderers.swt >Index: src/org/eclipse/e4/ui/workbench/renderers/swt/SashLayout.java >=================================================================== >RCS file: /cvsroot/eclipse/e4/org.eclipse.e4.ui/bundles/org.eclipse.e4.ui.workbench.renderers.swt/src/org/eclipse/e4/ui/workbench/renderers/swt/SashLayout.java,v >retrieving revision 1.1 >diff -u -r1.1 SashLayout.java >--- src/org/eclipse/e4/ui/workbench/renderers/swt/SashLayout.java 28 Sep 2010 20:18:45 -0000 1.1 >+++ src/org/eclipse/e4/ui/workbench/renderers/swt/SashLayout.java 29 Sep 2010 17:30:11 -0000 >@@ -293,9 +293,10 @@ > * @param bounds > */ > private void setRectangle(MUIElement node, Rectangle bounds) { >- if (node.getWidget() instanceof Control) >- ((Control) (node.getWidget())).setBounds(bounds); >- else if (node instanceof MGenericTile<?>) { >+ if (node.getWidget() instanceof Control) { >+ Control ctrl = (Control) node.getWidget(); >+ ctrl.setBounds(bounds); >+ } else if (node instanceof MGenericTile<?>) { > Rectangle newRect = new Rectangle(bounds.x, bounds.y, bounds.width, > bounds.height); > node.setWidget(newRect);
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 317849
:
172629
|
176553
|
179782
|
179783
|
179786
| 179870