Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse 4 » PlaceHolder
PlaceHolder [message #1743631] Sat, 17 September 2016 11:37
Jean-Pascal Laux is currently offline Jean-Pascal LauxFriend
Messages: 74
Registered: December 2011

I have implemented PlaceHolder and Shared elements like explained in the Lars Vogel's book.
It works fine but I have a little issue.

By default the PlaceHolder is not visible. When the user clicks on a element of my tree viewer, I put the PlaceHolder visible. It works but at the first activation, the part is not activated, I have to click to the tab to see it.
I have tried several things with no success. I know the renderer is "lazy" and I think it could the cause of my problem.

Here my cdoe :
public static MPart show(EPartService partService,String id, String code) {
MPart part=null;

if (code==null)
else {
if (part==null) {
part = partService.createPart(id);
if (part!=null) part.setElementId(id+"."+code);

if (part!=null) {
if (part.getCurSharedRef()!=null) {
return part;

Any idea about ?


Previous Topic:Proxy Service
Next Topic:HTTP Proxy Authentication Required
Goto Forum:

Current Time: Mon Jun 27 22:11:41 GMT 2022

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

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

Back to the top