Outline View [message #326174] |
Mon, 10 March 2008 13:24 |
Manuel Selva Messages: 189 Registered: July 2009 Location: Grenoble, France |
Senior Member |
|
|
Hi all,
I want to contribute my own content to the Eclipse outline view. It seems
that this view is linked to the current Editor, is there any way for me to
change the content of the outline view when my own view is given focus ?
In fact i created a new eclipse view displaying some informations as a
Time chart. When the user is using this view (== view has focus) i want to
display a Thumbnail of my chart in the outline view. Is there any way to
do this ?
Regards,
Manu
http://manuelselva.st.com
http://manuelselva.wordpress.com/
|
|
|
|
|
Re: Outline View [message #326179 is a reply to message #326176] |
Mon, 10 March 2008 14:44 |
Eclipse User |
|
|
|
Originally posted by: merks.ca.ibm.com
Manuel,
Probably that's not reasonable since this would imply that any time any
other view gets focus, the outline view will want to show the outline
view for that view, but your view would be the only one that supports
it, so in all other cases, the outline view would go blank. I don't
think post users would want to see such a change in behavior...
Manuel Selva wrote:
> Hi Paul,
>
> After looking at Eclipse ContentOutline class i reached the
> isImportant method and changed it to always return true :
>
> //We only care about editors
> //return (part instanceof IEditorPart);
> return true;
>
> My ViewPart is able to adapt to IOutlineContent and is asked for its
> content outline control each time it's necessary.
> Do you think it would be reasonable to open the Standard outline view
> to also care about view part ?
> You suggested me to create my own outline view ? But the user will be
> confuse with 2 outline view .... Do you agree ?
>
> Thanks for your support
>
> Manu
> http://manuelselva.wordpress.com
>
|
|
|
|
Powered by
FUDForum. Page generated in 0.03792 seconds