Skip to content

Commit

Permalink
Update Progress widgets to appearance pattern
Browse files Browse the repository at this point in the history
  • Loading branch information
dankurka committed Jan 20, 2014
1 parent 43b1c42 commit f4a50c8
Show file tree
Hide file tree
Showing 52 changed files with 491 additions and 536 deletions.
5 changes: 2 additions & 3 deletions src/main/java/com/googlecode/mgwt/ui/UI.gwt.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,11 @@ under * the License.
<inherits name='com.googlecode.mgwt.dom.DOM' />

<inherits name='com.googlecode.mgwt.ui.client.widget.slider.Slider' />
<inherits name='com.googlecode.mgwt.ui.client.widget.progress.Progress' />
<define-configuration-property name="mgwt.css" is-multi-valued="false" />
<set-configuration-property name="mgwt.css" value="obf" />


<generate-with
class="com.googlecode.mgwt.ui.generator.OsDetectionGenerator">
<generate-with class="com.googlecode.mgwt.ui.generator.OsDetectionGenerator">
<when-type-assignable class="com.googlecode.mgwt.ui.client.OsDetection" />
</generate-with>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,23 +33,17 @@
import com.googlecode.mgwt.ui.client.theme.base.MSearchBoxCss;
import com.googlecode.mgwt.ui.client.theme.base.MainCss;
import com.googlecode.mgwt.ui.client.theme.base.PanelCss;
import com.googlecode.mgwt.ui.client.theme.base.ProgressBarCss;
import com.googlecode.mgwt.ui.client.theme.base.ProgressIndicatorCss;
import com.googlecode.mgwt.ui.client.theme.base.PullToRefreshCss;
import com.googlecode.mgwt.ui.client.theme.base.ScrollPanelCss;
import com.googlecode.mgwt.ui.client.theme.base.TabBarCss;
import com.googlecode.mgwt.ui.client.theme.base.UtilCss;

public interface MGWTClientBundle {

ProgressBarCss getProgressBarCss();

UtilCss getUtilCss();

TextResource utilTextResource();

ProgressIndicatorCss getProgressIndicatorCss();

HeaderCss getHeaderCss();

ListCss getListCss();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,6 @@ public interface MGWTClientBundleBaseThemeAndroid extends ClientBundle, MGWTClie
@Source({ "css/groupinglist.css", "css/android/groupinglist.css" })
GroupingList getGroupingList();

@Source({ "css/progressbar.css", "css/android/progressbar.css" })
ProgressBarCss getProgressBarCss();

// This is a very nasty workaround because GWT CssResource does not support
// @media correctly!
@Source("css/util_fake.css")
Expand All @@ -46,9 +43,6 @@ public interface MGWTClientBundleBaseThemeAndroid extends ClientBundle, MGWTClie
@Source("css/util.css")
TextResource utilTextResource();

@Source({ "css/progressindicator.css", "css/android/progressindicator.css" })
ProgressIndicatorCss getProgressIndicatorCss();

@Source({ "css/header.css", "css/android/header.css" })
HeaderCss getHeaderCss();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,6 @@ public interface MGWTClientBundleBaseThemeAndroidTablet extends ClientBundle, MG
@Source({ "css/groupinglist.css", "css/android/groupinglist.css" })
GroupingList getGroupingList();

@Source({ "css/progressbar.css", "css/android/progressbar.css" })
ProgressBarCss getProgressBarCss();

// This is a very nasty workaround because GWT CssResource does not support
// @media correctly!
@Source("css/util_fake.css")
Expand All @@ -46,9 +43,6 @@ public interface MGWTClientBundleBaseThemeAndroidTablet extends ClientBundle, MG
@Source("css/util.css")
TextResource utilTextResource();

@Source({ "css/progressindicator.css", "css/android/progressindicator.css" })
ProgressIndicatorCss getProgressIndicatorCss();

@Source({ "css/header.css", "css/android/header.css" })
HeaderCss getHeaderCss();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,6 @@ public interface MGWTClientBundleBaseThemeBlackberry extends ClientBundle, MGWTC
@Source({ "css/groupinglist.css", "css/blackberry/groupinglist.css" })
GroupingList getGroupingList();

@Source({ "css/progressbar.css", "css/blackberry/progressbar.css" })
ProgressBarCss getProgressBarCss();

// This is a very nasty workaround because GWT CssResource does not support
// @media correctly!
@Source("css/util_fake.css")
Expand All @@ -46,9 +43,6 @@ public interface MGWTClientBundleBaseThemeBlackberry extends ClientBundle, MGWTC
@Source("css/util.css")
TextResource utilTextResource();

@Source({ "css/progressindicator.css", "css/blackberry/progressindicator.css" })
ProgressIndicatorCss getProgressIndicatorCss();

@Source({ "css/header.css", "css/blackberry/header.css" })
HeaderCss getHeaderCss();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,6 @@ public interface MGWTClientBundleBaseThemeDesktop extends ClientBundle, MGWTClie
@Source({ "css/groupinglist.css", "css/ipad/groupinglist.css" })
GroupingList getGroupingList();

@Source({ "css/progressbar.css", "css/ipad/progressbar.css" })
ProgressBarCss getProgressBarCss();

// This is a very nasty workaround because GWT CssResource does not support
// @media correctly!
@Source("css/util_fake.css")
Expand All @@ -46,9 +43,6 @@ public interface MGWTClientBundleBaseThemeDesktop extends ClientBundle, MGWTClie
@Source("css/util.css")
TextResource utilTextResource();

@Source({ "css/progressindicator.css", "css/ipad/progressindicator.css" })
ProgressIndicatorCss getProgressIndicatorCss();

@Source({ "css/header.css", "css/ipad/header.css" })
HeaderCss getHeaderCss();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,6 @@ public interface MGWTClientBundleBaseThemeIPad extends ClientBundle, MGWTClientB
@Source({ "css/groupinglist.css", "css/ipad/groupinglist.css" })
GroupingList getGroupingList();

@Source({ "css/progressbar.css", "css/ipad/progressbar.css" })
ProgressBarCss getProgressBarCss();

// This is a very nasty workaround because GWT CssResource does not support
// @media correctly!
@Source("css/util_fake.css")
Expand All @@ -46,9 +43,6 @@ public interface MGWTClientBundleBaseThemeIPad extends ClientBundle, MGWTClientB
@Source("css/util.css")
TextResource utilTextResource();

@Source({ "css/progressindicator.css", "css/ipad/progressindicator.css" })
ProgressIndicatorCss getProgressIndicatorCss();

@Source({ "css/header.css", "css/ipad/header.css" })
HeaderCss getHeaderCss();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,6 @@ public interface MGWTClientBundleBaseThemeIPadRetina extends ClientBundle, MGWTC
@Source({ "css/groupinglist.css", "css/ipad/groupinglist.css" })
GroupingList getGroupingList();

@Source({ "css/progressbar.css", "css/ipad/progressbar.css" })
ProgressBarCss getProgressBarCss();

// This is a very nasty workaround because GWT CssResource does not support
// @media correctly!
@Source("css/util_fake.css")
Expand All @@ -46,9 +43,6 @@ public interface MGWTClientBundleBaseThemeIPadRetina extends ClientBundle, MGWTC
@Source("css/util.css")
TextResource utilTextResource();

@Source({ "css/progressindicator.css", "css/ipad/progressindicator.css" })
ProgressIndicatorCss getProgressIndicatorCss();

@Source({ "css/header.css", "css/ipad/header.css" })
HeaderCss getHeaderCss();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,6 @@ public interface MGWTClientBundleBaseThemeIPhone extends ClientBundle, MGWTClien
@Source({ "css/groupinglist.css", "css/iphone/groupinglist.css" })
GroupingList getGroupingList();

@Source({ "css/progressbar.css", "css/iphone/progressbar.css" })
ProgressBarCss getProgressBarCss();

// This is a very nasty workaround because GWT CssResource does not support
// @media correctly!
@Source("css/util_fake.css")
Expand All @@ -46,9 +43,6 @@ public interface MGWTClientBundleBaseThemeIPhone extends ClientBundle, MGWTClien
@Source("css/util.css")
TextResource utilTextResource();

@Source({ "css/progressindicator.css", "css/iphone/progressindicator.css" })
ProgressIndicatorCss getProgressIndicatorCss();

@Source({ "css/header.css", "css/iphone/header.css" })
HeaderCss getHeaderCss();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,6 @@ public interface MGWTClientBundleBaseThemeRetina extends ClientBundle, MGWTClien
@Source({ "css/groupinglist.css", "css/iphone/groupinglist.css" })
GroupingList getGroupingList();

@Source({ "css/progressbar.css", "css/iphone/progressbar.css" })
ProgressBarCss getProgressBarCss();

// This is a very nasty workaround because GWT CssResource does not support
// @media correctly!
@Source("css/util_fake.css")
Expand All @@ -46,9 +43,6 @@ public interface MGWTClientBundleBaseThemeRetina extends ClientBundle, MGWTClien
@Source("css/util.css")
TextResource utilTextResource();

@Source({ "css/progressindicator.css", "css/iphone/progressindicator.css" })
ProgressIndicatorCss getProgressIndicatorCss();

@Source({ "css/header.css", "css/iphone/header.css" })
HeaderCss getHeaderCss();

Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit f4a50c8

Please sign in to comment.