Class ExternalFormatterCodeStylePreferencesProvider

java.lang.Object
de.funfried.netbeans.plugins.external.formatter.ui.editor.ExternalFormatterCodeStylePreferencesProvider
All Implemented Interfaces:
org.netbeans.modules.editor.indent.spi.CodeStylePreferences.Provider

public class ExternalFormatterCodeStylePreferencesProvider extends Object implements org.netbeans.modules.editor.indent.spi.CodeStylePreferences.Provider
Implementation of the CodeStylePreferences.Provider to provide custom properties to the NetBeans editor.
Author:
bahlef
  • Constructor Details

    • ExternalFormatterCodeStylePreferencesProvider

      public ExternalFormatterCodeStylePreferencesProvider()
  • Method Details

    • forFile

      public Preferences forFile(FileObject file, String mimeType)
      Specified by:
      forFile in interface org.netbeans.modules.editor.indent.spi.CodeStylePreferences.Provider
    • forDocument

      public Preferences forDocument(Document doc, String mimeType)
      Specified by:
      forDocument in interface org.netbeans.modules.editor.indent.spi.CodeStylePreferences.Provider