Package org.eclipse.wst.xml.core.internal.provisional.format

Examples of org.eclipse.wst.xml.core.internal.provisional.format.StructuredFormatPreferencesXML


    super();
  }

  protected StructuredFormatPreferencesXML getFormatPreferences() {
    if (fFormatPreferences == null) {
      fFormatPreferences = new StructuredFormatPreferencesXML();

      Preferences preferences = HTMLCorePlugin.getDefault().getPluginPreferences();
      if (preferences != null) {
        fFormatPreferences.setLineWidth(preferences.getInt(HTMLCorePreferenceNames.LINE_WIDTH));
        fFormatPreferences.setSplitMultiAttrs(preferences.getBoolean(HTMLCorePreferenceNames.SPLIT_MULTI_ATTRS));
View Full Code Here


    fFormatPreferences = formatPreferences;
  }

  public IStructuredFormatPreferences getFormatPreferences() {
    if (fFormatPreferences == null) {
      fFormatPreferences = new StructuredFormatPreferencesXML();

      Preferences preferences = HTMLCorePlugin.getDefault().getPluginPreferences();
      if (preferences != null) {
        fFormatPreferences.setLineWidth(preferences.getInt(HTMLCorePreferenceNames.LINE_WIDTH));
        ((StructuredFormatPreferencesXML) fFormatPreferences).setSplitMultiAttrs(preferences.getBoolean(HTMLCorePreferenceNames.SPLIT_MULTI_ATTRS));
View Full Code Here

    return formatter;
  }

  public IStructuredFormatPreferences getFormatPreferences() {
    if (fFormatPreferences == null) {
      fFormatPreferences = new StructuredFormatPreferencesXML();

      Preferences preferences = HTMLCorePlugin.getDefault().getPluginPreferences();
      if (preferences != null) {
        fFormatPreferences.setLineWidth(preferences.getInt(HTMLCorePreferenceNames.LINE_WIDTH));
        ((StructuredFormatPreferencesXML) fFormatPreferences).setSplitMultiAttrs(preferences.getBoolean(HTMLCorePreferenceNames.SPLIT_MULTI_ATTRS));
View Full Code Here

    super();
  }

  protected StructuredFormatPreferencesXML getFormatPreferences() {
    if (fFormatPreferences == null) {
      fFormatPreferences = new StructuredFormatPreferencesXML();

      Preferences preferences = HTMLCorePlugin.getDefault()
          .getPluginPreferences();
      if (preferences != null) {
        fFormatPreferences.setLineWidth(preferences
View Full Code Here

TOP

Related Classes of org.eclipse.wst.xml.core.internal.provisional.format.StructuredFormatPreferencesXML

Copyright © 2018 www.massapicom. 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.