Minor Update

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-extractcodelist-widget@96241 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Giancarlo Panichi 2014-05-29 10:22:19 +00:00
parent 276cb9eb0f
commit 6188b783ea
2 changed files with 10 additions and 10 deletions

View File

@ -17,9 +17,7 @@ import org.gcube.portlets.user.td.wizardwidget.client.WizardCard;
import com.allen_sauer.gwt.log.client.Log;
import com.google.gwt.user.client.Command;
import com.google.gwt.user.client.rpc.AsyncCallback;
import com.google.gwt.user.client.ui.FlexTable;
import com.sencha.gxt.core.client.util.Margins;
import com.sencha.gxt.widget.core.client.FramedPanel;
import com.sencha.gxt.widget.core.client.ProgressBar;
import com.sencha.gxt.widget.core.client.box.AlertMessageBox;
import com.sencha.gxt.widget.core.client.container.BoxLayoutContainer.BoxLayoutData;
@ -50,14 +48,12 @@ public class ExtractCodelistOperationInProgressCard extends WizardCard implement
VBoxLayoutContainer operationInProgressPanel = new VBoxLayoutContainer();
operationInProgressPanel.setVBoxLayoutAlign(VBoxLayoutAlign.CENTER);
/*
final FlexTable description = new FlexTable();
// FlexCellFormatter cellFormatter = description.getFlexCellFormatter();
description.setCellSpacing(10);
description.setCellPadding(4);
description.setBorderWidth(0);
// display:block;vertical-align:text-top;
description.setHTML(0, 0,
"<span style=\"font-weight:bold;\";>Name: </span>");
description.setText(0, 1, extractCodelistSession.getTabResource().getName());
@ -73,8 +69,9 @@ public class ExtractCodelistOperationInProgressCard extends WizardCard implement
summary.setHeadingText("Extract Summary");
summary.setWidth(400);
summary.add(description);
operationInProgressPanel.add(summary, new BoxLayoutData(new Margins(20,
5, 10, 5)));
5, 10, 5)));*/
ProgressBar progressBar = new ProgressBar();
operationInProgressPanel.add(progressBar, new BoxLayoutData(
@ -90,7 +87,7 @@ public class ExtractCodelistOperationInProgressCard extends WizardCard implement
}
// columnToImportMask
public void extractCodelist() {
TDGWTServiceAsync.INSTANCE.startExtractCodelist(extractCodelistSession,
@ -136,7 +133,7 @@ public class ExtractCodelistOperationInProgressCard extends WizardCard implement
}
public void operationComplete() {
// final String tableId,final String tableResourceId) {
Command sayComplete = new Command() {
public void execute() {
@ -179,7 +176,7 @@ public class ExtractCodelistOperationInProgressCard extends WizardCard implement
@Override
public void operationStopped(TRId trId, String reason, String details) {
// final String tableId,final String tableResourceId) {
Command sayComplete = new Command() {
public void execute() {

View File

@ -69,8 +69,11 @@ public class TargetColumnsSelectionCard extends WizardCard {
protected void goNext() {
try {
ExtractCodelistDetailsCard destCard= new ExtractCodelistDetailsCard(
/*ExtractCodelistDetailsCard destCard= new ExtractCodelistDetailsCard(
extractCodelistSession);*/
ExtractCodelistOperationInProgressCard destCard = new ExtractCodelistOperationInProgressCard(
extractCodelistSession);
Log.info("NextCard ExtractCodelistOperationInProgressCard");
getWizardWindow().addCard(destCard);
getWizardWindow().nextCard();
} catch (Exception e) {