Refs #10188:AccountingManager - Add a way to esplicitly set the scope in accounting-analytics

https://support.d4science.org/issues/10188

Added autocomplete for combo scope

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/admin/accounting-manager@179254 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Giancarlo Panichi 2019-05-03 14:03:52 +00:00
parent 51b5838a89
commit 40d2fc6242
2 changed files with 3 additions and 2 deletions

View File

@ -1,7 +1,7 @@
<ReleaseNotes> <ReleaseNotes>
<Changeset component="org.gcube.portlets.admin.accounting-manager.1-12-0" <Changeset component="org.gcube.portlets.admin.accounting-manager.1-12-0"
date="2019-05-02"> date="2019-05-02">
<Change>Fixed scope list view width</Change> <Change>Added autocomplete combo scope and fixed scope list view width</Change>
</Changeset> </Changeset>
<Changeset component="org.gcube.portlets.admin.accounting-manager.1-11-0" <Changeset component="org.gcube.portlets.admin.accounting-manager.1-11-0"
date="2018-12-28"> date="2018-12-28">

View File

@ -495,7 +495,8 @@ public class ActiveFiltersPanel extends SimpleContainer {
storeComboScope = new ListStore<GenresData>(genresDataPropertiesCombo.id()); storeComboScope = new ListStore<GenresData>(genresDataPropertiesCombo.id());
comboScope = new ComboBox<GenresData>(storeComboScope, genresDataPropertiesCombo.label()); comboScope = new ComboBox<GenresData>(storeComboScope, genresDataPropertiesCombo.label());
comboScope.setClearValueOnParseError(false); comboScope.setClearValueOnParseError(false);
comboScope.setEditable(false); //comboScope.setEditable(false);
comboScope.setTypeAhead(true);
comboScope.setTriggerAction(TriggerAction.ALL); comboScope.setTriggerAction(TriggerAction.ALL);
comboScope.getListView().addStyleName(AccountingManagerResources.INSTANCE.accountingManagerCSS().getScopeListView()); comboScope.getListView().addStyleName(AccountingManagerResources.INSTANCE.accountingManagerCSS().getScopeListView());