Minor Update
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-table-widget@98862 82a268e6-3cf1-43bd-a215-b396298e98cf
|
@ -155,4 +155,17 @@ public interface ResourceBundle extends ClientBundle {
|
|||
@Source("table-denormalize_32.png")
|
||||
ImageResource tableDenormalize32();
|
||||
|
||||
@Source("table-duplicate-rows.png")
|
||||
ImageResource tableDuplicateRows();
|
||||
|
||||
@Source("table-duplicate-rows_32.png")
|
||||
ImageResource tableDuplicateRows32();
|
||||
|
||||
@Source("table-duplicate-rows-remove.png")
|
||||
ImageResource tableDuplicateRowsRemove();
|
||||
|
||||
@Source("table-duplicate-rows-remove_32.png")
|
||||
ImageResource tableDuplicateRowsRemove32();
|
||||
|
||||
|
||||
}
|
After Width: | Height: | Size: 851 B |
After Width: | Height: | Size: 1.5 KiB |
After Width: | Height: | Size: 809 B |
After Width: | Height: | Size: 1.4 KiB |
|
@ -3,12 +3,14 @@ package org.gcube.portlets.user.td.tablewidget.client.rows;
|
|||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
|
||||
import org.gcube.portlets.user.td.gwtservice.client.rpc.TDGWTServiceAsync;
|
||||
import org.gcube.portlets.user.td.gwtservice.shared.exception.TDGWTSessionExpiredException;
|
||||
import org.gcube.portlets.user.td.gwtservice.shared.tr.ColumnData;
|
||||
import org.gcube.portlets.user.td.gwtservice.shared.tr.rows.DuplicatesSession;
|
||||
import org.gcube.portlets.user.td.tablewidget.client.progress.DuplicatesRowsProgressDialog;
|
||||
import org.gcube.portlets.user.td.tablewidget.client.properties.ColumnDataProperties;
|
||||
import org.gcube.portlets.user.td.tablewidget.client.resources.ResourceBundle;
|
||||
import org.gcube.portlets.user.td.tablewidget.client.util.UtilsGXT3;
|
||||
import org.gcube.portlets.user.td.widgetcommonevent.client.event.SessionExpiredEvent;
|
||||
import org.gcube.portlets.user.td.widgetcommonevent.client.type.SessionExpiredType;
|
||||
|
@ -20,6 +22,7 @@ import com.google.gwt.core.client.Scheduler;
|
|||
import com.google.gwt.core.client.Scheduler.ScheduledCommand;
|
||||
import com.google.gwt.user.client.rpc.AsyncCallback;
|
||||
import com.google.web.bindery.event.shared.EventBus;
|
||||
import com.sencha.gxt.cell.core.client.ButtonCell.IconAlign;
|
||||
import com.sencha.gxt.core.client.IdentityValueProvider;
|
||||
import com.sencha.gxt.core.client.Style.SelectionMode;
|
||||
import com.sencha.gxt.core.client.dom.ScrollSupport.ScrollMode;
|
||||
|
@ -130,6 +133,10 @@ public class DuplicatesRowsPanel extends FramedPanel {
|
|||
|
||||
// Delete Button
|
||||
deleteButton = new TextButton("Delete");
|
||||
deleteButton.setIcon(ResourceBundle.INSTANCE.tableDuplicateRowsRemove());
|
||||
deleteButton.setIconAlign(IconAlign.RIGHT);
|
||||
deleteButton.setTitle("Delete Duplicates Rows");
|
||||
|
||||
SelectHandler deleteHandler = new SelectHandler() {
|
||||
|
||||
public void onSelect(SelectEvent event) {
|
||||
|
@ -141,6 +148,10 @@ public class DuplicatesRowsPanel extends FramedPanel {
|
|||
|
||||
// Validates Button
|
||||
validatesButton = new TextButton("Validate");
|
||||
validatesButton.setIcon(ResourceBundle.INSTANCE.tableDuplicateRows());
|
||||
validatesButton.setIconAlign(IconAlign.RIGHT);
|
||||
validatesButton.setTitle("Validate Duplicates Rows");
|
||||
|
||||
SelectHandler validatesHandler = new SelectHandler() {
|
||||
|
||||
public void onSelect(SelectEvent event) {
|
||||
|
|
Before Width: | Height: | Size: 606 B |
Before Width: | Height: | Size: 516 B |
Before Width: | Height: | Size: 1005 B |
Before Width: | Height: | Size: 357 B |
Before Width: | Height: | Size: 472 B |
Before Width: | Height: | Size: 426 B |
Before Width: | Height: | Size: 833 B |
Before Width: | Height: | Size: 313 B |
After Width: | Height: | Size: 851 B |
After Width: | Height: | Size: 1.5 KiB |
After Width: | Height: | Size: 809 B |
After Width: | Height: | Size: 1.4 KiB |