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 213123 Details for
Bug 375194
Moving part cast exception
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 proposal which works for me
patch.txt (text/plain), 1.27 KB, created by
Nobody - feel free to take it
on 2012-03-23 15:11:51 EDT
(
hide
)
Description:
Patch proposal which works for me
Filename:
MIME Type:
Creator:
Nobody - feel free to take it
Created:
2012-03-23 15:11:51 EDT
Size:
1.27 KB
patch
obsolete
>diff --git a/bundles/org.eclipse.e4.ui.workbench/src/org/eclipse/e4/ui/internal/workbench/ModelServiceImpl.java b/bundles/org.eclipse.e4.ui.workbench/src/org/eclipse/e4/ui/internal/workbench/ModelServiceImpl.java >index 341d0ad..037cd35 100644 >--- a/bundles/org.eclipse.e4.ui.workbench/src/org/eclipse/e4/ui/internal/workbench/ModelServiceImpl.java >+++ b/bundles/org.eclipse.e4.ui.workbench/src/org/eclipse/e4/ui/internal/workbench/ModelServiceImpl.java >@@ -560,12 +560,14 @@ > // find the correct place to start the insertion > MUIElement insertRoot = relTo.getParent(); > while (insertRoot != null && !(insertRoot instanceof MWindow) >- && !(insertRoot instanceof MPartSashContainer)) { >+ && !(insertRoot instanceof MPartSashContainer) >+ && !(insertRoot instanceof MPerspective)) { > relTo = (MPartSashContainerElement) insertRoot; > insertRoot = insertRoot.getParent(); > } > >- if (insertRoot instanceof MWindow || insertRoot instanceof MArea) { >+ if (insertRoot instanceof MWindow || insertRoot instanceof MArea >+ || insertRoot instanceof MPerspective) { > // OK, we're certainly going to need a new sash > MPartSashContainer newSash = BasicFactoryImpl.eINSTANCE.createPartSashContainer(); > newSash.setHorizontal(where == LEFT_OF || where == RIGHT_OF);
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 375194
:
213122
| 213123