|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface FileEditor
| Field Summary | |
|---|---|
static java.lang.String |
PROP_MODIFIED
|
static java.lang.String |
PROP_VALID
|
| Method Summary | |
|---|---|
void |
addPropertyChangeListener(java.beans.PropertyChangeListener listener)
Removes specified listener |
void |
deselectNotify()
This method is invoked each time when the editor is deselected. |
BackgroundEditorHighlighter |
getBackgroundHighlighter()
|
javax.swing.JComponent |
getComponent()
|
FileEditorLocation |
getCurrentLocation()
The method is optional. |
java.lang.String |
getName()
|
javax.swing.JComponent |
getPreferredFocusedComponent()
Returns component to be focused when editor is opened. |
FileEditorState |
getState(FileEditorStateLevel level)
|
StructureViewBuilder |
getStructureViewBuilder()
|
boolean |
isModified()
|
boolean |
isValid()
|
void |
removePropertyChangeListener(java.beans.PropertyChangeListener listener)
Adds specified listener |
void |
selectNotify()
This method is invoked each time when the editor is selected. |
void |
setState(FileEditorState state)
Applies given state to the editor. |
| Methods inherited from interface com.intellij.openapi.util.UserDataHolder |
|---|
getUserData, putUserData |
| Field Detail |
|---|
static final java.lang.String PROP_MODIFIED
isModified(),
Constant Field Valuesstatic final java.lang.String PROP_VALID
isValid(),
Constant Field Values| Method Detail |
|---|
javax.swing.JComponent getComponent()
null.javax.swing.JComponent getPreferredFocusedComponent()
java.lang.String getName()
null.FileEditorState getState(FileEditorStateLevel level)
null.void setState(FileEditorState state)
state - cannot be nullboolean isModified()
boolean isValid()
void selectNotify()
void deselectNotify()
void addPropertyChangeListener(java.beans.PropertyChangeListener listener)
listener - to be addedvoid removePropertyChangeListener(java.beans.PropertyChangeListener listener)
listener - to be removedBackgroundEditorHighlighter getBackgroundHighlighter()
null if no background highlighting activity necessary for this file editor.FileEditorLocation getCurrentLocation()
StructureViewBuilder getStructureViewBuilder()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||