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(PrefsMessages.preferences_classCastScope, e)); return new EclipsePreferences(root, name); } catch (CoreException e) { log(e.getStatus()); return new EclipsePreferences(root, name); } } else scope = (IScope) value; return scope.create(root, name);
public IEclipsePreferences createNode(String key) { IScope scope = (IScope) defaultScopes.get(key); if (scope == null) { if (registryHelper == null) return new EclipsePreferences(root, key); return ((PreferenceServiceRegistryHelper) registryHelper).createNode(root, key); } return scope.create(root, key);
	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(PrefsMessages.preferences_classCastScope, e));				return new EclipsePreferences(root, name);			} catch (CoreException e) {				log(e.getStatus());				return new EclipsePreferences(root, name);			}		} else			scope = (IScope) value;		return scope.create(root, name);	}