Search in sources :

Example 1 with FilterManager

use of io.bisq.core.filter.FilterManager in project bisq-api by mrosseel.

the class BisqApiWithUI 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 : FilterManager(io.bisq.core.filter.FilterManager)

Aggregations

FilterManager (io.bisq.core.filter.FilterManager)1