|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.intellij.psi.codeStyle.CodeStyleSettingsManager
public class CodeStyleSettingsManager
| Field Summary | |
|---|---|
CodeStyleSettings |
PER_PROJECT_SETTINGS
|
boolean |
USE_PER_PROJECT_SETTINGS
|
| Constructor Summary | |
|---|---|
CodeStyleSettingsManager()
|
|
CodeStyleSettingsManager(Project project)
|
|
| Method Summary | |
|---|---|
void |
disposeComponent()
Component should dispose system resources or perform another cleanup in this method. |
void |
dropTemporarySettings()
|
java.lang.String |
getComponentName()
Unique name of this component. |
CodeStyleSettings |
getCurrentSettings()
|
static CodeStyleSettingsManager |
getInstance()
|
static CodeStyleSettingsManager |
getInstance(Project project)
|
static CodeStyleSettings |
getSettings(Project project)
|
void |
initComponent()
Component should do initialization and communication with another components in this method. |
void |
projectClosed()
Invoked when the project corresponding to this component instance is closed. |
void |
projectOpened()
Invoked when the project corresponding to this component instance is opened. |
void |
readExternal(org.jdom.Element element)
|
void |
setTemporarySettings(CodeStyleSettings settings)
|
void |
writeExternal(org.jdom.Element element)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public CodeStyleSettings PER_PROJECT_SETTINGS
public boolean USE_PER_PROJECT_SETTINGS
| Constructor Detail |
|---|
public CodeStyleSettingsManager(Project project)
public CodeStyleSettingsManager()
| Method Detail |
|---|
public static CodeStyleSettingsManager getInstance(Project project)
public static CodeStyleSettingsManager getInstance()
public static CodeStyleSettings getSettings(Project project)
public CodeStyleSettings getCurrentSettings()
public void readExternal(org.jdom.Element element)
throws InvalidDataException
readExternal in interface JDOMExternalizableInvalidDataException
public void writeExternal(org.jdom.Element element)
throws WriteExternalException
writeExternal in interface JDOMExternalizableWriteExternalExceptionpublic void disposeComponent()
BaseComponent
disposeComponent in interface BaseComponentpublic void initComponent()
BaseComponent
initComponent in interface BaseComponentpublic void projectOpened()
ProjectComponentNote that components may be created for even unopened projects and this method can be never invoked for a particular component instance (for example for default project).
projectOpened in interface ProjectComponentpublic void projectClosed()
ProjectComponentNote that components may be created for even unopened projects and this method can be never invoked for a particular component instance (for example for default project).
projectClosed in interface ProjectComponentpublic java.lang.String getComponentName()
BaseComponent
getComponentName in interface BaseComponentpublic void setTemporarySettings(CodeStyleSettings settings)
public void dropTemporarySettings()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||