Minor Update

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-column-widget@95251 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Giancarlo Panichi 2014-04-30 09:31:27 +00:00
parent f668614695
commit b811d2fa25
21 changed files with 379 additions and 8 deletions

View File

@ -2792,3 +2792,227 @@ Compiling...
Compilation completed in 0.00 seconds Compilation completed in 0.00 seconds
Removing invalidated units Removing invalidated units
Finding entry point classes Finding entry point classes
Public resources found in...
Translatable source found in...
Found 0 cached/archived units. Used 0 / 2719 units from cache.
Compiling...
40% complete (ETR: 6 seconds)
40% complete (ETR: 6 seconds)
40% complete (ETR: 6 seconds)
40% complete (ETR: 6 seconds)
40% complete (ETR: 6 seconds)
50% complete (ETR: 5 seconds)
60% complete (ETR: 4 seconds)
70% complete (ETR: 3 seconds)
80% complete (ETR: 2 seconds)
90% complete (ETR: 1 seconds)
100% complete (ETR: 0 seconds)
Compilation completed in 15.58 seconds
Removing invalidated units
Finding entry point classes
Public resources found in...
Translatable source found in...
Found 2719 cached/archived units. Used 2719 / 2719 units from cache.
Compiling...
Compilation completed in 0.00 seconds
Removing invalidated units
Finding entry point classes
Public resources found in...
Translatable source found in...
Found 2719 cached/archived units. Used 2719 / 2719 units from cache.
Compiling...
Compilation completed in 0.00 seconds
Removing invalidated units
Finding entry point classes
Public resources found in...
Translatable source found in...
Found 0 cached/archived units. Used 0 / 2719 units from cache.
Compiling...
30% complete (ETR: 10 seconds)
30% complete (ETR: 10 seconds)
30% complete (ETR: 10 seconds)
30% complete (ETR: 10 seconds)
40% complete (ETR: 8 seconds)
50% complete (ETR: 6 seconds)
60% complete (ETR: 4 seconds)
70% complete (ETR: 3 seconds)
80% complete (ETR: 2 seconds)
90% complete (ETR: 1 seconds)
100% complete (ETR: 0 seconds)
Compilation completed in 14.37 seconds
Removing invalidated units
Finding entry point classes
Public resources found in...
Translatable source found in...
Found 2719 cached/archived units. Used 2719 / 2719 units from cache.
Compiling...
Compilation completed in 0.00 seconds
Removing invalidated units
Finding entry point classes
Public resources found in...
Translatable source found in...
Found 2719 cached/archived units. Used 2719 / 2719 units from cache.
Compiling...
Compilation completed in 0.00 seconds
Removing invalidated units
Finding entry point classes
Public resources found in...
Translatable source found in...
Found 0 cached/archived units. Used 0 / 2719 units from cache.
Compiling...
60% complete (ETR: 2 seconds)
60% complete (ETR: 2 seconds)
60% complete (ETR: 2 seconds)
60% complete (ETR: 2 seconds)
60% complete (ETR: 2 seconds)
60% complete (ETR: 2 seconds)
60% complete (ETR: 2 seconds)
70% complete (ETR: 2 seconds)
80% complete (ETR: 1 seconds)
90% complete (ETR: 1 seconds)
100% complete (ETR: 0 seconds)
Compilation completed in 9.29 seconds
Removing invalidated units
Finding entry point classes
Public resources found in...
Translatable source found in...
Found 2719 cached/archived units. Used 2719 / 2719 units from cache.
Compiling...
Compilation completed in 0.00 seconds
Removing invalidated units
Finding entry point classes
Public resources found in...
Translatable source found in...
Found 2719 cached/archived units. Used 2719 / 2719 units from cache.
Compiling...
Compilation completed in 0.00 seconds
Removing invalidated units
Finding entry point classes
Public resources found in...
Translatable source found in...
Found 0 cached/archived units. Used 0 / 2719 units from cache.
Compiling...
20% complete (ETR: 12 seconds)
20% complete (ETR: 12 seconds)
20% complete (ETR: 12 seconds)
30% complete (ETR: 12 seconds)
40% complete (ETR: 9 seconds)
50% complete (ETR: 6 seconds)
60% complete (ETR: 4 seconds)
70% complete (ETR: 3 seconds)
80% complete (ETR: 2 seconds)
90% complete (ETR: 1 seconds)
100% complete (ETR: 0 seconds)
Compilation completed in 18.31 seconds
Removing invalidated units
Finding entry point classes
Public resources found in...
Translatable source found in...
Found 2719 cached/archived units. Used 2719 / 2719 units from cache.
Compiling...
Compilation completed in 0.00 seconds
Removing invalidated units
Finding entry point classes
Public resources found in...
Translatable source found in...
Found 2719 cached/archived units. Used 2719 / 2719 units from cache.
Compiling...
Compilation completed in 0.00 seconds
Removing invalidated units
Finding entry point classes
Public resources found in...
Translatable source found in...
Found 0 cached/archived units. Used 0 / 2719 units from cache.
Compiling...
50% complete (ETR: 4 seconds)
50% complete (ETR: 4 seconds)
50% complete (ETR: 4 seconds)
50% complete (ETR: 4 seconds)
50% complete (ETR: 4 seconds)
50% complete (ETR: 4 seconds)
60% complete (ETR: 3 seconds)
70% complete (ETR: 2 seconds)
80% complete (ETR: 1 seconds)
90% complete (ETR: 1 seconds)
100% complete (ETR: 0 seconds)
Compilation completed in 11.43 seconds
Removing invalidated units
Finding entry point classes
Public resources found in...
Translatable source found in...
Found 2719 cached/archived units. Used 2719 / 2719 units from cache.
Compiling...
Compilation completed in 0.00 seconds
Removing invalidated units
Finding entry point classes
Public resources found in...
Translatable source found in...
Found 2719 cached/archived units. Used 2719 / 2719 units from cache.
Compiling...
Compilation completed in 0.00 seconds
Removing invalidated units
Finding entry point classes
Public resources found in...
Translatable source found in...
Found 0 cached/archived units. Used 0 / 2719 units from cache.
Compiling...
60% complete (ETR: 3 seconds)
60% complete (ETR: 3 seconds)
60% complete (ETR: 3 seconds)
60% complete (ETR: 3 seconds)
60% complete (ETR: 3 seconds)
60% complete (ETR: 3 seconds)
60% complete (ETR: 3 seconds)
70% complete (ETR: 2 seconds)
80% complete (ETR: 1 seconds)
90% complete (ETR: 1 seconds)
100% complete (ETR: 0 seconds)
Compilation completed in 9.00 seconds
Removing invalidated units
Finding entry point classes
Public resources found in...
Translatable source found in...
Found 2719 cached/archived units. Used 2719 / 2719 units from cache.
Compiling...
Compilation completed in 0.00 seconds
Removing invalidated units
Finding entry point classes
Public resources found in...
Translatable source found in...
Found 2719 cached/archived units. Used 2719 / 2719 units from cache.
Compiling...
Compilation completed in 0.00 seconds
Removing invalidated units
Finding entry point classes
Public resources found in...
Translatable source found in...
Found 0 cached/archived units. Used 0 / 2719 units from cache.
Compiling...
60% complete (ETR: 3 seconds)
60% complete (ETR: 3 seconds)
60% complete (ETR: 3 seconds)
60% complete (ETR: 3 seconds)
60% complete (ETR: 3 seconds)
60% complete (ETR: 3 seconds)
60% complete (ETR: 3 seconds)
70% complete (ETR: 2 seconds)
80% complete (ETR: 1 seconds)
90% complete (ETR: 1 seconds)
100% complete (ETR: 0 seconds)
Compilation completed in 11.72 seconds
Removing invalidated units
Finding entry point classes
Public resources found in...
Translatable source found in...
Found 2719 cached/archived units. Used 2719 / 2719 units from cache.
Compiling...
Compilation completed in 0.00 seconds
Removing invalidated units
Finding entry point classes
Public resources found in...
Translatable source found in...
Found 2719 cached/archived units. Used 2719 / 2719 units from cache.
Compiling...
Compilation completed in 0.00 seconds
Removing invalidated units
Finding entry point classes

View File

@ -71,4 +71,12 @@ public class ChangeColumnTypeProgressBarUpdater implements ChangeColumnTypeProgr
} }
@Override
public void operationGeneratingView() {
Log.info("Generating View...");
progressBar.updateText("Generating View...");
}
} }

View File

@ -127,4 +127,10 @@ public class ChangeColumnTypeProgressDialog extends Window implements ChangeColu
this.trId=trId; this.trId=trId;
why=ChangeTableWhy.TABLECURATION; why=ChangeTableWhy.TABLECURATION;
} }
@Override
public void operationGeneratingView() {
// TODO Auto-generated method stub
}
} }

View File

@ -48,4 +48,10 @@ public interface ChangeColumnTypeProgressListener {
* @param details * @param details
*/ */
public void operationStopped(TRId trId, String reason, String details); public void operationStopped(TRId trId, String reason, String details);
/**
* Called when the operation is generating the view
*/
public void operationGeneratingView();
} }

View File

@ -47,19 +47,24 @@ public class ChangeColumnTypeProgressUpdater extends Timer {
+ result.getStatus()); + result.getStatus());
switch (result.getStatus()) { switch (result.getStatus()) {
case INITIALIZING: case INITIALIZING:
Log.info("CSV Import Initializing..."); Log.info("Initializing...");
fireOperationInitializing(); fireOperationInitializing();
break; break;
case ABORTED: case ABORTED:
cancel(); cancel();
Log.info("CSV Import Operation Aborted"); Log.info("Operation Aborted");
break; break;
case IN_PROGRESS: case IN_PROGRESS:
fireOperationUpdate(result.getProgress()); fireOperationUpdate(result.getProgress());
break; break;
case VALIDATING_RULES: case VALIDATING_RULES:
Log.info("Validating Rules...");
fireOperationUpdate(result.getProgress()); fireOperationUpdate(result.getProgress());
break; break;
case GENERATING_VIEW:
Log.info("Generating View...");
fireOperationGeneratingView();
break;
case STOPPED: case STOPPED:
cancel(); cancel();
stopMessage(result); stopMessage(result);
@ -70,7 +75,7 @@ public class ChangeColumnTypeProgressUpdater extends Timer {
break; break;
case SUCCEDED: case SUCCEDED:
cancel(); cancel();
Log.info("Import fisnish TableId :" Log.info("Succeded TableId :"
+ result.getTrId()); + result.getTrId());
fireOperationComplete(result.getTrId()); fireOperationComplete(result.getTrId());
break; break;
@ -130,6 +135,12 @@ public class ChangeColumnTypeProgressUpdater extends Timer {
for (ChangeColumnTypeProgressListener listener : listeners) for (ChangeColumnTypeProgressListener listener : listeners)
listener.operationInitializing(); listener.operationInitializing();
} }
protected void fireOperationGeneratingView() {
for (ChangeColumnTypeProgressListener listener : listeners)
listener.operationGeneratingView();
}
protected void fireOperationUpdate(float elaborated) { protected void fireOperationUpdate(float elaborated) {
for (ChangeColumnTypeProgressListener listener : listeners) for (ChangeColumnTypeProgressListener listener : listeners)

View File

@ -71,4 +71,12 @@ public class DeleteColumnProgressBarUpdater implements DeleteColumnProgressListe
} }
@Override
public void operationGeneratingView() {
Log.info("Generating View...");
progressBar.updateText("Generating View...");
}
} }

View File

@ -127,5 +127,11 @@ public class DeleteColumnProgressDialog extends Window implements DeleteColumnPr
this.trId=trId; this.trId=trId;
why=ChangeTableWhy.TABLECURATION; why=ChangeTableWhy.TABLECURATION;
} }
@Override
public void operationGeneratingView() {
// TODO Auto-generated method stub
}
} }

View File

@ -49,5 +49,11 @@ public interface DeleteColumnProgressListener {
* @param details * @param details
*/ */
public void operationStopped(TRId trId, String reason, String details); public void operationStopped(TRId trId, String reason, String details);
/**
* Called when the operation is generating the view
*/
public void operationGeneratingView();
} }

View File

@ -48,19 +48,24 @@ public class DeleteColumnProgressUpdater extends Timer {
+ result.getStatus()); + result.getStatus());
switch (result.getStatus()) { switch (result.getStatus()) {
case INITIALIZING: case INITIALIZING:
Log.info("Delete Column Initializing..."); Log.info("Initializing...");
fireOperationInitializing(); fireOperationInitializing();
break; break;
case ABORTED: case ABORTED:
cancel(); cancel();
Log.info("Delete Column Operation Aborted"); Log.info("Operation Aborted");
break; break;
case IN_PROGRESS: case IN_PROGRESS:
fireOperationUpdate(result.getProgress()); fireOperationUpdate(result.getProgress());
break; break;
case VALIDATING_RULES: case VALIDATING_RULES:
Log.info("Validating Rules...");
fireOperationUpdate(result.getProgress()); fireOperationUpdate(result.getProgress());
break; break;
case GENERATING_VIEW:
Log.info("Generating View...");
fireOperationGeneratingView();
break;
case STOPPED: case STOPPED:
cancel(); cancel();
stopMessage(result); stopMessage(result);
@ -71,7 +76,7 @@ public class DeleteColumnProgressUpdater extends Timer {
break; break;
case SUCCEDED: case SUCCEDED:
cancel(); cancel();
Log.info("Import fisnish TableId :" Log.info("Succeded TableId :"
+ result.getTrId()); + result.getTrId());
fireOperationComplete(result.getTrId()); fireOperationComplete(result.getTrId());
break; break;
@ -135,6 +140,11 @@ public class DeleteColumnProgressUpdater extends Timer {
for (DeleteColumnProgressListener listener : listeners) for (DeleteColumnProgressListener listener : listeners)
listener.operationInitializing(); listener.operationInitializing();
} }
protected void fireOperationGeneratingView() {
for (DeleteColumnProgressListener listener : listeners)
listener.operationGeneratingView();
}
protected void fireOperationUpdate(float elaborated) { protected void fireOperationUpdate(float elaborated) {
for (DeleteColumnProgressListener listener : listeners) for (DeleteColumnProgressListener listener : listeners)

View File

@ -71,4 +71,11 @@ public class LabelColumnProgressBarUpdater implements LabelColumnProgressListene
} }
@Override
public void operationGeneratingView() {
Log.info("Generating View...");
progressBar.updateText("Generating View...");
}
} }

View File

@ -128,4 +128,10 @@ public class LabelColumnProgressDialog extends Window implements LabelColumnProg
this.trId=trId; this.trId=trId;
why=ChangeTableWhy.TABLECURATION; why=ChangeTableWhy.TABLECURATION;
} }
@Override
public void operationGeneratingView() {
// TODO Auto-generated method stub
}
} }

View File

@ -50,4 +50,10 @@ public interface LabelColumnProgressListener {
* @param details * @param details
*/ */
public void operationStopped(TRId trId, String reason, String details); public void operationStopped(TRId trId, String reason, String details);
/**
* Called when the operation is generating the view
*/
public void operationGeneratingView();
} }

View File

@ -59,8 +59,13 @@ public class LabelColumnProgressUpdater extends Timer {
fireOperationUpdate(result.getProgress()); fireOperationUpdate(result.getProgress());
break; break;
case VALIDATING_RULES: case VALIDATING_RULES:
Log.info("Validating Rules...");
fireOperationUpdate(result.getProgress()); fireOperationUpdate(result.getProgress());
break; break;
case GENERATING_VIEW:
Log.info("Generating View...");
fireOperationGeneratingView();
break;
case STOPPED: case STOPPED:
cancel(); cancel();
stopMessage(result); stopMessage(result);
@ -71,7 +76,7 @@ public class LabelColumnProgressUpdater extends Timer {
break; break;
case SUCCEDED: case SUCCEDED:
cancel(); cancel();
Log.info("Import fisnish TableId :" Log.info("Succeded TableId :"
+ result.getTrId()); + result.getTrId());
fireOperationComplete(result.getTrId()); fireOperationComplete(result.getTrId());
break; break;
@ -135,6 +140,11 @@ public class LabelColumnProgressUpdater extends Timer {
for (LabelColumnProgressListener listener : listeners) for (LabelColumnProgressListener listener : listeners)
listener.operationInitializing(); listener.operationInitializing();
} }
protected void fireOperationGeneratingView() {
for (LabelColumnProgressListener listener : listeners)
listener.operationGeneratingView();
}
protected void fireOperationUpdate(float elaborated) { protected void fireOperationUpdate(float elaborated) {
for (LabelColumnProgressListener listener : listeners) for (LabelColumnProgressListener listener : listeners)

View File

@ -71,4 +71,12 @@ public class ReplaceBatchColumnProgressBarUpdater implements ReplaceBatchColumnP
} }
@Override
public void operationGeneratingView() {
Log.info("Generating View...");
progressBar.updateText("Generating View...");
}
} }

View File

@ -130,4 +130,10 @@ public class ReplaceBatchColumnProgressDialog extends Window implements ReplaceB
this.trId=trId; this.trId=trId;
why=ChangeTableWhy.TABLECURATION; why=ChangeTableWhy.TABLECURATION;
} }
@Override
public void operationGeneratingView() {
// TODO Auto-generated method stub
}
} }

View File

@ -50,4 +50,10 @@ public interface ReplaceBatchColumnProgressListener {
* @param details * @param details
*/ */
public void operationStopped(TRId trId, String reason, String details); public void operationStopped(TRId trId, String reason, String details);
/**
* Called when the operation is generating the view
*/
public void operationGeneratingView();
} }

View File

@ -59,8 +59,12 @@ public class ReplaceBatchColumnProgressUpdater extends Timer {
fireOperationUpdate(result.getProgress()); fireOperationUpdate(result.getProgress());
break; break;
case VALIDATING_RULES: case VALIDATING_RULES:
Log.info("Validating Rules...");
fireOperationUpdate(result.getProgress()); fireOperationUpdate(result.getProgress());
break; break;
case GENERATING_VIEW:
Log.info("Generating View...");
fireOperationGeneratingView();
case STOPPED: case STOPPED:
cancel(); cancel();
stopMessage(result); stopMessage(result);
@ -135,6 +139,11 @@ public class ReplaceBatchColumnProgressUpdater extends Timer {
for (ReplaceBatchColumnProgressListener listener : listeners) for (ReplaceBatchColumnProgressListener listener : listeners)
listener.operationInitializing(); listener.operationInitializing();
} }
protected void fireOperationGeneratingView() {
for (ReplaceBatchColumnProgressListener listener : listeners)
listener.operationGeneratingView();
}
protected void fireOperationUpdate(float elaborated) { protected void fireOperationUpdate(float elaborated) {
for (ReplaceBatchColumnProgressListener listener : listeners) for (ReplaceBatchColumnProgressListener listener : listeners)

View File

@ -70,5 +70,12 @@ public class ReplaceColumnProgressBarUpdater implements ReplaceColumnProgressLis
progressBar.updateText("Validations failed"); progressBar.updateText("Validations failed");
} }
@Override
public void operationGeneratingView() {
Log.info("Generating View...");
progressBar.updateText("Generating View...");
}
} }

View File

@ -130,4 +130,10 @@ public class ReplaceColumnProgressDialog extends Window implements ReplaceColumn
this.trId=trId; this.trId=trId;
why=ChangeTableWhy.TABLECURATION; why=ChangeTableWhy.TABLECURATION;
} }
@Override
public void operationGeneratingView() {
// TODO Auto-generated method stub
}
} }

View File

@ -50,4 +50,10 @@ public interface ReplaceColumnProgressListener {
* @param details * @param details
*/ */
public void operationStopped(TRId trId, String reason, String details); public void operationStopped(TRId trId, String reason, String details);
/**
* Called when the operation is generating the view
*/
public void operationGeneratingView();
} }

View File

@ -59,8 +59,12 @@ public class ReplaceColumnProgressUpdater extends Timer {
fireOperationUpdate(result.getProgress()); fireOperationUpdate(result.getProgress());
break; break;
case VALIDATING_RULES: case VALIDATING_RULES:
Log.info("Validating Rules...");
fireOperationUpdate(result.getProgress()); fireOperationUpdate(result.getProgress());
break; break;
case GENERATING_VIEW:
Log.info("Generating View...");
fireOperationGeneratingView();
case STOPPED: case STOPPED:
cancel(); cancel();
stopMessage(result); stopMessage(result);
@ -135,6 +139,11 @@ public class ReplaceColumnProgressUpdater extends Timer {
for (ReplaceColumnProgressListener listener : listeners) for (ReplaceColumnProgressListener listener : listeners)
listener.operationInitializing(); listener.operationInitializing();
} }
protected void fireOperationGeneratingView() {
for (ReplaceColumnProgressListener listener : listeners)
listener.operationGeneratingView();
}
protected void fireOperationUpdate(float elaborated) { protected void fireOperationUpdate(float elaborated) {
for (ReplaceColumnProgressListener listener : listeners) for (ReplaceColumnProgressListener listener : listeners)