use of org.uberfire.preferences.shared.impl.PreferenceScopeImpl in project kie-wb-common by kiegroup.
the class WorkbenchPreferenceScopeResolverTest method setup.
@Before
public void setup() {
final List<PreferenceScope> order = new ArrayList<>();
globalScope = new PreferenceScopeImpl("global", "global", null);
userScope = new PreferenceScopeImpl("user", "my-user", null);
projectScope = new PreferenceScopeImpl("user", "my-user", new PreferenceScopeImpl("project", "my-project", null));
order.add(projectScope);
order.add(userScope);
order.add(globalScope);
scopeResolver = new WorkbenchPreferenceScopeResolver(order);
}
Aggregations