UiBinder is XML and you have to import the package as namespace in order to 
use the components. Personally I would not create another package with 
classes extending the implementation because both classes would be public 
and both can be used in UiBinder then. That is likely confusing. I would 
put all components in the same package. Package private classes supporting 
a component could have the component name as prefix so they form a group in 
your IDE through sorting.

-- J.

[email protected] schrieb am Freitag, 29. November 2024 um 20:20:57 UTC+1:

> Hello,
>
> Im creating a component library for GWT and I want to be able to use the 
> components in UI binder. However, when implementing my components, each 
> component gets its own package, containing styles, and package private 
> classes needed to build the component. 
>
> However, to use in Uibinder, I need to do something like <m:button.Button 
> text="Click" />
>
> where m points to the package with my components.
>
> Whats is bugging me is the extra "button" in the declaration. Is there 
> anyway to flatten this aside from creating another package with objects 
> simply extending the implementation ?
>
> Thanks
>
>

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/google-web-toolkit/5186c8d1-ab87-4741-b4f9-54f4d579dd24n%40googlegroups.com.

Reply via email to