public class DefaultNTextManagerModel extends Object
| Modifier and Type | Field and Description |
|---|---|
NTextTheme |
bootTheme |
Map<String,NMsgCustomFormatter> |
customFormatters |
NTextTheme |
selectedTheme |
| Constructor and Description |
|---|
DefaultNTextManagerModel(NWorkspace workspace) |
| Modifier and Type | Method and Description |
|---|---|
void |
addCodeHighlighter(NCodeHighlighter format) |
NOptional<NTextTheme> |
getBootTheme() |
NCodeHighlighter |
getCodeHighlighter(String highlighterId) |
NCodeHighlighter[] |
getCodeHighlighters() |
NTextTheme |
getDefaultTheme() |
NElementFactoryService |
getElementFactoryService() |
NElementStreamFormat |
getJsonMan() |
NOptional<NTextTheme> |
getSelectedTheme() |
NElementStreamFormat |
getStreamFormat(NContentType contentType) |
NTextTheme |
getTheme() |
NOptional<NTextTheme> |
getThemeByName(String name) |
NOptional<NTextTheme> |
getThemeByPath(NPath path) |
NElementStreamFormat |
getTsonMan() |
NWorkspace |
getWorkspace() |
NElementStreamFormat |
getXmlMan() |
NElementStreamFormat |
getYamlMan() |
void |
loadExtensions() |
NOptional<NTextTheme> |
loadThemeByNameOrPath(String nameOrPath) |
void |
removeCodeHighlighter(String id) |
void |
setTheme(NTextTheme styleTheme) |
public volatile NTextTheme bootTheme
public NTextTheme selectedTheme
public final Map<String,NMsgCustomFormatter> customFormatters
public DefaultNTextManagerModel(NWorkspace workspace)
public void loadExtensions()
public NTextTheme getDefaultTheme()
public NOptional<NTextTheme> loadThemeByNameOrPath(String nameOrPath)
public NOptional<NTextTheme> getThemeByPath(NPath path)
public NOptional<NTextTheme> getBootTheme()
public NOptional<NTextTheme> getSelectedTheme()
public NOptional<NTextTheme> getThemeByName(String name)
public NTextTheme getTheme()
public void setTheme(NTextTheme styleTheme)
public NCodeHighlighter getCodeHighlighter(String highlighterId)
public void addCodeHighlighter(NCodeHighlighter format)
public void removeCodeHighlighter(String id)
public NCodeHighlighter[] getCodeHighlighters()
public NElementFactoryService getElementFactoryService()
public NElementStreamFormat getStreamFormat(NContentType contentType)
public NElementStreamFormat getJsonMan()
public NElementStreamFormat getYamlMan()
public NElementStreamFormat getXmlMan()
public NElementStreamFormat getTsonMan()
public NWorkspace getWorkspace()
Copyright © 2026 vpc open source initiative. All rights reserved.