public abstract class BaseRemoteFileEditor extends java.lang.Object implements TextEditor, java.beans.PropertyChangeListener
Disposable.Parent| Modifier and Type | Field and Description |
|---|---|
protected Project |
myProject |
PROP_MODIFIED, PROP_VALID| Modifier | Constructor and Description |
|---|---|
protected |
BaseRemoteFileEditor(Project project) |
| Modifier and Type | Method and Description |
|---|---|
void |
addPropertyChangeListener(java.beans.PropertyChangeListener listener)
Removes specified listener
|
boolean |
canNavigateTo(Navigatable navigatable)
Check whatever the editor can navigate to the given element
|
protected void |
contentLoaded() |
protected void |
contentRejected() |
void |
dispose()
Usually not invoked directly, see class javadoc.
|
BackgroundEditorHighlighter |
getBackgroundHighlighter() |
FileEditorLocation |
getCurrentLocation()
The method is optional.
|
Editor |
getEditor() |
FileEditorState |
getState(FileEditorStateLevel level) |
StructureViewBuilder |
getStructureViewBuilder() |
protected abstract TextEditor |
getTextEditor() |
<T> T |
getUserData(Key<T> key) |
boolean |
isModified() |
boolean |
isValid() |
void |
navigateTo(Navigatable navigatable)
Navigate editor to the given navigatable if
NavigatableFileEditor.canNavigateTo(com.intellij.pom.Navigatable) is true |
void |
propertyChange(java.beans.PropertyChangeEvent event) |
<T> void |
putUserData(Key<T> key,
T value)
Add a new user data value to this object.
|
void |
removePropertyChangeListener(java.beans.PropertyChangeListener listener)
Adds specified listener
|
void |
setState(FileEditorState state)
Applies given state to the editor.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdeselectNotify, getComponent, getFile, getName, getPreferredFocusedComponent, selectNotify, setStateprotected final Project myProject
protected BaseRemoteFileEditor(Project project)
public StructureViewBuilder getStructureViewBuilder()
getStructureViewBuilder in interface FileEditorpublic Editor getEditor()
getEditor in interface TextEditorprotected abstract TextEditor getTextEditor()
public FileEditorLocation getCurrentLocation()
FileEditorgetCurrentLocation in interface FileEditorpublic BackgroundEditorHighlighter getBackgroundHighlighter()
getBackgroundHighlighter in interface FileEditornull if no background highlighting activity necessary for this file editor.public FileEditorState getState(FileEditorStateLevel level)
getState in interface FileEditornull.public void setState(FileEditorState state)
FileEditorsetState in interface FileEditorstate - cannot be nullpublic <T> T getUserData(Key<T> key)
getUserData in interface UserDataHolderpublic <T> void putUserData(Key<T> key, T value)
UserDataHolderputUserData in interface UserDataHolderpublic boolean isModified()
isModified in interface FileEditorpublic boolean isValid()
isValid in interface FileEditorpublic void dispose()
Disposabledispose in interface Disposablepublic void addPropertyChangeListener(java.beans.PropertyChangeListener listener)
FileEditoraddPropertyChangeListener in interface FileEditorlistener - to be addedpublic void removePropertyChangeListener(java.beans.PropertyChangeListener listener)
FileEditorremovePropertyChangeListener in interface FileEditorlistener - to be removedpublic void propertyChange(java.beans.PropertyChangeEvent event)
propertyChange in interface java.beans.PropertyChangeListenerpublic boolean canNavigateTo(Navigatable navigatable)
NavigatableFileEditorcanNavigateTo in interface NavigatableFileEditorpublic final void navigateTo(Navigatable navigatable)
NavigatableFileEditorNavigatableFileEditor.canNavigateTo(com.intellij.pom.Navigatable) is truenavigateTo in interface NavigatableFileEditornavigatable - navigation targetprotected final void contentLoaded()
protected final void contentRejected()