Added wizardwidget

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-csv-import-widget@86184 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Giancarlo Panichi 2013-11-26 13:39:41 +00:00
parent afcddcdbd8
commit d8df75109a
8 changed files with 13 additions and 14 deletions

View File

@ -3,7 +3,7 @@ package org.gcube.portlets.user.td.csvimportwidget.client;
import java.util.ArrayList;
import org.gcube.portlets.user.td.csvimportwidget.client.csvgrid.CSVGrid;
import org.gcube.portlets.user.td.csvimportwidget.client.general.WizardCard;
import org.gcube.portlets.user.td.wizardwidget.client.WizardCard;
import org.gcube.portlets.user.td.csvimportwidget.client.util.ErrorMessageBox;
import org.gcube.portlets.user.td.gwtservice.client.rpc.TDGWTServiceAsync;
import org.gcube.portlets.user.td.gwtservice.shared.csv.AvailableCharsetList;

View File

@ -1,6 +1,6 @@
package org.gcube.portlets.user.td.csvimportwidget.client;
import org.gcube.portlets.user.td.csvimportwidget.client.general.WizardWindow;
import org.gcube.portlets.user.td.wizardwidget.client.WizardWindow;
import org.gcube.portlets.user.td.gwtservice.shared.csv.CSVImportSession;

View File

@ -3,7 +3,7 @@
*/
package org.gcube.portlets.user.td.csvimportwidget.client;
import org.gcube.portlets.user.td.csvimportwidget.client.general.WizardCard;
import org.gcube.portlets.user.td.wizardwidget.client.WizardCard;
import org.gcube.portlets.user.td.csvimportwidget.client.progress.CSVImportProgressBarUpdater;
import org.gcube.portlets.user.td.csvimportwidget.client.progress.CSVImportProgressListener;
import org.gcube.portlets.user.td.csvimportwidget.client.progress.CSVImportProgressUpdater;

View File

@ -3,7 +3,7 @@
*/
package org.gcube.portlets.user.td.csvimportwidget.client;
import org.gcube.portlets.user.td.csvimportwidget.client.general.WizardCard;
import org.gcube.portlets.user.td.wizardwidget.client.WizardCard;
import org.gcube.portlets.user.td.gwtservice.shared.tr.TabResource;
import org.gcube.portlets.user.td.gwtservice.shared.csv.CSVImportSession;

View File

@ -3,7 +3,7 @@
*/
package org.gcube.portlets.user.td.csvimportwidget.client;
import org.gcube.portlets.user.td.csvimportwidget.client.general.WizardCard;
import org.gcube.portlets.user.td.wizardwidget.client.WizardCard;
import org.gcube.portlets.user.td.gwtservice.shared.csv.CSVImportSession;
import com.allen_sauer.gwt.log.client.Log;

View File

@ -3,7 +3,7 @@
*/
package org.gcube.portlets.user.td.csvimportwidget.client;
import org.gcube.portlets.user.td.csvimportwidget.client.general.WizardCard;
import org.gcube.portlets.user.td.wizardwidget.client.WizardCard;
import org.gcube.portlets.user.td.csvimportwidget.client.workspace.WorkspacePanel;
import org.gcube.portlets.user.td.gwtservice.client.rpc.TDGWTServiceAsync;
import org.gcube.portlets.user.td.gwtservice.shared.csv.CSVImportSession;

View File

@ -3,11 +3,10 @@
*/
package org.gcube.portlets.user.td.csvimportwidget.client;
import org.gcube.portlets.user.td.csvimportwidget.client.general.WizardCard;
import org.gcube.portlets.user.td.wizardwidget.client.dataresource.ResourceBundle;
import org.gcube.portlets.user.td.csvimportwidget.client.progress.FileUploadProgressBarUpdater;
import org.gcube.portlets.user.td.csvimportwidget.client.progress.FileUploadProgressListener;
import org.gcube.portlets.user.td.csvimportwidget.client.progress.FileUploadProgressUpdater;
import org.gcube.portlets.user.td.csvimportwidget.client.dataresource.ResourceBundle;
import org.gcube.portlets.user.td.gwtservice.shared.csv.CSVImportSession;
import com.allen_sauer.gwt.log.client.Log;
@ -51,7 +50,7 @@ public class FileUploadPanel extends FormPanel {
protected TextButton cancelButton;
public FileUploadPanel(ResourceBundle res, final WizardCard card,
public FileUploadPanel(ResourceBundle res, final CSVUploadFileCard card,
final CSVImportSession importSession) {
this.res = res;
@ -161,7 +160,7 @@ public class FileUploadPanel extends FormPanel {
@Override
public void operationInitializing() {
// TODO Auto-generated method stub
}

View File

@ -3,7 +3,7 @@
*/
package org.gcube.portlets.user.td.csvimportwidget.client;
import org.gcube.portlets.user.td.csvimportwidget.client.general.WizardCard;
import org.gcube.portlets.user.td.wizardwidget.client.WizardCard;
import org.gcube.portlets.user.td.gwtservice.shared.csv.CSVImportSession;
import org.gcube.portlets.user.td.gwtservice.shared.source.FileSource;
@ -39,7 +39,7 @@ public class SourceSelectionCard extends WizardCard {
importSession.setSource(fileSource);
VerticalPanel sourceSelectionPanel = new VerticalPanel();
sourceSelectionPanel.setStylePrimaryName(res.importCss()
sourceSelectionPanel.setStylePrimaryName(res.wizardCSS()
.getImportSelectionSources());
Radio radioFileSource = new Radio();
@ -47,7 +47,7 @@ public class SourceSelectionCard extends WizardCard {
+ fileSource.getName() + "</b><br>"
+ fileSource.getDescription() + "</p>");
radioFileSource.setName(fileSource.getName());
radioFileSource.setStylePrimaryName(res.importCss()
radioFileSource.setStylePrimaryName(res.wizardCSS()
.getImportSelectionSource());
radioFileSource.setValue(true);
@ -56,7 +56,7 @@ public class SourceSelectionCard extends WizardCard {
+ workspaceSource.getName() + "</b><br>"
+ workspaceSource.getDescription() + "</p>");
radioWorkspaceSource.setName(workspaceSource.getName());
radioWorkspaceSource.setStylePrimaryName(res.importCss()
radioWorkspaceSource.setStylePrimaryName(res.wizardCSS()
.getImportSelectionSource());
// radioWorkspaceSource.disable();