Search in sources :

Example 1 with FilterWindow

use of bisq.desktop.main.overlays.windows.FilterWindow in project bisq-desktop by bisq-network.

the class BisqApp method showFilterPopup.

private void showFilterPopup() {
    FilterManager filterManager = injector.getInstance(FilterManager.class);
    boolean useDevPrivilegeKeys = injector.getInstance(Key.get(Boolean.class, Names.named(AppOptionKeys.USE_DEV_PRIVILEGE_KEYS)));
    new FilterWindow(filterManager, useDevPrivilegeKeys).onAddFilter(filterManager::addFilterMessageIfKeyIsValid).onRemoveFilter(filterManager::removeFilterMessageIfKeyIsValid).show();
}
Also used : FilterWindow(bisq.desktop.main.overlays.windows.FilterWindow) FilterManager(bisq.core.filter.FilterManager)

Aggregations

FilterManager (bisq.core.filter.FilterManager)1 FilterWindow (bisq.desktop.main.overlays.windows.FilterWindow)1