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();
}
Aggregations