Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse 4 » Open and close parts dynamically(Open and close parts dynamically)
Open and close parts dynamically [message #644441] Sat, 11 December 2010 10:58 Go to next message
Pete is currently offline PeteFriend
Messages: 28
Registered: March 2010
Junior Member
Hi All,

I am having trouble figuring out how to open and close parts dynamically in e4.

What I am trying to achieve is to have buttons on the tool bar that when pressed, would close the current part and open another part. Anyone know of a tutorial that discusses this or provide a hint as to how this could be achieved.

Thanks.

Pete
Re: Open and close parts dynamically [message #644651 is a reply to message #644441] Mon, 13 December 2010 16:01 Go to previous messageGo to next message
Remy Suen is currently offline Remy SuenFriend
Messages: 462
Registered: July 2009
Senior Member
http://wiki.eclipse.org/E4/EAS/Part_Service
Re: Open and close parts dynamically [message #644745 is a reply to message #644651] Tue, 14 December 2010 04:54 Go to previous messageGo to next message
Pete is currently offline PeteFriend
Messages: 28
Registered: March 2010
Junior Member
Thanks Remy for your speedy response.

This is exactly what I was looking for.
Re: Open and close parts dynamically [message #842431 is a reply to message #644441] Thu, 12 April 2012 09:37 Go to previous messageGo to next message
Tommaso De Sica is currently offline Tommaso De SicaFriend
Messages: 131
Registered: March 2012
Location: Italy
Senior Member

But for closing a part?!
Re: Open and close parts dynamically [message #842707 is a reply to message #842431] Thu, 12 April 2012 14:51 Go to previous messageGo to next message
Eclipse UserFriend
see
EPartService.findPart();
EPartService.showPart();
EPartService.hidePart();
Re: Open and close parts dynamically [message #843962 is a reply to message #842707] Fri, 13 April 2012 14:47 Go to previous message
Tommaso De Sica is currently offline Tommaso De SicaFriend
Messages: 131
Registered: March 2012
Location: Italy
Senior Member

Sopot Cela wrote on Thu, 12 April 2012 16:51
see
EPartService.findPart();
EPartService.showPart();
EPartService.hidePart();


Perfect. Thank you.
Previous Topic:E4 jvm crash at startup on Suse 10
Next Topic:DI & Auto-start
Goto Forum:
  


Current Time: Sat Apr 20 00:53:21 GMT 2024

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

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

Back to the top