Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse 4 » Rest perspective in E4( Any idea on how to achieve the below reset perspectiveI(please refer to the screenshot attached) using e4.)
Rest perspective in E4 [message #1385556] Mon, 09 June 2014 10:35 Go to next message
vinod raj is currently offline vinod rajFriend
Messages: 2
Registered: June 2014
Junior Member
When you launch the application the perspective would be as shown in default partstack in the dig1 and when you intercahnge the part stack as shown in dig changed partstack and press reset perspective the part stack should be arranged as the defaultpart stack.So How can this be achieved in e4.
Re: Rest perspective in E4 [message #1385593 is a reply to message #1385556] Mon, 09 June 2014 19:08 Go to previous message
Eric Moffatt is currently offline Eric MoffattFriend
Messages: 118
Registered: July 2009
Senior Member

Generally what you do to 'reset' a perpsective is to store the 'original' perspective's model as a snippet and / or have code that will generate it. Then you 'reset' by creating a new sub-structure model for the MPerspective and replace the existing contents with the 'original'.
Previous Topic:How to change font size of open-files list?
Next Topic:Applying CSS on every Activate event
Goto Forum:
  


Current Time: Tue Aug 04 07:27:32 GMT 2015

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

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