Refactoring - Moved shared ButtonUtil to respective package

This commit is contained in:
Benjamin Barth committed 2015-09-10 12:32:08 +02:00
1 parent 3999eeb72e
commit 9245a6dd9f
4 files changed
+13 -13

No files matched your search

@@ -1,5 +0,0 @@
package com.sap.sailing.gwt.home.client.shared;
public enum ButtonType {
DEFAULT, PRIMARY, RED
}
@@ -20,24 +20,24 @@ public class ExperimentalFeatures {
/**
* Provide option to show races in competition format
*/
public static final boolean SHOW_RACES_COMPETITION_FORMAT = true;
public static final boolean SHOW_RACES_COMPETITION_FORMAT = false;
/**
* Provide option to show the overview for regattas in multi regatta events and a navigation
* to the races view (competition format) for single regatta and series events on mobile devices
*/
public static final boolean SHOW_REGATTA_OVERVIEW_AND_RACES_ON_MOBILE = true;
public static final boolean SHOW_REGATTA_OVERVIEW_AND_RACES_ON_MOBILE = false;
/**
* Provide option to show the regatta progress for single regatta and series event on mobile devices
*/
public static final boolean SHOW_REGATTA_PROGRESS_ON_MOBILE = true;
public static final boolean SHOW_REGATTA_PROGRESS_ON_MOBILE = false;
/**
* Provide option to show the regattas live races for single regatta and series event on mobile devices
*/
public static final boolean SHOW_REGATTA_LIVE_RACES_ON_MOBILE = true;
public static final boolean SHOW_REGATTA_LIVE_RACES_ON_MOBILE = false;
/**
* Provide option to show the media page for mobile devices
*/
public static final boolean SHOW_MEDIA_PAGE_ON_MOBILE = true;
public static final boolean SHOW_MEDIA_PAGE_ON_MOBILE = false;
/**
* Provide button to show the competitor analytics in fullscreen view (work in progress)
*/
@@ -14,9 +14,9 @@ import com.google.gwt.user.client.EventListener;
import com.google.gwt.user.client.ui.Widget;
import com.sap.sailing.gwt.common.client.LinkUtil;
import com.sap.sailing.gwt.common.client.SharedResources;
import com.sap.sailing.gwt.home.client.shared.ButtonType;
import com.sap.sailing.gwt.home.client.shared.ButtonUtil;
import com.sap.sailing.gwt.home.client.shared.LabelTypeUtil;
import com.sap.sailing.gwt.home.shared.utils.ButtonUtil;
import com.sap.sailing.gwt.home.shared.utils.ButtonUtil.ButtonType;
import com.sap.sailing.gwt.ui.shared.general.LabelType;
public class LowerThird extends Widget {
@@ -1,9 +1,14 @@
package com.sap.sailing.gwt.home.client.shared;
package com.sap.sailing.gwt.home.shared.utils;
import com.google.gwt.dom.client.Element;
import com.sap.sailing.gwt.common.client.SharedResources;
public final class ButtonUtil {
public enum ButtonType {
DEFAULT, PRIMARY, RED
}
private ButtonUtil() {
}