@Override public boolean isDefault(String name) { return fStore.isDefault(name); }
@Override public boolean isDefault(String name) { return fStore.isDefault(name); }
@Override public boolean isDefault(String name) { return fStore.isDefault(name); }
@Override public boolean isDefault(String name) { return fStore.isDefault(name); }
@Override public boolean isDefault(String name) { return fStore.isDefault(name); }
public boolean isDefault(String name) { return delegate.isDefault(name); }
public boolean isDefault(String name) { return fStore.isDefault(name); }
public boolean isDefault(String name) { return fStore.isDefault(name); }
public boolean isDefault(String name) { IPreferenceStore visibleStore= getVisibleStore(name); if (visibleStore != null) return visibleStore.isDefault(name); return false; }
@Override public boolean isDefault(String name) { IPreferenceStore visibleStore= getVisibleStore(name); if (visibleStore != null) return visibleStore.isDefault(name); return false; }
private RGB getColorFromStore(IPreferenceStore store, String key) { RGB rgb= null; if (store.contains(key)) { if (store.isDefault(key)) rgb= PreferenceConverter.getDefaultColor(store, key); else rgb= PreferenceConverter.getColor(store, key); } return rgb; }
private static RGB getColorFromStore(IPreferenceStore store, String key) { RGB rgb= null; if (store.contains(key)) { if (store.isDefault(key)) rgb= PreferenceConverter.getDefaultColor(store, key); else rgb= PreferenceConverter.getColor(store, key); } return rgb; }
private void initializeGlobalization() { IPreferenceStore store = WorkbenchPlugin.getDefault().getPreferenceStore(); if (!store.isDefault(IPreferenceConstants.BIDI_SUPPORT)) { BidiUtils.setBidiSupport(store.getBoolean(IPreferenceConstants.BIDI_SUPPORT)); } if (!store.isDefault(IPreferenceConstants.TEXT_DIRECTION)) { BidiUtils.setTextDirection(store.getString(IPreferenceConstants.TEXT_DIRECTION)); } }
private static RGB getColorFromStore(IPreferenceStore store, String key) { RGB rgb= null; if (store.contains(key)) { if (store.isDefault(key)) rgb= PreferenceConverter.getDefaultColor(store, key); else rgb= PreferenceConverter.getColor(store, key); } return rgb; }
private RGB getColorFromStore(IPreferenceStore store, String key) { RGB rgb= null; if (store.contains(key)) { if (store.isDefault(key)) rgb= PreferenceConverter.getDefaultColor(store, key); else rgb= PreferenceConverter.getColor(store, key); } return rgb; }
/** * Creates a color from the information stored in the given preference store. * Returns <code>null</code> if there is no such information available. * @param store preference store * @param key preference key * @return the color or <code>null</code> */ private static RGB createColor(IPreferenceStore store, String key) { if (!store.contains(key)) return null; if (store.isDefault(key)) return PreferenceConverter.getDefaultColor(store, key); return PreferenceConverter.getColor(store, key); }
/** * Creates a color from the information stored in the given preference store. * Returns <code>null</code> if there is no such information available. * @param store preference store * @param key preference key * @return the color or <code>null</code> */ private static RGB createColor(IPreferenceStore store, String key) { if (!store.contains(key)) return null; if (store.isDefault(key)) return PreferenceConverter.getDefaultColor(store, key); return PreferenceConverter.getColor(store, key); }
@Override protected void doLoad() { if (getPreferenceStore().isDefault(getPreferenceName())) loadDefault(); super.doLoad(); checkForDefault(); }
@Override protected void doLoad() { if (getPreferenceStore().isDefault(getPreferenceName())) loadDefault(); super.doLoad(); checkForDefault(); }
private void initializeNLExtensions() { IPreferenceStore store = WorkbenchPlugin.getDefault().getPreferenceStore(); if (!store.isDefault(IPreferenceConstants.NL_EXTENSIONS)) { String nlExtensions = store.getString(IPreferenceConstants.NL_EXTENSIONS); ULocale.setDefault(Category.FORMAT, new ULocale(ULocale.getDefault(Category.FORMAT) .getBaseName() + nlExtensions)); } }