Package org.eclipse.core.runtime.preferences

Examples of org.eclipse.core.runtime.preferences.IScope


    public void registryChanged( IRegistryChangeEvent event ) {
    }
  
    protected IEclipsePreferences createNode(String name) {
        IScope scope = null;
        Object value = scopeRegistry.get(name);
        if (value instanceof IConfigurationElement) {
            try {
                scope = (IScope) ((IConfigurationElement) value).createExecutableExtension(ATTRIBUTE_CLASS);
                scopeRegistry.put(name, scope);
            } catch (ClassCastException e) {
//                log(createStatusError(Messages.preferences_classCastScope, e));
                return new SLDPreferences(root, name);
            } catch (CoreException e) {
                log(e.getStatus());
                return new SLDPreferences(root, name);
            }
        } else
            scope = (IScope) value;
        return scope.create(root, name);
    }
View Full Code Here

TOP

Related Classes of org.eclipse.core.runtime.preferences.IScope

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.