/** * Creates and returns a new overlay preference store. * * @param parent the parent preference store * @param overlayKeys the overlay keys */ public OverlayPreferenceStore(IPreferenceStore parent, OverlayKey[] overlayKeys) { fParent= parent; fOverlayKeys= overlayKeys; fStore= new PreferenceStore(); }
public OverlayPreferenceStore(IPreferenceStore parent, OverlayKey[] overlayKeys) { fParent= parent; fOverlayKeys= overlayKeys; fStore= new PreferenceStore(); }
public OverlayPreferenceStore(IPreferenceStore parent, OverlayKey[] overlayKeys) { fParent= parent; fOverlayKeys= overlayKeys; fStore= new PreferenceStore(); }
public OverlayPreferenceStore(IPreferenceStore parent, OverlayKey[] overlayKeys) { fParent = parent; fOverlayKeys = overlayKeys; fStore = new PreferenceStore(); }
public AbstractDetailsPart(IPreferenceStore masterPreferenceStore) { super(GRID); this.masterPreferenceStore = masterPreferenceStore; internalStore = new PreferenceStore(); }
public OverlayPreferenceStore(IPreferenceStore parent, OverlayKey[] overlayKeys) { fParent= parent; fOverlayKeys= overlayKeys; fStore= new PreferenceStore(); }
public OverlayPreferenceStore(IPreferenceStore parent, OverlayKey[] overlayKeys) { fParent= parent; fOverlayKeys= overlayKeys; fStore= new PreferenceStore(); }
public OverlayPreferenceStore(IPreferenceStore parent, OverlayKey[] overlayKeys) { fParent= parent; fOverlayKeys= overlayKeys; fStore= new PreferenceStore(); }
/** * Creates and returns a new overlay preference store. * * @param parent the parent preference store * @param overlayKeys the overlay keys */ public OverlayPreferenceStore(IPreferenceStore parent, OverlayKey[] overlayKeys) { fParent= parent; fOverlayKeys= overlayKeys; fStore= new PreferenceStore(); }
private void reloadDecorationHelper() { store = new PreferenceStore(); if (tabsInitialized) performOk(store); fHelper = new DecorationHelper(store); }
/** * */ private void resetPreferenceStore() { internalStore = new PreferenceStore(); setPreferenceStore(null); }
public void refresh() { store = new PreferenceStore(); performOk(store); fViewer.refresh(true); } }
public NavigatorPreview(Composite composite) { super(composite); // Has to happen before the tree control is constructed reloadDecorationHelper(); fViewer.setContentProvider(this); fViewer.setLabelProvider(new ResLabelProvider()); fViewer.setInput(PREVIEW_FILESYSTEM_ROOT); fViewer.expandAll(); fHelper = new DecorationHelper(new PreferenceStore()); }
public IPreferenceStore getPreferenceStore() { if (preferenceStore==null) { preferenceStore = new PreferenceStore(getFileName(this.name)); try { File file = new File(getFileName(this.name)); if (file.exists()) { preferenceStore.load(); } } catch (IOException e) { String message = Messages.bind(Messages.ScopeSet_errorLoading, name); HelpUIPlugin.logError(message, e); } } return preferenceStore; }
PreferenceStore store= new PreferenceStore(); String defaultEncoding= ResourcesPlugin.getEncoding(); store.setDefault(PREF_SPELLING_USER_DICTIONARY_ENCODING.getName(), defaultEncoding);
} else { fEncodingEditor= new EncodingFieldEditor(ENCODING_PREF_KEY, "", null, composite); //$NON-NLS-1$ store= new PreferenceStore(); String defaultEncoding= encodingSupport.getDefaultEncoding(); store.setDefault(ENCODING_PREF_KEY, defaultEncoding);
} else { fEncodingEditor= new EncodingFieldEditor(ENCODING_PREF_KEY, "", (Composite)composite); //$NON-NLS-1$ store= new PreferenceStore(); String defaultEncoding= encodingSupport.getDefaultEncoding(); store.setDefault(ENCODING_PREF_KEY, defaultEncoding);
tools.setupJavaDocumentPartitioner( fPreviewDocument, IJavaPartitions.JAVA_PARTITIONING); PreferenceStore prioritizedSettings= new PreferenceStore(); HashMap<String, String> complianceOptions= new HashMap<>(); JavaModelUtil.setComplianceOptions(complianceOptions, JavaModelUtil.VERSION_LATEST);
tools.setupJavaDocumentPartitioner( fPreviewDocument, IJavaPartitions.JAVA_PARTITIONING); PreferenceStore prioritizedSettings= new PreferenceStore(); HashMap<String, String> complianceOptions= new HashMap<>(); JavaModelUtil.setComplianceOptions(complianceOptions, JavaModelUtil.VERSION_LATEST);
tools.setupJavaDocumentPartitioner( fPreviewDocument, IJavaPartitions.JAVA_PARTITIONING); PreferenceStore prioritizedSettings= new PreferenceStore(); prioritizedSettings.setValue(JavaCore.COMPILER_SOURCE, JavaCore.VERSION_1_5); prioritizedSettings.setValue(JavaCore.COMPILER_COMPLIANCE, JavaCore.VERSION_1_5);