Mercurial > dive4elements > river
changeset 3366:8bedd1fcaeee
Removed trailing whitespace. Import cleanup
flys-client/trunk@5053 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Thu, 19 Jul 2012 08:48:51 +0000 |
parents | 1f4ce71cb6c4 |
children | cccd6183b046 |
files | flys-client/ChangeLog flys-client/src/main/java/de/intevation/flys/client/client/ui/CollectionView.java flys-client/src/main/java/de/intevation/flys/client/client/ui/chart/NaviChartOutputTab.java flys-client/src/main/java/de/intevation/flys/client/client/ui/fixation/FixFunctionSelect.java flys-client/src/main/java/de/intevation/flys/client/client/ui/fixation/FixationPanel.java |
diffstat | 5 files changed, 54 insertions(+), 39 deletions(-) [+] |
line wrap: on
line diff
--- a/flys-client/ChangeLog Thu Jul 19 08:26:36 2012 +0000 +++ b/flys-client/ChangeLog Thu Jul 19 08:48:51 2012 +0000 @@ -1,3 +1,13 @@ +2012-07-19 Sascha L. Teichmann <sascha.teichmann@intevation.de> + + * src/main/java/de/intevation/flys/client/client/ui/fixation/FixFunctionSelect.java + src/main/java/de/intevation/flys/client/client/ui/chart/NaviChartOutputTab.java: + Removed superfluous imports. + + * src/main/java/de/intevation/flys/client/client/ui/fixation/FixationPanel.java, + src/main/java/de/intevation/flys/client/client/ui/CollectionView.java: + Removed trailing whitespace. + 2012-07-19 Felix Wolfsteller <felix.wolfsteller@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/UIProviderFactory.java:
--- a/flys-client/src/main/java/de/intevation/flys/client/client/ui/CollectionView.java Thu Jul 19 08:26:36 2012 +0000 +++ b/flys-client/src/main/java/de/intevation/flys/client/client/ui/CollectionView.java Thu Jul 19 08:48:51 2012 +0000 @@ -115,7 +115,7 @@ /** The layout. */ protected Layout layout; - + protected VLayout lockScreen; protected int artifactsQueue; @@ -325,8 +325,8 @@ handler.onOutputModesChange(new OutputModesChangeEvent(outputs)); } } - - + + public void lockUI() { if (lockScreen == null) { lockScreen = new VLayout(); @@ -336,25 +336,25 @@ lockScreen.setOpacity(50); lockScreen.setAlign(VerticalAlignment.CENTER); lockScreen.setDefaultLayoutAlign(VerticalAlignment.CENTER); - + HLayout inner = new HLayout(); inner.setAlign(Alignment.CENTER); inner.setDefaultLayoutAlign(Alignment.CENTER); inner.setOpacity(100); - + Img img = new Img( GWT.getHostPageBaseURL() + messages.loadingImg(), 25, 25); - + inner.addMember(img); - + lockScreen.addMember(inner); } - + layout.addChild(lockScreen); } - - + + public void unlockUI() { layout.removeChild(lockScreen); }
--- a/flys-client/src/main/java/de/intevation/flys/client/client/ui/chart/NaviChartOutputTab.java Thu Jul 19 08:26:36 2012 +0000 +++ b/flys-client/src/main/java/de/intevation/flys/client/client/ui/chart/NaviChartOutputTab.java Thu Jul 19 08:48:51 2012 +0000 @@ -21,8 +21,6 @@ import com.smartgwt.client.widgets.form.fields.events.KeyPressEvent; import com.smartgwt.client.widgets.form.fields.events.KeyPressHandler; -import com.smartgwt.client.widgets.form.validator.IsFloatValidator; - import com.smartgwt.client.widgets.layout.HLayout; import com.smartgwt.client.widgets.layout.VLayout;
--- a/flys-client/src/main/java/de/intevation/flys/client/client/ui/fixation/FixFunctionSelect.java Thu Jul 19 08:26:36 2012 +0000 +++ b/flys-client/src/main/java/de/intevation/flys/client/client/ui/fixation/FixFunctionSelect.java Thu Jul 19 08:48:51 2012 +0000 @@ -21,7 +21,7 @@ public class FixFunctionSelect extends FixationPanel { /** The combobox.*/ protected DynamicForm form; - + @Override public Canvas createWidget(DataList data) { VLayout layout = new VLayout();
--- a/flys-client/src/main/java/de/intevation/flys/client/client/ui/fixation/FixationPanel.java Thu Jul 19 08:26:36 2012 +0000 +++ b/flys-client/src/main/java/de/intevation/flys/client/client/ui/fixation/FixationPanel.java Thu Jul 19 08:48:51 2012 +0000 @@ -1,52 +1,59 @@ package de.intevation.flys.client.client.ui.fixation; -import java.util.HashMap; -import java.util.Date; - import com.google.gwt.core.client.GWT; + +import com.google.gwt.i18n.client.DateTimeFormat; +import com.google.gwt.i18n.client.NumberFormat; + +import com.google.gwt.json.client.JSONNumber; +import com.google.gwt.json.client.JSONObject; +import com.google.gwt.json.client.JSONString; + import com.google.gwt.user.client.rpc.AsyncCallback; -import com.google.gwt.json.client.JSONObject; -import com.google.gwt.json.client.JSONNumber; -import com.google.gwt.json.client.JSONString; -import com.google.gwt.i18n.client.DateTimeFormat; -import com.google.gwt.i18n.client.NumberFormat; +import com.smartgwt.client.types.Alignment; import com.smartgwt.client.util.SC; +import com.smartgwt.client.widgets.Button; import com.smartgwt.client.widgets.Canvas; -import com.smartgwt.client.widgets.Button; +import com.smartgwt.client.widgets.HTMLPane; +import com.smartgwt.client.widgets.Img; + +import com.smartgwt.client.widgets.events.ClickEvent; +import com.smartgwt.client.widgets.events.ClickHandler; +import com.smartgwt.client.widgets.events.ResizedEvent; +import com.smartgwt.client.widgets.events.ResizedHandler; + import com.smartgwt.client.widgets.form.DynamicForm; -import com.smartgwt.client.widgets.HTMLPane; -import com.smartgwt.client.widgets.layout.VLayout; -import com.smartgwt.client.widgets.layout.HLayout; + import com.smartgwt.client.widgets.form.fields.TextItem; -import com.smartgwt.client.widgets.form.fields.events.ChangedHandler; + import com.smartgwt.client.widgets.form.fields.events.ChangedEvent; -import com.smartgwt.client.widgets.events.ClickHandler; -import com.smartgwt.client.widgets.events.ClickEvent; -import com.smartgwt.client.widgets.events.ResizedHandler; -import com.smartgwt.client.widgets.events.ResizedEvent; -import com.smartgwt.client.widgets.form.validator.IsFloatValidator; -import com.smartgwt.client.types.Alignment; +import com.smartgwt.client.widgets.form.fields.events.ChangedHandler; + +import com.smartgwt.client.widgets.layout.HLayout; +import com.smartgwt.client.widgets.layout.VLayout; import com.smartgwt.client.widgets.tab.Tab; import com.smartgwt.client.widgets.tab.TabSet; -import com.smartgwt.client.widgets.Img; - -import de.intevation.flys.client.client.FLYSConstants; -import de.intevation.flys.client.client.ui.AbstractUIProvider; import de.intevation.flys.client.client.Config; +import de.intevation.flys.client.client.FLYSConstants; + +import de.intevation.flys.client.client.services.FixingsOverviewService; +import de.intevation.flys.client.client.services.FixingsOverviewServiceAsync; + +import de.intevation.flys.client.client.ui.AbstractUIProvider; import de.intevation.flys.client.shared.model.Data; import de.intevation.flys.client.shared.model.DataList; +import de.intevation.flys.client.shared.model.FixAnalysisArtifact; import de.intevation.flys.client.shared.model.FixFilter; import de.intevation.flys.client.shared.model.FixingsOverviewInfo; -import de.intevation.flys.client.shared.model.FixAnalysisArtifact; -import de.intevation.flys.client.client.services.FixingsOverviewService; -import de.intevation.flys.client.client.services.FixingsOverviewServiceAsync; +import java.util.Date; +import java.util.HashMap; /**