Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » PerspectiveExtension and PlaceholderFolder
PerspectiveExtension and PlaceholderFolder [message #486364] Thu, 17 September 2009 12:46 Go to next message
Adam Lucarz is currently offline Adam LucarzFriend
Messages: 518
Registered: July 2009
Senior Member
Hello,

when I define a PlaceHolderFolder in my perspective and extend the
perspective via PerspectiveExtension there is shown up a warning about
not finding the referenced identifier. That is absolutly correct because
the id is coded in the source code.

But i would like to avoid this without ignoring all warning concerning
identifiers in the plugin.xmls.

My way would be to define a placeholder folder by extension point. But
this is not possible, right?

Is there any possible way to avoid these warnings?

My requirement is to allow stacking of views which does not know each
other. Thats the reason why i need the placeholder folder.

Does anyone has a hint?

Greetings
Adam
Re: PerspectiveExtension and PlaceholderFolder [message #487045 is a reply to message #486364] Mon, 21 September 2009 16:19 Go to previous messageGo to next message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

There's no workaround for that at the moment ... stacking works by specifying another view, I think there is an open bug about specifying a folder instead.

PW


Re: PerspectiveExtension and PlaceholderFolder [message #657643 is a reply to message #487045] Thu, 03 March 2011 14:47 Go to previous message
Eclipse UserFriend
Originally posted by: christian.buergi.post.ch

Hi Everyone

I have the very same problem getting a warning on the relative
identifier in the PerspectiveExtension.

I wonder if there has been fixup/workaround on this ever since (1.5
years since the original question has been asked). I'm using Eclipse 3.6
so there might be an improvment around.

What I'm trying to do is to separate plugins with views from my plugin
with the perspective. I'd like to define a generic inital layout and
contribute views from other plugins only. I found a tutorial at
http://www.eclipsezone.com/eclipse/forums/t53312.html (mind the comment,
that you should use createPlaceholderFolder() instead of createFolder()).

What would help me too is if there is another way to independly add
views without knowing a view in a perspective (as needed by the
relative-field on the perspectiveExtension-views.

Thanks in advance

Regards,
Christian


Am 17.09.2009 14:46, schrieb Adam Lucarz:
> Hello,
>
> when I define a PlaceHolderFolder in my perspective and extend the
> perspective via PerspectiveExtension there is shown up a warning about
> not finding the referenced identifier. That is absolutly correct because
> the id is coded in the source code.
>
> But i would like to avoid this without ignoring all warning concerning
> identifiers in the plugin.xmls.
>
> My way would be to define a placeholder folder by extension point. But
> this is not possible, right?
>
> Is there any possible way to avoid these warnings?



Am 21.09.2009 18:19, schrieb Paul Webster:
> There's no workaround for that at the moment ... stacking works by
> specifying another view, I think there is an open bug about specifying a
> folder instead.
>
> PW
>
Previous Topic:How to set an editor based on a file name pattern
Next Topic:binding activities to commands?
Goto Forum:
  


Current Time: Wed Jan 27 20:17:21 GMT 2021

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

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

Back to the top