Class DefaultWorkbenchPreferenceScopeResolutionStrategies

    • Constructor Detail

      • DefaultWorkbenchPreferenceScopeResolutionStrategies

        public DefaultWorkbenchPreferenceScopeResolutionStrategies()
      • DefaultWorkbenchPreferenceScopeResolutionStrategies

        public DefaultWorkbenchPreferenceScopeResolutionStrategies​(org.uberfire.preferences.shared.PreferenceScopeResolutionStrategy preferenceScopeResolutionStrategy)
    • Method Detail

      • getUserInfoFor

        public org.uberfire.preferences.shared.impl.PreferenceScopeResolutionStrategyInfo getUserInfoFor​(String scopeType,
                                                                                                         String scopeKey)
        Description copied from interface: WorkbenchPreferenceScopeResolutionStrategies
        Returns a scope resolution strategy with the scopes (in that order): scope (parameter) by user, user and global.
        Specified by:
        getUserInfoFor in interface WorkbenchPreferenceScopeResolutionStrategies
        Parameters:
        scopeType - The first scope type in the resolution order (e.g. project).
        scopeKey - The first scope key in the resolution order (e.g. my-project-name).
        Returns:
        The scope resolution strategy info based on the passed parameters.