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
|
@ -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() {
|
||||
|
|
|
@ -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());
|
||||
|
||||
}
|
||||
|
||||
|
|
|
@ -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();
|
||||
|
||||
|
||||
|
||||
}
|
After Width: | Height: | Size: 856 B |
After Width: | Height: | Size: 1.7 KiB |
After Width: | Height: | Size: 808 B |
After Width: | Height: | Size: 1.5 KiB |
After Width: | Height: | Size: 856 B |
After Width: | Height: | Size: 1.7 KiB |
After Width: | Height: | Size: 808 B |
After Width: | Height: | Size: 1.5 KiB |