Could someone check the RAP example, I guess there might be an error [message #520137] |
Thu, 11 March 2010 04:47  |
Eclipse User |
|
|
|
This would happen in two Scenarios:
The example used is the first one on website:
http://www.eclipse.org/rap/demos.php
1. Add an Editor to the example -> Add a New MenuItem to show the Editor -> Run Example -> Execute the MenuItem; Exception is thrown.
I find the error is thrown in the method close() in MenuPopup.java. So I do "//close()", then run again. Works!
2. Add an Editor to the modified code as mentioned above, let the execution of the MenuItem to open a wizard, using wizard to open the Editor.
Can't solve. I guess it might happen in som place where wizard is closing. But I can't change the code.
|
|
|
Re: Could someone check the RAP example, I guess there might be an error [message #520417 is a reply to message #520137] |
Fri, 12 March 2010 00:26   |
Eclipse User |
|
|
|
Hi Wayne,
without testing your scenario, you mention MenuPopup class, but I can't
find such a class in RAP from CVS HEAD. What RAP version are you using?
Best,
Ivan
On 03/11/2010 11:47 AM, wayne wrote:
> This would happen in two Scenarios:
>
> The example used is the first one on website:
>
> http://www.eclipse.org/rap/demos.php
>
> 1. Add an Editor to the example -> Add a New MenuItem to show the
> Editor -> Run Example -> Execute the MenuItem; Exception is thrown. I
> find the error is thrown in the method close() in MenuPopup.java. So I
> do "//close()", then run again. Works!
>
>
> 2. Add an Editor to the modified code as mentioned above, let the
> execution of the MenuItem to open a wizard, using wizard to open the
> Editor. Can't solve. I guess it might happen in som place where wizard
> is closing. But I can't change the code.
|
|
|
Re: Could someone check the RAP example, I guess there might be an error [message #520426 is a reply to message #520417] |
Fri, 12 March 2010 00:50   |
Eclipse User |
|
|
|
hi Wayne, hi Ivan,
the class MenuPopup was a design related one. We used this class to
provide a styled menu. Since we can style menus with rounded corners
and gradients this class was not longer needed. So, I removed the class
right after RAP 1.3 M5 and replaced the menu behaviour with the one
from the workbench.
@Wayne: your error should be goen with M6 or the latest version from HEAD.
Hope this helps.
Regards Holger
On 2010-03-12 11:13:37 +0100, Ivan Furnadjiev <ivan@eclipsesource.com> said:
> Hi Wayne,
>
> without testing your scenario, you mention MenuPopup class, but I can't
> find such a class in RAP from CVS HEAD. What RAP version are you using?
>
> Best,
> Ivan
>
> On 03/11/2010 11:47 AM, wayne wrote:
>> This would happen in two Scenarios:
>>
>> The example used is the first one on website:
>>
>> http://www.eclipse.org/rap/demos.php
>>
>> 1. Add an Editor to the example -> Add a New MenuItem to show the
>> Editor -> Run Example -> Execute the MenuItem; Exception is thrown. I
>> find the error is thrown in the method close() in MenuPopup.java. So I
>> do "//close()", then run again. Works!
>>
>>
>> 2. Add an Editor to the modified code as mentioned above, let the
>> execution of the MenuItem to open a wizard, using wizard to open the
>> Editor. Can't solve. I guess it might happen in som place where wizard
>> is closing. But I can't change the code.
--
-----------------------------------------
http://eclipsesource.com
http://twitter.com/eclipsesource
|
|
|
|
Powered by
FUDForum. Page generated in 0.05683 seconds