Skip to main content



      Home
Home » Eclipse Projects » Eclipse 4 » Show part title when added directly to sash container
Show part title when added directly to sash container [message #1057819] Thu, 09 May 2013 00:06 Go to next message
Eclipse UserFriend
When add a part to a sash container directly, the part title is not shown. We understand that when add a part to a part stack, the title is shown. But in this case other part can stack to the same part stack, which we don't want.
So in order to solve our problem, could anyone please answer any of the following two questions?

1. How to show part title when part is added directly to sash container?
2. How to disable other part's docking to a part stack?

Thanks
Re: Show part title when added directly to sash container [message #1058208 is a reply to message #1057819] Mon, 13 May 2013 04:39 Go to previous messageGo to next message
Eclipse UserFriend
1. You'd have to provide a modified SashRenderer. Take a look at the default one and it should not be too complex.
2. That's a bit ambiguous. How would you define which part is allowed in which part stack? Take a look at the NO_MOVE tag which inhibits DnD.
Re: Show part title when added directly to sash container [message #1064136 is a reply to message #1058208] Mon, 17 June 2013 14:42 Go to previous message
Eclipse UserFriend
This is actually an issue in the ContributedPartRenderer. We should be checking whether the part is contained in an MPartStack and, if not, provide a wrapper suitable for a stand-alone part.

We'll be looking at this in Luna.
Previous Topic:unhandled event loop in juno and kepler
Next Topic:Access Menu at runtime
Goto Forum:
  


Current Time: Fri Jul 25 01:02:02 EDT 2025

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

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

Back to the top