|
|
|
|
|
|
Re: Icons of Outline-view [message #783318 is a reply to message #782815] |
Wed, 25 January 2012 13:47 |
Kitesurfer () Messages: 87 Registered: December 2009 |
Member |
|
|
Hi Dani,
I found what is the cause. When developing a plugin the name of the icon in the sourcecode, in my case "section.gif", and the name of the icon in the icon-folder of the project, in my case "SECTION.gif", are case-insensitive.
When deploying the plugin via a .tar file suddenly it becomes case-sensitive !! ... when I change the sourcecode to "SECTION.gif" it all works, also when deployed.
This might be a "bug" in Eclipse.
So far for this problem. The other one, regarding the Outline-view, is that when I have a an Outline-view with a lot of items ... I scroll to the below part of the Outline-view ... click on the last item of the Outline-view (resulting that the editor goes to the end of my sourcecode) ... I alter something in the sourcecode ... then Outline-view suddenly "jumps" to the top !!
What I'd want is that the Outline of my extension(plugin) works just like the Outline of java. With java the Outline is positioned on the same item as where I am in the sourcecode.
Do you, or anyone, know how to do this ?
Thanks.
Hans
|
|
|
Re: Icons of Outline-view [message #787338 is a reply to message #783318] |
Tue, 31 January 2012 13:21 |
Dani Megert Messages: 3802 Registered: July 2009 |
Senior Member |
|
|
On 25.01.2012 14:47, Kitesurfer Mising name wrote:
> Hi Dani,
>
> I found what is the cause. When developing a plugin the name of the
> icon in the sourcecode, in my case "section.gif", and the name of the
> icon in the icon-folder of the project, in my case "SECTION.gif", are
> case-insensitive.
>
> When deploying the plugin via a .tar file suddenly it becomes
> case-sensitive !! ... when I change the sourcecode to "SECTION.gif" it
> all works, also when deployed.
>
> This might be a "bug" in Eclipse.
>
> So far for this problem. The other one, regarding the Outline-view, is
> that when I have a an Outline-view with a lot of items ... I scroll to
> the below part of the Outline-view ... click on the last item of the
> Outline-view (resulting that the editor goes to the end of my
> sourcecode) ... I alter something in the sourcecode ... then
> Outline-view suddenly "jumps" to the top !! What I'd want is that the
> Outline of my extension(plugin) works just like the Outline of java.
> With java the Outline is positioned on the same item as where I am in
> the sourcecode.
> Do you, or anyone, know how to do this ?
I guess you populate the Outline page with new input when the source
changes. If you only add and remove the children then the selection
should stay unless of course you change (e.g. rename) the selected element.
Dani
>
> Thanks.
> Hans
|
|
|
Powered by
FUDForum. Page generated in 0.04223 seconds