Refs #21354: Improve accounting manager portlet by new persistence
Upddated context column name
This commit is contained in:
parent
8e68cdcf4b
commit
4ab9e3ea97
|
@ -101,6 +101,7 @@ import com.sencha.gxt.widget.core.client.toolbar.ToolBar;
|
||||||
*/
|
*/
|
||||||
public class ActiveFiltersPanel extends SimpleContainer {
|
public class ActiveFiltersPanel extends SimpleContainer {
|
||||||
|
|
||||||
|
private static final String CONTEXT = "Context";
|
||||||
private EventBus eventBus;
|
private EventBus eventBus;
|
||||||
private Grid<AccountingFilter> gridFilter;
|
private Grid<AccountingFilter> gridFilter;
|
||||||
private ListStore<AccountingFilter> storeFilter;
|
private ListStore<AccountingFilter> storeFilter;
|
||||||
|
@ -392,7 +393,7 @@ public class ActiveFiltersPanel extends SimpleContainer {
|
||||||
IdentityValueProvider<ContextData> identity = new IdentityValueProvider<ContextData>();
|
IdentityValueProvider<ContextData> identity = new IdentityValueProvider<ContextData>();
|
||||||
smScopes = new CheckBoxSelectionModel<ContextData>(identity);
|
smScopes = new CheckBoxSelectionModel<ContextData>(identity);
|
||||||
|
|
||||||
labelScopesCol = new ColumnConfig<ContextData, String>(propsScopeData.label(), 356, "Scope");
|
labelScopesCol = new ColumnConfig<ContextData, String>(propsScopeData.label(), 356, CONTEXT);
|
||||||
|
|
||||||
labelScopesCol.setCell(new AbstractCell<String>() {
|
labelScopesCol.setCell(new AbstractCell<String>() {
|
||||||
|
|
||||||
|
@ -768,7 +769,7 @@ public class ActiveFiltersPanel extends SimpleContainer {
|
||||||
}
|
}
|
||||||
|
|
||||||
gridScopes.setVisible(true);
|
gridScopes.setVisible(true);
|
||||||
labelScopesCol.setHeader("Scope");
|
labelScopesCol.setHeader(CONTEXT);
|
||||||
gridScopes.getView().refresh(true);
|
gridScopes.getView().refresh(true);
|
||||||
|
|
||||||
comboChartType.setValue(ChartType.Basic);
|
comboChartType.setValue(ChartType.Basic);
|
||||||
|
@ -925,7 +926,7 @@ public class ActiveFiltersPanel extends SimpleContainer {
|
||||||
}
|
}
|
||||||
|
|
||||||
gridScopes.setVisible(true);
|
gridScopes.setVisible(true);
|
||||||
labelScopesCol.setHeader("Scope");
|
labelScopesCol.setHeader(CONTEXT);
|
||||||
gridScopes.getView().refresh(true);
|
gridScopes.getView().refresh(true);
|
||||||
|
|
||||||
comboChartType.setValue(ChartType.Top);
|
comboChartType.setValue(ChartType.Top);
|
||||||
|
|
Loading…
Reference in New Issue