RegistryFactory.getRegistry().addRegistryChangeListener(this, IPreferencesConstants.RUNTIME_NAME); RegistryFactory.getRegistry().addRegistryChangeListener(this, IPreferencesConstants.PREFERS_NAME);
	private void initializeScopes() {		IExtension[] extensions = getPrefExtensions();		for (int i = 0; i < extensions.length; i++) {			IConfigurationElement[] elements = extensions[i].getConfigurationElements();			for (int j = 0; j < elements.length; j++)				if (ELEMENT_SCOPE.equalsIgnoreCase(elements[j].getName()))					scopeAdded(elements[j]);		}		RegistryFactory.getRegistry().addRegistryChangeListener(this, IPreferencesConstants.RUNTIME_NAME);		RegistryFactory.getRegistry().addRegistryChangeListener(this, IPreferencesConstants.PREFERS_NAME);	}