Fixed Flow
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-table-widget@113565 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
a31f629556
commit
72a5d18873
|
@ -174,7 +174,6 @@ public class DuplicatesRowsPanel extends FramedPanel implements
|
|||
hBox.add(validatesButton, new BoxLayoutData(new Margins(2, 5, 2, 5)));
|
||||
hBox.add(deleteButton, new BoxLayoutData(new Margins(2, 5, 2, 5)));
|
||||
|
||||
|
||||
VerticalLayoutContainer v = new VerticalLayoutContainer();
|
||||
v.setScrollMode(ScrollMode.AUTOY);
|
||||
v.setAdjustForScroll(true);
|
||||
|
@ -263,7 +262,7 @@ public class DuplicatesRowsPanel extends FramedPanel implements
|
|||
+ caught.getLocalizedMessage());
|
||||
UtilsGXT3
|
||||
.alert("Error Deleting Rows",
|
||||
"Error in invocation Delete Duplicates operation!");
|
||||
caught.getLocalizedMessage());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -308,7 +307,7 @@ public class DuplicatesRowsPanel extends FramedPanel implements
|
|||
+ caught.getLocalizedMessage());
|
||||
UtilsGXT3
|
||||
.alert("Error Deleting Rows",
|
||||
"Error in invocation Validates Duplicates operation!");
|
||||
caught.getLocalizedMessage());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -339,7 +338,8 @@ public class DuplicatesRowsPanel extends FramedPanel implements
|
|||
public void operationComplete(OperationResult operationResult) {
|
||||
ChangeTableWhy why = ChangeTableWhy.TABLEUPDATED;
|
||||
ChangeTableRequestEvent changeTableRequestEvent = new ChangeTableRequestEvent(
|
||||
ChangeTableRequestType.DUPLICATES, operationResult.getTrId(), why);
|
||||
ChangeTableRequestType.DUPLICATES, operationResult.getTrId(),
|
||||
why);
|
||||
eventBus.fireEvent(changeTableRequestEvent);
|
||||
close();
|
||||
}
|
||||
|
@ -352,10 +352,12 @@ public class DuplicatesRowsPanel extends FramedPanel implements
|
|||
}
|
||||
|
||||
@Override
|
||||
public void operationStopped(OperationResult operationResult, String reason, String details) {
|
||||
public void operationStopped(OperationResult operationResult,
|
||||
String reason, String details) {
|
||||
ChangeTableWhy why = ChangeTableWhy.TABLECURATION;
|
||||
ChangeTableRequestEvent changeTableRequestEvent = new ChangeTableRequestEvent(
|
||||
ChangeTableRequestType.DUPLICATES, operationResult.getTrId(), why);
|
||||
ChangeTableRequestType.DUPLICATES, operationResult.getTrId(),
|
||||
why);
|
||||
eventBus.fireEvent(changeTableRequestEvent);
|
||||
close();
|
||||
|
||||
|
|
Loading…
Reference in New Issue