Minor Updated

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-expression-widget@91850 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Giancarlo Panichi 2014-02-18 14:54:31 +00:00
parent 4f6f36e134
commit f083213e20
2 changed files with 7 additions and 2 deletions

View File

@ -53,9 +53,14 @@ public class ColumnExpressionPanel extends FramedPanel {
private TextButton btnSave;
private TextButton btnClose;
public ColumnExpressionPanel(ColumnFilterDialog parentFilterDialog, ColumnData column) {
public ColumnExpressionPanel(ColumnFilterDialog parentFilterDialog, ColumnData column, EventBus eventBus) {
type = ColumnExpressionPanelType.ColumnFilter;
this.parentFilterDialog=parentFilterDialog;
this.column=column;
this.eventBus=eventBus;
Log.debug(column.toString());
create();
}
/**

View File

@ -79,7 +79,7 @@ public class ColumnFilterDialog extends Window {
ColumnTypeCode.CODENAME.toString()) == 0
|| column.getTypeCode().compareTo(
ColumnTypeCode.MEASURE.toString()) == 0) {
columnExpressionPanel = new ColumnExpressionPanel(this, column);
columnExpressionPanel = new ColumnExpressionPanel(this, column, eventBus);
add(columnExpressionPanel);
if(columnExpressionPanel.getBtnSave()!=null){
columnExpressionPanel.getBtnSave().setVisible(false);