Minor Update

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-column-widget@98859 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Giancarlo Panichi 2014-07-22 09:38:21 +00:00
parent f41616207f
commit e05ddd03bc
11 changed files with 26 additions and 0 deletions

View File

@ -15,6 +15,7 @@ import org.gcube.portlets.user.td.columnwidget.client.properties.ColumnTypeCodeP
import org.gcube.portlets.user.td.columnwidget.client.properties.LocaleTypeProperties;
import org.gcube.portlets.user.td.columnwidget.client.properties.TabResourceProperties;
import org.gcube.portlets.user.td.columnwidget.client.properties.TimeDimensionTypeProperties;
import org.gcube.portlets.user.td.columnwidget.client.resources.ResourceBundle;
import org.gcube.portlets.user.td.columnwidget.client.store.ColumnDataTypeElement;
import org.gcube.portlets.user.td.columnwidget.client.store.ColumnDataTypeStore;
import org.gcube.portlets.user.td.columnwidget.client.store.ColumnTypeCodeElement;
@ -47,6 +48,7 @@ import com.google.gwt.event.logical.shared.SelectionEvent;
import com.google.gwt.event.logical.shared.SelectionHandler;
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.util.Margins;
import com.sencha.gxt.data.client.loader.RpcProxy;
@ -373,6 +375,11 @@ public class ChangeColumnTypePanel extends FramedPanel implements
// Change
change = new TextButton("Change");
change.setIcon(ResourceBundle.INSTANCE.columnType());
change.setIconAlign(IconAlign.RIGHT);
change.setTitle("Change Column Type");
SelectHandler changeHandler = new SelectHandler() {
public void onSelect(SelectEvent event) {

View File

@ -4,6 +4,7 @@ import java.util.ArrayList;
import org.gcube.portlets.user.td.columnwidget.client.progress.LabelColumnProgressDialog;
import org.gcube.portlets.user.td.columnwidget.client.properties.ColumnDataPropertiesCombo;
import org.gcube.portlets.user.td.columnwidget.client.resources.ResourceBundle;
import org.gcube.portlets.user.td.columnwidget.client.utils.UtilsGXT3;
import org.gcube.portlets.user.td.gwtservice.client.rpc.TDGWTServiceAsync;
import org.gcube.portlets.user.td.gwtservice.shared.exception.TDGWTSessionExpiredException;
@ -21,6 +22,7 @@ import com.google.gwt.event.logical.shared.SelectionEvent;
import com.google.gwt.event.logical.shared.SelectionHandler;
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.util.Margins;
import com.sencha.gxt.data.client.loader.RpcProxy;
@ -136,6 +138,11 @@ public class LabelColumnPanel extends FramedPanel {
label.setAllowBlank(false);
change = new TextButton("Change");
change.setIcon(ResourceBundle.INSTANCE.columnLabel());
change.setIconAlign(IconAlign.RIGHT);
change.setTitle("Change Column Label");
change.addSelectHandler(new SelectHandler() {
public void onSelect(SelectEvent event) {

View File

@ -52,6 +52,18 @@ public interface ResourceBundle extends ClientBundle {
@Source("column-delete_32.png")
ImageResource columnDelete32();
@Source("column-label.png")
ImageResource columnLabel();
@Source("column-label_32.png")
ImageResource columnLabel32();
@Source("column-type.png")
ImageResource columnType();
@Source("column-type_32.png")
ImageResource columnType32();
@Source("column-replace.png")
ImageResource replace();

Binary file not shown.

After

Width:  |  Height:  |  Size: 742 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 760 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 742 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 760 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB