/** * Gets the plugin ID. * @return The ID of the Eclipse plugin whose preferences should be * altered. */ public String getPluginId() { return preferences.name(); }
@Override protected boolean isAlreadyLoaded(IEclipsePreferences node) { return loadedNodes.contains(node.name()); }
@Override protected boolean isAlreadyLoaded(IEclipsePreferences node) { return loadedNodes.contains(node.name()); }
@Override protected boolean isAlreadyLoaded(IEclipsePreferences node) { return loadedNodes.contains(node.name()); }
@Override protected boolean isAlreadyLoaded(IEclipsePreferences node) { return loadedNodes.contains(node.name()); }
protected boolean isAlreadyLoaded(IEclipsePreferences node) { return loadedNodes.contains(node.name()); }
@Override public boolean visit(IEclipsePreferences node) throws BackingStoreException { if (node.name().equals(PDECore.PLUGIN_ID)) { // Importing the preferences should not change the current target platform node.remove(ICoreConstants.WORKSPACE_TARGET_HANDLE); return false; } return true; }
@Override public String name() { return getOriginal().name(); }
@Override public boolean visit(IEclipsePreferences node) { if (node == root) return true; String[] fileSpecs = ContentTypeSettings.getFileSpecs(node, typeMask); for (int i = 0; i < fileSpecs.length; i++) if (fileSpecs[i].equalsIgnoreCase(fileSpec)) { ContentType associated = catalog.getContentType(node.name()); if (associated != null) result.add(associated); break; } return false; }
public boolean visit(IEclipsePreferences node) { if (node == root) return true; String[] fileSpecs = ContentTypeSettings.getFileSpecs(node, typeMask); for (int i = 0; i < fileSpecs.length; i++) if (fileSpecs[i].equalsIgnoreCase(fileSpec)) { ContentType associated = catalog.getContentType(node.name()); if (associated != null) result.add(associated); break; } return false; }
public boolean visit(IEclipsePreferences node) { if (node == root) return true; String[] fileSpecs = ContentTypeSettings.getFileSpecs(node, typeMask); for (int i = 0; i < fileSpecs.length; i++) if (fileSpecs[i].equalsIgnoreCase(fileSpec)) { ContentType associated = catalog.getContentType(node.name()); if (associated != null) result.add(associated); break; } return false; }
public boolean visit(IEclipsePreferences node) { if (node == root) return true; String[] fileSpecs = ContentTypeSettings.getFileSpecs(node, typeMask); for (int i = 0; i < fileSpecs.length; i++) if (fileSpecs[i].equalsIgnoreCase(fileSpec)) { ContentType associated = catalog.getContentType(node.name()); if (associated != null) result.add(associated); break; } return false; }
@Override public boolean visit(IEclipsePreferences node) { if (node == root) return true; ContentType contentType = localCatalog.internalGetContentType(node.name()); if (contentType != null) contentType.processPreferences(node); // content type nodes don't have any children anyway return false; } });
@Override public String getCSSId() { if (id == null) { id = escapeId(((IEclipsePreferences) getNativeWidget()).name()); } return id; }
public boolean visit(IEclipsePreferences node) { if (node == root) return true; ContentType contentType = localCatalog.internalGetContentType(node.name()); if (contentType != null) contentType.processPreferences(node); // content type nodes don't have any children anyway return false; } });
public boolean visit(IEclipsePreferences node) { if (node == root) return true; ContentType contentType = localCatalog.internalGetContentType(node.name()); if (contentType != null) contentType.processPreferences(node); // content type nodes don't have any children anyway return false; } });
@Override public boolean visit(IEclipsePreferences node) { if (node == root) return true; ContentType contentType = localCatalog.internalGetContentType(node.name()); if (contentType != null) contentType.processPreferences(node); // content type nodes don't have any children anyway return false; } });
public boolean visit(IEclipsePreferences node) { if (node == root) return true; ContentType contentType = localCatalog.internalGetContentType(node.name()); if (contentType != null) contentType.processPreferences(node); // content type nodes don't have any children anyway return false; } });
/** * Migrate preferences from instance scope to current scope. * @param proxies proxy types for which migration should be performed {@link ProxyType} */ public void migrate(ProxyType[] proxies) { migrated = true; if (currentScope.getBoolean(PREF_HAS_MIGRATED, false) || currentScope.name().equals(InstanceScope.SCOPE)) { return; } currentScope.putBoolean(PREF_HAS_MIGRATED, true); migrateInstanceScopePreferences(InstanceScope.INSTANCE.getNode(Activator.ID), currentScope, proxies, true); }
protected void removeNode(IEclipsePreferences child) { if (removeNode(child.name()) != null) { fireNodeEvent(new NodeChangeEvent(this, child), false); if (descriptor != null) descriptor.removed(child.absolutePath()); } }