|
|
Re: TreeViewer refresh [message #12813 is a reply to message #12642] |
Wed, 28 March 2007 10:14 |
Eclipse User |
|
|
|
Originally posted by: rsternberg.innoopract.com
Hi Markus,
sorry for the delay.
Yes, there are some open issues on the Tree widget. I adapted the
workbench demo to test your setup, and I get a JavaScipt error, too. I
will look after it as soon as possible. However, I'm not sure if this is
exactly the same error that breaks your application.
It would help if you could provide a code snippet to reproduce the
error. If you like, you can also file a bug in the Eclipse bugzilla.
>> the UI gets loocked and I can not work in the workbench properly anymore.
>> This behavior does not happen, if I right click on an element that is
>> still in the model.
If the UI gets locked, this means that either a JavaScript error has
occured or an Exception was thrown on the server side. JavaScript errors
are reported by most web browsers. A copy of this error message would be
very helpful.
Regards,
Ralf
|
|
|
Re: TreeViewer refresh [message #14548 is a reply to message #12813] |
Thu, 29 March 2007 12:18 |
Markus rüger Messages: 369 Registered: July 2009 |
Senior Member |
|
|
Hi,
here is the example. It is based on You DemoTreeViewPart. So just replace
the code with mine to test it.
Now, the error/lock occurs if you do the following steps:
- Replace the code of DemoTreeViewPart with the one I included.
- Start the demo with your included launchconfiguration (use the cvs state
of the plugins)
- Navigate to the demo in IE or Firefox so that you see the demo workbench
- Now right click for example on "tree object 5" in view "View I" and choose
"update model"
- Now right cliick again and choose "refresh"
The result should be an empty tree and a locked UI.
Good luck ;-)
Makrus
"Ralf Sternberg" <rsternberg@innoopract.com> schrieb im Newsbeitrag
news:eudf6b$d8j$1@utils.eclipse.org...
> Hi Markus,
>
> sorry for the delay.
>
> Yes, there are some open issues on the Tree widget. I adapted the
> workbench demo to test your setup, and I get a JavaScipt error, too. I
> will look after it as soon as possible. However, I'm not sure if this is
> exactly the same error that breaks your application.
>
> It would help if you could provide a code snippet to reproduce the
> error. If you like, you can also file a bug in the Eclipse bugzilla.
>
>>> the UI gets loocked and I can not work in the workbench properly
>>> anymore.
>>> This behavior does not happen, if I right click on an element that is
>>> still in the model.
>
> If the UI gets locked, this means that either a JavaScript error has
> occured or an Exception was thrown on the server side. JavaScript errors
> are reported by most web browsers. A copy of this error message would be
> very helpful.
>
> Regards,
> Ralf
|
|
|
Re: TreeViewer refresh [message #14668 is a reply to message #14548] |
Thu, 29 March 2007 15:51 |
Eclipse User |
|
|
|
Originally posted by: rsternberg.innoopract.com
Hi Markus,
this bug was lurking in the disposal of tree items. It's fixed, thanks
for the hint.
Markus Krüger schrieb:
> here is the example. It is based on You DemoTreeViewPart. So just replace
> the code with mine to test it.
> Now, the error/lock occurs if you do the following steps:
> - Replace the code of DemoTreeViewPart with the one I included.
> - Start the demo with your included launchconfiguration (use the cvs state
> of the plugins)
> - Navigate to the demo in IE or Firefox so that you see the demo workbench
> - Now right click for example on "tree object 5" in view "View I" and choose
> "update model"
> - Now right cliick again and choose "refresh"
> The result should be an empty tree and a locked UI.
The result is now an empty tree.
Regards,
Ralf
|
|
|
|
Powered by
FUDForum. Page generated in 0.03432 seconds