Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse 4 » Reset Perspective in E4 Application(Reset Perspective not Working(using Snippets) when part are contributed from fragemnts)
Reset Perspective in E4 Application [message #1795300] Thu, 20 September 2018 06:45
Namitha Shankar is currently offline Namitha ShankarFriend
Messages: 2
Registered: August 2012
Junior Member
Hello Everyone,

I have to reset a Perspective in E4 application. EModelService.resetPerspectiveModel() method is not working.

https://bugs.eclipse.org/bugs/show_bug.cgi?id=404231

There was a work around which I found . Using EmodelService.CloneSnippet() Method which will create a dummy perspective and Switch to new Perspective. This works fine for Parts and Containers contributed by Application.e4xmi

But in my application, some parts for the perspective are contributed via different fragments(fragments.e4xmi). When i do reset perspectives, these parts are not visible in the perspective after reset.

Kindly support
Thank you
Previous Topic:Main menu disappear
Next Topic:InjectionException throw after migrate from Oxygen to Neon
Goto Forum:
  


Current Time: Sat Dec 14 12:29:19 GMT 2019

Powered by FUDForum. Page generated in 0.01565 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top