Minor Update
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-expression-widget@95255 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
b490c1fea3
commit
04c57c53bc
|
@ -70,5 +70,12 @@ public class ColumnFilterProgressBarUpdater implements ColumnFilterProgressListe
|
|||
progressBar.updateText("Validations failed");
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public void operationGeneratingView() {
|
||||
Log.info("Generating View...");
|
||||
progressBar.updateText("Generating View...");
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -137,4 +137,10 @@ public class ColumnFilterProgressDialog extends Window implements ColumnFilterPr
|
|||
this.trId=trId;
|
||||
why=ChangeTableWhy.TABLECURATION;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void operationGeneratingView() {
|
||||
// TODO Auto-generated method stub
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -49,5 +49,9 @@ public interface ColumnFilterProgressListener {
|
|||
*/
|
||||
public void operationStopped(TRId trId, String reason, String details);
|
||||
|
||||
/**
|
||||
* Called when the operation is generating the view
|
||||
*/
|
||||
public void operationGeneratingView();
|
||||
|
||||
}
|
||||
|
|
|
@ -61,6 +61,10 @@ public class ColumnFilterProgressUpdater extends Timer {
|
|||
case VALIDATING_RULES:
|
||||
fireOperationUpdate(result.getProgress());
|
||||
break;
|
||||
case GENERATING_VIEW:
|
||||
Log.info("Generating View...");
|
||||
fireOperationGeneratingView();
|
||||
break;
|
||||
case STOPPED:
|
||||
cancel();
|
||||
stopMessage(result);
|
||||
|
@ -135,6 +139,11 @@ public class ColumnFilterProgressUpdater extends Timer {
|
|||
for (ColumnFilterProgressListener listener : listeners)
|
||||
listener.operationInitializing();
|
||||
}
|
||||
|
||||
protected void fireOperationGeneratingView() {
|
||||
for (ColumnFilterProgressListener listener : listeners)
|
||||
listener.operationGeneratingView();
|
||||
}
|
||||
|
||||
protected void fireOperationUpdate(float elaborated) {
|
||||
for (ColumnFilterProgressListener listener : listeners)
|
||||
|
|
|
@ -175,6 +175,8 @@ public class ExpressionServiceImpl extends RemoteServiceServlet implements
|
|||
case VALIDATING_RULES:
|
||||
columnFilterMonitor.setProgress(task.getProgress());
|
||||
break;
|
||||
case GENERATING_VIEW:
|
||||
break;
|
||||
case ABORTED:
|
||||
break;
|
||||
case STOPPED:
|
||||
|
|
Loading…
Reference in New Issue