diff options
Diffstat (limited to 'bundles/org.eclipse.wst.xml.core/src/org/eclipse/wst/xml/core/format/FormatProcessorXML.java')
-rw-r--r-- | bundles/org.eclipse.wst.xml.core/src/org/eclipse/wst/xml/core/format/FormatProcessorXML.java | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/bundles/org.eclipse.wst.xml.core/src/org/eclipse/wst/xml/core/format/FormatProcessorXML.java b/bundles/org.eclipse.wst.xml.core/src/org/eclipse/wst/xml/core/format/FormatProcessorXML.java index 3f1f02f68a..292bde58c4 100644 --- a/bundles/org.eclipse.wst.xml.core/src/org/eclipse/wst/xml/core/format/FormatProcessorXML.java +++ b/bundles/org.eclipse.wst.xml.core/src/org/eclipse/wst/xml/core/format/FormatProcessorXML.java @@ -13,16 +13,15 @@ package org.eclipse.wst.xml.core.format; import org.eclipse.core.runtime.Preferences; -import org.eclipse.wst.sse.core.ModelPlugin; import org.eclipse.wst.sse.core.format.AbstractStructuredFormatProcessor; import org.eclipse.wst.sse.core.format.IStructuredFormatPreferences; import org.eclipse.wst.sse.core.format.IStructuredFormatter; +import org.eclipse.wst.sse.core.internal.SSECorePlugin; import org.eclipse.wst.sse.core.preferences.CommonModelPreferenceNames; import org.eclipse.wst.xml.core.internal.XMLCorePlugin; import org.eclipse.wst.xml.core.internal.document.CDATASectionImpl; import org.w3c.dom.Node; - public class FormatProcessorXML extends AbstractStructuredFormatProcessor { protected IStructuredFormatPreferences fFormatPreferences = null; @@ -43,7 +42,7 @@ public class FormatProcessorXML extends AbstractStructuredFormatProcessor { if (preferences.getBoolean(CommonModelPreferenceNames.INDENT_USING_TABS)) fFormatPreferences.setIndent("\t"); //$NON-NLS-1$ else { - int tabWidth = ModelPlugin.getDefault().getPluginPreferences().getInt(CommonModelPreferenceNames.TAB_WIDTH); + int tabWidth = SSECorePlugin.getDefault().getPluginPreferences().getInt(CommonModelPreferenceNames.TAB_WIDTH); String indent = ""; //$NON-NLS-1$ for (int i = 0; i < tabWidth; i++) { indent += " "; //$NON-NLS-1$ |