launch configuration framework slow refresh [message #57574] |
Mon, 19 January 2009 20:31  |
Eclipse User |
|
|
|
Has anybody experienced a 2 second visual refresh delay from the Launch
Configuration framework?
I have a plugin that allows me to run custom services via the launch
framework.
The Run Configuration shows up with 3 tabs: Service, Input and Common.
The Input tab extends AbstractLaunchConfigurationTab. Simply put, it
creates a composite that hosts a viewer that extends TreeViewer with 2
TreeColumn. The first column is used to show the tree node, while the
second column shows the node's editable content.
I do have a few buttons to act on the tree such as Add node etc...
I set up a CellEditor that allows the user to enter data after creating a
node.
The problem manifests itself after a node is created and I call
treeViewer.editElement(treeItem.getData(), 1); // edit the second column
The visual refresh takes about 2 seonds to complete. The tree is half
blanked for that time before the entire tree shows up and the focus set at
the edit area. If I do not make the call, the result is immediate.
Also, the same viewer, if not used by the launch framework did not have
the 2 second visual refresh issue.
I'll greatly appreciate any input.
Son
|
|
|
Re: launch configuration framework slow refresh [message #57598 is a reply to message #57574] |
Tue, 20 January 2009 11:18  |
Eclipse User |
|
|
|
Originally posted by: eclipse-news.rizzoweb.com
This newsgroup is not for technical questions; it is intended for
discussions about the Eclipse foundation, not its technology.
I suggest you try the eclipse.platform newsgroup instead.
Eric
On 1/19/2009 8:31 PM, Son Nguyen wrote:
> Has anybody experienced a 2 second visual refresh delay from the Launch
> Configuration framework?
>
> I have a plugin that allows me to run custom services via the launch
> framework.
> The Run Configuration shows up with 3 tabs: Service, Input and Common.
> The Input tab extends AbstractLaunchConfigurationTab. Simply put, it
> creates a composite that hosts a viewer that extends TreeViewer with 2
> TreeColumn. The first column is used to show the tree node, while the
> second column shows the node's editable content.
>
> I do have a few buttons to act on the tree such as Add node etc...
> I set up a CellEditor that allows the user to enter data after creating
> a node.
>
> The problem manifests itself after a node is created and I call
> treeViewer.editElement(treeItem.getData(), 1); // edit the second column
>
> The visual refresh takes about 2 seonds to complete. The tree is half
> blanked for that time before the entire tree shows up and the focus set
> at the edit area. If I do not make the call, the result is immediate.
>
> Also, the same viewer, if not used by the launch framework did not have
> the 2 second visual refresh issue.
>
> I'll greatly appreciate any input.
>
> Son
>
>
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.02427 seconds