@Thomas: thanks for your input.
It looks interesting, especially the hooks such that you can easily add
your own stuff (generator extending existing one) without patching. I will
try to play with it, but I just have to find the time when :(...
Modifying the @ClassName annotation to accept a String[
On Thursday, July 19, 2012 8:25:29 PM UTC+2, Ed wrote:
>
> could automatically have ".parent.child" concatenated for you to "parent
>> child" to be returned when you ask for the class name. However,
>
>
> @Joseph: that's not even such a bad idea. Indeed you could use a Delegator
> class that
>
> could automatically have ".parent.child" concatenated for you to "parent
> child" to be returned when you ask for the class name. However,
@Joseph: that's not even such a bad idea. Indeed you could use a Delegator
class that implements that Widget style interface that forwards the call to
the
>
> How show formatted text inside the body's mail? like this:
@Juan
I donno, just press the buttons till have the desired result.
Why?
Any tips are always welcome...
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group,
>
> How show formatted text inside the body's mail?
>
You can use Github or Google Code to convert your plain text code into
styled HTML that you can use in Mails / Google Groups.
See:
https://groups.google.com/d/topic/google-web-toolkit/t6mXHRPVOfM/discussion
-- J
--
You received this mess
How show formatted text inside the body's mail? like this:
// BaseWidgetCSSResource.javapackage com.testbed.client.resources;
import com.google.gwt.resources.client.CssResource;
public interface BaseWidgetCssResource extends CssResource {
String baseWidget(); }
Cheers,
Juan
2012/7/19 Ed
>
> How do you format the code?
@Juan: what do you mean?
--
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-t
Hi Ed,
How do you format the code?
Cheers,
Juan
2012/7/19 Ed
> Thanks for your detailed and clear example and your time.
> I am aware of this concept and use it a lot.
>
> But, sorry, that doesn't solve my problem.
> Like you said, I have to set 2 styles on the widget, which is not what I
> wa
Ed,
Ideally (in the spirit of CSSResource) you'd hack the
CSSResource/ClientBundle setup so that when extending a CSSResource, you
could automatically have ".parent.child" concatenated for you to "parent
child" to be returned when you ask for the class name. However, I've done
no such hacking
Thanks for your detailed and clear example and your time.
I am aware of this concept and use it a lot.
But, sorry, that doesn't solve my problem.
Like you said, I have to set 2 styles on the widget, which is not what I
want as I want it to be style agnostic as much as possible.
That said, it's a
Ed,
My apologies for my late reply. I've been ruminating over this the last few
days as I've thought about doing it, but never made a working example. Here
is the example. We have our BaseWidget and our BlueWidget which extends it.
Everything about the widget is defined in the BaseWidget CSS, e
If I use a widget of yours I would be totally fine with it if your widget
has two or more css classes applied to define its look and feel/position.
If I want to overwrite your css I would add an additional css class of my
own CssResource to your widget or I would reference your widget through my
@Thomas: thanks for your input. Not sure what to do now. Is it worth adding
an issue Enhancement request: "adding more CSS flexiblity, adapting most
common Google Closure StyleSheet functionality" ? (I couldn't find any
Closure CSS issues)
--
You received this message because you are subscribed
There's no "mixins" in CssResources. We floated the idea of integrating
Closure Stylesheets with ClientBundle, but despite general traction I don't
think anyone actually started working on it.
On Sunday, July 15, 2012 2:47:47 PM UTC+2, Ed wrote:
>
> I have a few style rules like for example:
> -
Thanks for pointing out these concepts but can you be more concrete on how
this can solve my problem listed above?
I know the @Share and @Import concepts and use them, but as far as I know I
still have to set a additional shared style name in java code on the widget
as explained above.
This is
Why don't you define a CSSResource with the shared rules and import it
where needed? See
https://developers.google.com/web-toolkit/doc/latest/DevGuideClientBundle#Imported_scopes
(and
possibly
https://developers.google.com/web-toolkit/doc/latest/DevGuideClientBundle#Shared_scopes
depending
Might it be an idea if the @ClassName annotation allows for an array of
String value's (currently not possible)?
This could solve the problems described above I think. Example:
public interface WidgetStyle extends CssResource {
@ClassName({"Bla", "General"})
String bla(); {
}
General will then
Thanks for your answer.
Could you give an example?
I use CSSResources for all my css styles, I don't legacy styles.
I combine CssResources to create new ones, but don't see how I can use it
to solve my problem.
Suppose I have a widget that needs common used style rules and have one
style name,
Thanks for your answer.
Could you give an example?
I use CSSResources for all my css styles, I don't legacy styles.
I combine CssResources to create new ones, but don't see how I can use it
to solve my problem.
Suppose I have a widget that needs common used style rules and have one
style name,
Ed,
Have you considered the CSSResource interface in GWT? Since it is an
interface, you could have a base interface with base CSS rules, and then
extend that interface for various widget/module interfaces (CSS files) and
they'd get your desired rules too, while keeping those rules in a single
I have a few style rules like for example:
-webkit-user-select: none;
user-select: none;
that occur at more then 1 place in css files.
Is there a way put these styles in a central css file and import/include
them?
I could give them their own Class name, like BLA, and set that on the
widget, bu
21 matches
Mail list logo