org.netbeans.modules.editor.indent/2 1.28

org.netbeans.modules.editor.indent.spi
Interface CodeStylePreferences.Provider

Enclosing class:
CodeStylePreferences

public static interface CodeStylePreferences.Provider

Code style preferences provider. This interface allows to implement your own code style preferences storage. Implementations ought to be registered in the default lookup (ie. through @ServiceProvider annotation).

Usual API clients do not have to be concerned about this. It was created in order to seprate the project-dependent implementation of code style preferences storage from the rest of the editor infrastructure.


Method Summary
 Preferences forDocument(Document doc, String mimeType)
           
 Preferences forFile(FileObject file, String mimeType)
           
 

Method Detail

forFile

Preferences forFile(FileObject file,
                    String mimeType)

forDocument

Preferences forDocument(Document doc,
                        String mimeType)

org.netbeans.modules.editor.indent/2 1.28

Built on May 22 2012.  |  Portions Copyright 1997-2012 Oracle. All rights reserved.