Minor Update

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-table-widget@98864 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Giancarlo Panichi 2014-07-22 10:06:02 +00:00 committed by Giancarlo Panichi
parent 0cc6e345b8
commit b3908f55f1
6 changed files with 13 additions and 0 deletions

View File

@ -5,6 +5,7 @@ import org.gcube.portlets.user.td.gwtservice.shared.exception.TDGWTSessionExpire
import org.gcube.portlets.user.td.gwtservice.shared.tr.TableData;
import org.gcube.portlets.user.td.gwtservice.shared.tr.table.ChangeTableTypeSession;
import org.gcube.portlets.user.td.tablewidget.client.progress.ChangeTableTypeProgressDialog;
import org.gcube.portlets.user.td.tablewidget.client.resources.ResourceBundle;
import org.gcube.portlets.user.td.tablewidget.client.type.TableTypeElement;
import org.gcube.portlets.user.td.tablewidget.client.type.TableTypeProperties;
import org.gcube.portlets.user.td.tablewidget.client.type.TableTypeStore;
@ -17,6 +18,7 @@ import com.allen_sauer.gwt.log.client.Log;
import com.google.gwt.core.client.GWT;
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.cell.core.client.form.ComboBoxCell.TriggerAction;
import com.sencha.gxt.core.client.dom.ScrollSupport.ScrollMode;
import com.sencha.gxt.core.client.util.Margins;
@ -85,6 +87,11 @@ public class ChangeTableTypePanel extends FramedPanel {
comboTableType.setTriggerAction(TriggerAction.ALL);
change = new TextButton("Change");
change.setIcon(ResourceBundle.INSTANCE.tableType());
change.setIconAlign(IconAlign.RIGHT);
change.setTitle("Change Table Type");
change.addSelectHandler(new SelectHandler() {
public void onSelect(SelectEvent event) {

View File

@ -149,5 +149,11 @@ public interface ResourceBundle extends ClientBundle {
@Source("table-duplicate-rows-remove_32.png")
ImageResource tableDuplicateRowsRemove32();
@Source("table-type.png")
ImageResource tableType();
@Source("table-type_32.png")
ImageResource tableType32();
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 845 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 845 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB