mgwt自定义样式

mgwt自定义样式,gwt,styling,mgwt,Gwt,Styling,Mgwt,我正在尝试使用如下所示的自定义样式(): 及 当我加载我的应用程序时,出现以下错误: Rebinding com.googlecode.mgwt.ui.client.theme.mgwt.MGWTColorBundleNonRetina Invoking generator com.google.gwt.resources.rebind.context.InlineClientBundleGenerator Creating assignment for getButtonBarCss() Re

我正在尝试使用如下所示的自定义样式():

当我加载我的应用程序时,出现以下错误:

Rebinding com.googlecode.mgwt.ui.client.theme.mgwt.MGWTColorBundleNonRetina
Invoking generator com.google.gwt.resources.rebind.context.InlineClientBundleGenerator
Creating assignment for getButtonBarCss()
Replacing CSS class names
The following unobfuscated classes were present in a strict CssResource:
text
Fix by adding String accessor method(s) to the CssResource interface for obfuscated classes, or using an @external declaration for unobfuscated classes.

这看起来像是在使用一个不完整的主题,该主题在css文件中存在css类,而java接口中没有声明这些类

如果要开始使用mgwt样式,可以轻松克隆themebase项目并从那里开始:

MGWTStyle.setTheme(new MGWTColorTheme());
Rebinding com.googlecode.mgwt.ui.client.theme.mgwt.MGWTColorBundleNonRetina
Invoking generator com.google.gwt.resources.rebind.context.InlineClientBundleGenerator
Creating assignment for getButtonBarCss()
Replacing CSS class names
The following unobfuscated classes were present in a strict CssResource:
text
Fix by adding String accessor method(s) to the CssResource interface for obfuscated classes, or using an @external declaration for unobfuscated classes.