Merge "Issue #2138 - Fixed to not use filter if filter is disabled." into development
Former-commit-id: 35a2a6d54af2aa62cc3a256869e409cdb7868cb0
This commit is contained in:
commit
b8800c0616
1 changed files with 13 additions and 17 deletions
|
@ -82,6 +82,7 @@ import com.raytheon.viz.ui.widgets.duallist.DualListConfig;
|
|||
* Feb 24, 2013 1620 mpduff Fixed set clean issue when loading configurations. Set clean
|
||||
* needs to be called after the data load job is complete.
|
||||
* May 15, 2013 1040 mpduff Called markNotBusyInUIThread.
|
||||
* Jul 05, 2013 2138 mpduff Fixed to not use filter if filter is disabled.
|
||||
*
|
||||
* </pre>
|
||||
*
|
||||
|
@ -101,18 +102,11 @@ public class FilterExpandBar extends Composite implements IFilterUpdate,
|
|||
*/
|
||||
private FilterImages filterImgs;
|
||||
|
||||
// private String dataType;
|
||||
|
||||
/**
|
||||
* Dialog that will enable or disable a filter.
|
||||
*/
|
||||
private EnableFilterDlg enableFilterDlg = null;
|
||||
|
||||
/**
|
||||
* Controls for the expand bar.
|
||||
*/
|
||||
// private ExpandBarControls expandBarControls;
|
||||
|
||||
private DataTypeFilterXML dataTypeFilterXml;
|
||||
|
||||
private FilterXML filterXml;
|
||||
|
@ -676,6 +670,7 @@ public class FilterExpandBar extends Composite implements IFilterUpdate,
|
|||
Control control = item.getControl();
|
||||
if (control instanceof FilterComp) {
|
||||
FilterComp fc = (FilterComp) control;
|
||||
if (fc.isEnabled()) {
|
||||
String[] selectedItems = fc.getSelectedListItems();
|
||||
ArrayList<String> values = new ArrayList<String>();
|
||||
for (String selectedItem : selectedItems) {
|
||||
|
@ -689,6 +684,7 @@ public class FilterExpandBar extends Composite implements IFilterUpdate,
|
|||
filterSettingsXml.addFilterType(ftx);
|
||||
}
|
||||
}
|
||||
}
|
||||
// return filterSettingsXml;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue