yes that's what I mean. I inherited the code that uses RF and MVP.
Classes implement Activity interface defined in
com.google.gwt.activity.shared and this needs the Event bus from the
same package. I'm not sure if this will change in future releases of
GWT.
Looks a bit inconsequent to me But hey it's gwt one shouldn't be surprised
On 3 August 2012 18:03, Clint Checketts <checketts@gmail.com> wrote:
> That would be a good/quick fix for GWT 2.5 to deprecate the old 'start'
> method and fix the signature.
>
> On my project we have a base Activity and that is exactly what I did, so we
> always have the right EventBus imported..
>
> -Clint
>
>
> On Thu, Aug 2, 2012 at 8:55 AM, Jens <jens.nehlmeier@gmail.com> wrote:
>>>
>>> I was mid way of re-factoring the code when I realised that the
>>> Activity interface needs EventBus from
>>> com.google.gwt.event.shared.EventBus :(
>>
>>
>> Simply don't import the old EventBus package in your activity. If you need
>> to store the EventBus provided in the start() method in your activity then
>> assign it to a variable that represents the new EventBus.
>>
>> -- J.
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Google Web Toolkit" group.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msg/google-web-toolkit/-/hsJo-SBq_RkJ.
>>
>> To post to this group, send email to google-web-toolkit@googlegroups.com.
>> To unsubscribe from this group, send email to
>> google-web-toolkit+unsubscribe@googlegroups.com.
>> For more options, visit this group at
>> http://groups.google.com/group/google-web-toolkit?hl=en.
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscribe@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
No comments:
Post a Comment