public abstract class PerspectiveFileEditorProvider extends WeighedFileEditorProvider
EP_FILE_EDITOR_PROVIDER, KEY
Constructor and Description |
---|
PerspectiveFileEditorProvider() |
Modifier and Type | Method and Description |
---|---|
abstract PerspectiveFileEditor |
createEditor(Project project,
VirtualFile file)
Creates editor for the specified file.
|
java.lang.String |
getComponentName() |
java.lang.String |
getEditorTypeId() |
FileEditorPolicy |
getPolicy() |
getWeight, isDumbAware
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
accept, disposeEditor, readState, writeState
public abstract PerspectiveFileEditor createEditor(Project project, VirtualFile file)
FileEditorProvider
This method is called only if the provider has accepted this file (i.e. method FileEditorProvider.accept(Project, VirtualFile)
returned
true
).
The provider should return only valid editor.
public final java.lang.String getEditorTypeId()
public final FileEditorPolicy getPolicy()
FileEditorPolicy.NONE
,
FileEditorPolicy.HIDE_DEFAULT_EDITOR
,
FileEditorPolicy.PLACE_BEFORE_DEFAULT_EDITOR
public final java.lang.String getComponentName()