Minor Updated

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-expression-widget@91852 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Giancarlo Panichi 2014-02-18 15:16:36 +00:00
parent 707913be84
commit d041b989f1
11 changed files with 14 additions and 4 deletions

View File

@ -123,7 +123,11 @@ public class ColumnExpressionPanel extends FramedPanel {
flowButton.setPack(BoxLayoutPack.CENTER);
btnApply = new TextButton("Apply");
if (type == ColumnExpressionPanelType.ColumnRule) {
btnApply.setIcon(ExpressionResources.INSTANCE.apply());
} else {
btnApply.setIcon(ExpressionResources.INSTANCE.applyFilter());
}
btnApply.setIconAlign(IconAlign.RIGHT);
btnApply.setTitle("Apply rule");
btnApply.addSelectHandler(new SelectHandler() {

View File

@ -22,7 +22,7 @@ import com.sencha.gxt.widget.core.client.event.HideEvent.HideHandler;
public class ColumnFilterDialog extends Window {
protected String WIDTH = "650px";
protected String HEIGHT = "426px";
protected String HEIGHT = "334px";
protected ColumnExpressionPanel columnExpressionPanel;
protected C_Expression exp = null;
protected ColumnData column = null;
@ -58,9 +58,9 @@ public class ColumnFilterDialog extends Window {
setHeight(HEIGHT);
setBodyBorder(false);
setResizable(false);
setHeadingText("New Rule");
setHeadingText("New Filter");
setClosable(false);
getHeader().setIcon(ExpressionResources.INSTANCE.rule());
getHeader().setIcon(ExpressionResources.INSTANCE.filter());
}

View File

@ -38,6 +38,12 @@ public interface ExpressionResources extends ClientBundle {
@Source("wrench-manage.png")
ImageResource search();
@Source("column-filter.png")
ImageResource filter();
@Source("column-filter-go.png")
ImageResource applyFilter();
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 856 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 808 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 856 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 808 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB