PerspectiveExtension and PlaceholderFolder [message #486364] |
Thu, 17 September 2009 08:46  |
Eclipse User |
|
|
|
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 #657643 is a reply to message #487045] |
Thu, 03 March 2011 09:47  |
Eclipse User |
|
|
|
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
>
|
|
|
Powered by
FUDForum. Page generated in 0.02845 seconds