@Override public void run() throws Exception { result[0] = listener.preApply(result[0]); } };
public void run() throws Exception { result[0] = listener.preApply(result[0]); } };
public IEclipsePreferences preApply(IEclipsePreferences node){ Utils.migrateSSH2Preferences(node.node("instance")); //$NON-NLS-1$ return super.preApply(node); }
public IEclipsePreferences preApply(IEclipsePreferences node) { Preferences instance = node.node(InstanceScope.SCOPE); cleanJavaCore(instance.node(JavaCore.PLUGIN_ID)); return super.preApply(node); }
public IEclipsePreferences preApply(IEclipsePreferences node){ // the node does not need to be the root of the hierarchy Preferences root=node.node("/"); //$NON-NLS-1$ try{ // we must not create empty preference nodes, so first check if the node exists if(root.nodeExists(InstanceScope.SCOPE)){ Utils.migrateSSH2Preferences(root.node(InstanceScope.SCOPE)); } } catch(BackingStoreException e){ // do nothing } return super.preApply(node); }
public IEclipsePreferences preApply(IEclipsePreferences node) { try { if (node.nodeExists("instance")) { //$NON-NLS-1$ ((ProxyManager)ProxyManager.getProxyManager()).migrateUpdateHttpProxy(node.node("instance"), false); //$NON-NLS-1$ } } catch (BackingStoreException e) { Activator.logError("Could not access instance preferences", e); //$NON-NLS-1$ } return super.preApply(node); }
public IEclipsePreferences preApply(IEclipsePreferences node) { // the node does not need to be the root of the hierarchy Preferences root = node.node("/"); //$NON-NLS-1$ try { // we must not create empty preference nodes, so first check if the node exists if (root.nodeExists(InstanceScope.SCOPE)) { Preferences instance = root.node(InstanceScope.SCOPE); // we must not create empty preference nodes, so first check if the node exists if (instance.nodeExists(JavaCore.PLUGIN_ID)) { cleanJavaCore(instance.node(JavaCore.PLUGIN_ID)); } } } catch (BackingStoreException e) { // do nothing } return super.preApply(node); }
public IEclipsePreferences preApply(IEclipsePreferences node) { // the node does not need to be the root of the hierarchy Preferences root = node.node("/"); //$NON-NLS-1$ try { // we must not create empty preference nodes, so first check if the node exists if (root.nodeExists(InstanceScope.SCOPE)) { Preferences instance = root.node(InstanceScope.SCOPE); // we must not create empty preference nodes, so first check if the node exists if (instance.nodeExists(JavaCore.PLUGIN_ID)) { cleanJavaCore(instance.node(JavaCore.PLUGIN_ID)); } } } catch (BackingStoreException e) { // do nothing } return super.preApply(node); }
public IEclipsePreferences preApply(IEclipsePreferences node) { // the node does not need to be the root of the hierarchy Preferences root = node.node("/"); //$NON-NLS-1$ try { // we must not create empty preference nodes, so first check if the node exists if (root.nodeExists(InstanceScope.SCOPE)) { Preferences instance = root.node(InstanceScope.SCOPE); // we must not create empty preference nodes, so first check if the node exists if (instance.nodeExists(JavaCore.PLUGIN_ID)) { cleanJavaCore(instance.node(JavaCore.PLUGIN_ID)); } } } catch (BackingStoreException e) { // do nothing } return super.preApply(node); }
@Override public IEclipsePreferences preApply(IEclipsePreferences node) { // the node does not need to be the root of the hierarchy Preferences root = node.node("/"); //$NON-NLS-1$ try { // we must not create empty preference nodes, so first check if the node exists if (root.nodeExists(InstanceScope.SCOPE)) { Preferences instance = root.node(InstanceScope.SCOPE); // we must not create empty preference nodes, so first check if the node exists if (instance.nodeExists(JavaCore.PLUGIN_ID)) { cleanJavaCore(instance.node(JavaCore.PLUGIN_ID)); } } } catch (BackingStoreException e) { // do nothing } return super.preApply(node); }
public IEclipsePreferences preApply(IEclipsePreferences node) { // the node does not need to be the root of the hierarchy Preferences root = node.node("/"); //$NON-NLS-1$ try { // we must not create empty preference nodes, so first check if the node exists if (root.nodeExists(InstanceScope.SCOPE)) { Preferences instance = root.node(InstanceScope.SCOPE); // we must not create empty preference nodes, so first check if the node exists if (instance.nodeExists(JavaCore.PLUGIN_ID)) { cleanJavaCore(instance.node(JavaCore.PLUGIN_ID)); } } } catch (BackingStoreException e) { // do nothing } return super.preApply(node); }
public IEclipsePreferences preApply(IEclipsePreferences node) { // the node does not need to be the root of the hierarchy Preferences root = node.node("/"); //$NON-NLS-1$ try { // we must not create empty preference nodes, so first check if the node exists if (root.nodeExists(InstanceScope.SCOPE)) { Preferences instance = root.node(InstanceScope.SCOPE); // we must not create empty preference nodes, so first check if the node exists if (instance.nodeExists(Activator.ID)) { ((ProxyManager) ProxyManager.getProxyManager()) .migrateInstanceScopePreferences( instance.node(Activator.ID), root.node(ConfigurationScope.SCOPE).node( Activator.ID), false); } } } catch (BackingStoreException e) { Activator.logError("Could not access instance preferences", e); //$NON-NLS-1$ } return super.preApply(node); } }