From d2f759708e7f1e4eed837fb882a8143fe6958b78 Mon Sep 17 00:00:00 2001 From: Giancarlo Panichi Date: Mon, 16 Dec 2013 17:10:41 +0000 Subject: [PATCH] Updated to JAVA 7 git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-wizard-widget@86985 82a268e6-3cf1-43bd-a215-b396298e98cf --- .../portlets/user/td/wizardwidget/client/WizardEntry.java | 2 +- .../portlets/user/td/wizardwidget/client/WizardWindow.java | 7 +++---- .../user/td/wizardwidget/client/util/ErrorMessageBox.java | 2 +- .../user/td/wizardwidget/client/util/NOPCallBack.java | 3 +-- 4 files changed, 6 insertions(+), 8 deletions(-) diff --git a/src/main/java/org/gcube/portlets/user/td/wizardwidget/client/WizardEntry.java b/src/main/java/org/gcube/portlets/user/td/wizardwidget/client/WizardEntry.java index f0848df..3e6f319 100644 --- a/src/main/java/org/gcube/portlets/user/td/wizardwidget/client/WizardEntry.java +++ b/src/main/java/org/gcube/portlets/user/td/wizardwidget/client/WizardEntry.java @@ -6,7 +6,7 @@ import com.google.gwt.core.client.EntryPoint; public class WizardEntry implements EntryPoint { - @Override + public void onModuleLoad() { diff --git a/src/main/java/org/gcube/portlets/user/td/wizardwidget/client/WizardWindow.java b/src/main/java/org/gcube/portlets/user/td/wizardwidget/client/WizardWindow.java index 48938e2..c3396a4 100644 --- a/src/main/java/org/gcube/portlets/user/td/wizardwidget/client/WizardWindow.java +++ b/src/main/java/org/gcube/portlets/user/td/wizardwidget/client/WizardWindow.java @@ -113,7 +113,7 @@ public class WizardWindow extends Window { SelectHandler selectionHandler = new SelectHandler() { - @Override + public void onSelect(SelectEvent event) { TextButton button = (TextButton) event.getSource(); String btnID = button.getId(); @@ -151,7 +151,7 @@ public class WizardWindow extends Window { closeBtn.addSelectHandler(new SelectHandler() { - @Override + public void onSelect(SelectEvent event) { fireAborted(); hide(); @@ -434,11 +434,10 @@ public class WizardWindow extends Window { ErrorMessageBox.showError(title, failureReason, failureDetails, new Callback() { - @Override + public void onSuccess(Dialog result) { } - @Override public void onFailure(Void reason) { hide(); fireFailed(throwable, failureReason, failureDetails); diff --git a/src/main/java/org/gcube/portlets/user/td/wizardwidget/client/util/ErrorMessageBox.java b/src/main/java/org/gcube/portlets/user/td/wizardwidget/client/util/ErrorMessageBox.java index d98c7ab..20054fb 100644 --- a/src/main/java/org/gcube/portlets/user/td/wizardwidget/client/util/ErrorMessageBox.java +++ b/src/main/java/org/gcube/portlets/user/td/wizardwidget/client/util/ErrorMessageBox.java @@ -35,7 +35,7 @@ public class ErrorMessageBox { box.getHideButton().setText(DETAILS); box.addHideHandler(new HideHandler() { - @Override + public void onHide(HideEvent event) { Dialog dialog = (Dialog) event.getSource(); diff --git a/src/main/java/org/gcube/portlets/user/td/wizardwidget/client/util/NOPCallBack.java b/src/main/java/org/gcube/portlets/user/td/wizardwidget/client/util/NOPCallBack.java index 1bdf853..5fbc627 100644 --- a/src/main/java/org/gcube/portlets/user/td/wizardwidget/client/util/NOPCallBack.java +++ b/src/main/java/org/gcube/portlets/user/td/wizardwidget/client/util/NOPCallBack.java @@ -15,10 +15,9 @@ import com.google.gwt.core.client.Callback; */ public class NOPCallBack implements Callback { - @Override + public void onFailure(F reason) {} - @Override public void onSuccess(T result) {} }