public abstract class PerspectiveFileEditor extends UserDataHolderBase implements DocumentsEditor, Committable
Disposable.ParentPROP_MODIFIED, PROP_VALID| Modifier | Constructor and Description | 
|---|---|
| protected  | PerspectiveFileEditor(Project project,
                     VirtualFile file) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | addPropertyChangeListener(java.beans.PropertyChangeListener listener)Removes specified listener | 
| void | addWatchedElement(DomElement domElement) | 
| protected boolean | checkIsValid() | 
| protected abstract javax.swing.JComponent | createCustomComponent() | 
| void | deselectNotify()This method is invoked each time when the editor is deselected. | 
| void | dispose()Usually not invoked directly, see class javadoc. | 
| protected void | ensureInitialized() | 
| BackgroundEditorHighlighter | getBackgroundHighlighter() | 
| javax.swing.JComponent | getComponent() | 
| FileEditorLocation | getCurrentLocation()The method is optional. | 
| protected PsiDocumentManager | getDocumentManager() | 
| Document[] | getDocuments() | 
| Project | getProject() | 
| PsiFile | getPsiFile() | 
| protected abstract DomElement | getSelectedDomElement() | 
| StructureViewBuilder | getStructureViewBuilder() | 
| VirtualFile | getVirtualFile() | 
| Wrapper | getWrapper() | 
| protected boolean | isInitialised() | 
| 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. | 
| protected abstract void | setSelectedDomElement(DomElement domElement) | 
| protected void | setShowing(boolean b) | 
| void | setState(FileEditorState state)Applies given state to the editor. | 
changeUserMap, clearUserData, clone, copyCopyableDataTo, copyUserDataTo, getCopyableUserData, getUserData, getUserDataString, getUserMap, isUserDataEmpty, putCopyableUserData, putUserData, putUserDataIfAbsent, replace, setUserMapequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetFile, getName, getPreferredFocusedComponent, getState, setStategetUserData, putUserDatacommit, resetprotected PerspectiveFileEditor(Project project, VirtualFile file)
protected abstract DomElement getSelectedDomElement()
protected abstract void setSelectedDomElement(DomElement domElement)
public final void addWatchedElement(DomElement domElement)
protected final PsiDocumentManager getDocumentManager()
public final PsiFile getPsiFile()
public final Document[] getDocuments()
getDocuments in interface DocumentsEditorpublic final Project getProject()
public final VirtualFile getVirtualFile()
public void dispose()
Disposabledispose in interface Disposablepublic final boolean isModified()
isModified in interface FileEditorpublic boolean isValid()
isValid in interface FileEditorpublic void selectNotify()
FileEditorselectNotify in interface FileEditorprotected final void setShowing(boolean b)
protected final void ensureInitialized()
public void deselectNotify()
FileEditordeselectNotify in interface FileEditorpublic BackgroundEditorHighlighter getBackgroundHighlighter()
getBackgroundHighlighter in interface FileEditornull if no background highlighting activity necessary for this file editor.public FileEditorLocation getCurrentLocation()
FileEditorgetCurrentLocation in interface FileEditorpublic StructureViewBuilder getStructureViewBuilder()
getStructureViewBuilder in interface FileEditorpublic void setState(FileEditorState state)
FileEditorsetState in interface FileEditorstate - cannot be nullpublic 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 removedprotected boolean checkIsValid()
public javax.swing.JComponent getComponent()
getComponent in interface FileEditornull.protected abstract javax.swing.JComponent createCustomComponent()
public Wrapper getWrapper()
protected final boolean isInitialised()