Examples of DefaultScope


Examples of org.eclipse.core.runtime.preferences.DefaultScope

    handleMarkupSeveritySelection(fOriginalUseExtendedMarkupValidation);

  }

  protected void performDefaultsForValidatingGroup() {
    IEclipsePreferences modelPreferences = new DefaultScope().getNode(getPreferenceNodeQualifier());
    boolean useXIncludeButtonSelected = modelPreferences.getBoolean(XMLCorePreferenceNames.USE_XINCLUDE, true);

    if (fUseXinclude != null) {
      fUseXinclude.setSelection(useXIncludeButtonSelected);
    }
View Full Code Here

Examples of org.eclipse.core.runtime.preferences.DefaultScope

      fHonourAllSchemaLocations.setSelection(useHonourAllButtonSelected);
    }
  }

  protected void performDefaultsForMarkupValidationGroup() {
    IEclipsePreferences modelPreferences = new DefaultScope().getNode(getPreferenceNodeQualifier());
    boolean useExtendedMarkupValidation = modelPreferences.getBoolean(XMLCorePreferenceNames.MARKUP_VALIDATION, false);

    if (fExtendedMarkupValidation != null) {
      if (fExtendedMarkupValidation.getSelection() != useExtendedMarkupValidation) {
        handleMarkupSeveritySelection(useExtendedMarkupValidation);
View Full Code Here

Examples of org.eclipse.core.runtime.preferences.DefaultScope

   * (non-Javadoc)
   *
   * @see org.eclipse.core.runtime.preferences.AbstractPreferenceInitializer#initializeDefaultPreferences()
   */
  public void initializeDefaultPreferences() {
    IEclipsePreferences node = new DefaultScope().getNode(XMLCorePlugin.getDefault().getBundle().getSymbolicName());

    // formatting preferences
    node.putInt(XMLCorePreferenceNames.LINE_WIDTH, 72);
    node.putBoolean(XMLCorePreferenceNames.CLEAR_ALL_BLANK_LINES, false);
    node.put(XMLCorePreferenceNames.INDENTATION_CHAR, XMLCorePreferenceNames.TAB);
View Full Code Here

Examples of org.eclipse.core.runtime.preferences.DefaultScope

public class DefaultPreferences extends EsftpPreferences
{
  protected void setupScope()
  {
    m_original = new DefaultScope().getNode(Activator.PLUGIN_ID);
  }
View Full Code Here

Examples of org.eclipse.core.runtime.preferences.DefaultScope

  public ProjectPreferences(IProject project)
  {
    m_searchScope = new IScopeContext[3];
    m_searchScope[0] = new ProjectScope(project);
    m_searchScope[1] = new InstanceScope();
    m_searchScope[2] = new DefaultScope();
 
    m_project = project;
   
    setupWorkingCopy();
  }
View Full Code Here

Examples of org.eclipse.core.runtime.preferences.DefaultScope

  /* (non-Javadoc)
   * @see org.eclipse.core.runtime.preferences.AbstractPreferenceInitializer#initializeDefaultPreferences()
   */
  @Override
  public void initializeDefaultPreferences() {
    IEclipsePreferences node = new DefaultScope().getNode(EclipastiePlugin.PLUGIN_ID);

    node.put(IEclipastiePreferenceConstants.MENU_HANDLER_OPENFILEQUESTION_TOGGLE_PREFERENCE,
         IEclipastiePreferenceConstants.DEFAULT_OPENFILEQUESTION_TOGGLE);
    node.put(IEclipastiePreferenceConstants.MENU_HANDLER_CLIPBOARDQUESTION_TOGGLE_PREFERENCE,
         IEclipastiePreferenceConstants.DEFAULT_CLIPBOARDFILEQUESTION_TOGGLE);
View Full Code Here

Examples of org.eclipse.core.runtime.preferences.DefaultScope

*/
public class PreferenceInitializer extends AbstractPreferenceInitializer {

  @Override
  public void initializeDefaultPreferences() {
    IEclipsePreferences node = new DefaultScope().getNode(LodgeItProvider.PLUGIN_ID);

    node.put(ILodgeItPreferenceConstants.LODGEIT_API_URL_PREFERENCE, ILodgeItPreferenceConstants.DEFAULT_API_URL);
  }
View Full Code Here

Examples of org.eclipse.core.runtime.preferences.DefaultScope

  public PreferenceInitializer() {
  }

  public void initializeDefaultPreferences() {
    IEclipsePreferences node = new DefaultScope().getNode(Activator.PLUGIN_ID);
    node.put(Activator.PREF_AUTO_UPDATE, "true");
    node.put(Activator.PREF_UPDATE_INTERVAL, "30");
    node.put(Activator.PREF_POPUP_ON_ERROR, "false");

    String[] filterprefs = new String[] { Activator.PREF_FILTER_FAIL, Activator.PREF_FILTER_FAIL_TEST, Activator.PREF_FILTER_NO_BUILD, Activator.PREF_FILTER_SUCCESS };
View Full Code Here

Examples of org.rssowl.core.internal.persist.pref.DefaultScope

  private final IPreferenceScope fDefaultScope;
  private final IPreferenceScope fGlobalScope;

  /** */
  public PreferenceServiceImpl() {
    fDefaultScope = new DefaultScope();
    fGlobalScope = new GlobalScope(fDefaultScope);
    initScopedPreferences();
  }
View Full Code Here

Examples of org.rssowl.core.internal.persist.pref.DefaultScope

  private final IPreferenceScope fGlobalScope;
  private final IPreferenceScope fEclipseScope;

  /** */
  public PreferenceServiceImpl() {
    fDefaultScope = new DefaultScope();
    fGlobalScope = new GlobalScope(fDefaultScope);
    fEclipseScope = new EclipseScope(fDefaultScope);
    initScopedPreferences();
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.