tabbed properties view is slow - how to improve performance ? [message #330537] |
Thu, 31 July 2008 16:48 |
Eclipse User |
|
|
|
Originally posted by: mopr.xxxxx.org
Hello,
I have created an editor based on a SWT Tree which makes use of the tabbed properties view. Unfortunately, the program gets very slow when changing the selection from one tree node to another, which is particularly problematic when using the keyboard to navigate across the tree. After closing the properties view, everything is working smooth again.
Is there a way to speed up the update of the tabbed properties view somehow, maybe by multi-threading or by deferring the update until the selection does not change again within a certain delay ?
I'd appreciate any hint! Many thanks in advance,
Oliver
|
|
|
Re: tabbed properties view is slow - how to improve performance ? [message #330738 is a reply to message #330537] |
Tue, 12 August 2008 13:55 |
Eclipse User |
|
|
|
Originally posted by: bsv.datatel.com
We're seeing similar performance problems with a GEF editor and a tabbed
properties view. The rendering of the view is so slow that the selection
feedback for items in the graphical editor is visually delayed until
the widgets are finished rendering in the properties view.
Does the tabbed properties view have widespread adoption in the Eclipse
community? I'm sensing not..
-Ben
Oliver wrote:
> Hello,
>
> I have created an editor based on a SWT Tree which makes use of the
> tabbed properties view. Unfortunately, the program gets very slow when
> changing the selection from one tree node to another, which is
> particularly problematic when using the keyboard to navigate across the
> tree. After closing the properties view, everything is working smooth
> again.
>
> Is there a way to speed up the update of the tabbed properties view
> somehow, maybe by multi-threading or by deferring the update until the
> selection does not change again within a certain delay ?
>
> I'd appreciate any hint! Many thanks in advance,
>
> Oliver
|
|
|
Re: tabbed properties view is slow - how to improve performance ? [message #330743 is a reply to message #330738] |
Tue, 12 August 2008 14:11 |
Ed Merks Messages: 33251 Registered: July 2009 |
Senior Member |
|
|
Guys,
My suspicion is that the view itself isn't all that slow but rather that
all the work that's being done in your own code to fully populate it. I
could imagine delaying the the update to the editor's selection
provider's selection as one solution. When I try the keyboard
navigation thing with the Ecore Tools diagram editor with a tabbed
properties view open, it all works very nicely with no annoying delays,
so I don't think there are fundamental framework problems...
Ben Vitale wrote:
> We're seeing similar performance problems with a GEF editor and a
> tabbed properties view. The rendering of the view is so slow that the
> selection feedback for items in the graphical editor is visually
> delayed until the widgets are finished rendering in the properties view.
>
> Does the tabbed properties view have widespread adoption in the
> Eclipse community? I'm sensing not..
>
> -Ben
>
> Oliver wrote:
>> Hello,
>>
>> I have created an editor based on a SWT Tree which makes use of the
>> tabbed properties view. Unfortunately, the program gets very slow
>> when changing the selection from one tree node to another, which is
>> particularly problematic when using the keyboard to navigate across
>> the tree. After closing the properties view, everything is working
>> smooth again.
>>
>> Is there a way to speed up the update of the tabbed properties view
>> somehow, maybe by multi-threading or by deferring the update until
>> the selection does not change again within a certain delay ?
>>
>> I'd appreciate any hint! Many thanks in advance,
>>
>> Oliver
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
Powered by
FUDForum. Page generated in 0.03169 seconds