Example usage for com.intellij.openapi.fileEditor FileEditorPolicy PLACE_AFTER_DEFAULT_EDITOR

List of usage examples for com.intellij.openapi.fileEditor FileEditorPolicy PLACE_AFTER_DEFAULT_EDITOR

Introduction

In this page you can find the example usage for com.intellij.openapi.fileEditor FileEditorPolicy PLACE_AFTER_DEFAULT_EDITOR.

Prototype

FileEditorPolicy PLACE_AFTER_DEFAULT_EDITOR

To view the source code for com.intellij.openapi.fileEditor FileEditorPolicy PLACE_AFTER_DEFAULT_EDITOR.

Click Source Link

Document

Place created editor after the default IDE editor (if any).

Usage

From source file:com.android.tools.idea.apk.viewer.ApkEditorProvider.java

License:Apache License

@NotNull
@Override
public FileEditorPolicy getPolicy() {
    return FileEditorPolicy.PLACE_AFTER_DEFAULT_EDITOR;
}

From source file:com.android.tools.idea.uibuilder.editor.NlEditorProvider.java

License:Apache License

@NotNull
@Override//from ww  w.ja  v  a2s . c om
public FileEditorPolicy getPolicy() {
    return AndroidEditorSettings.getInstance().getGlobalState().isPreferXmlEditor()
            ? FileEditorPolicy.PLACE_AFTER_DEFAULT_EDITOR
            : FileEditorPolicy.PLACE_BEFORE_DEFAULT_EDITOR;
}

From source file:com.intellij.lang.properties.editor.ResourceBundleEditorProvider.java

License:Apache License

@NotNull
public FileEditorPolicy getPolicy() {
    return FileEditorPolicy.PLACE_AFTER_DEFAULT_EDITOR;
}

From source file:com.intellij.util.xml.ui.PerspectiveFileEditorProvider.java

License:Apache License

@Nonnull
public final FileEditorPolicy getPolicy() {
    return FileEditorPolicy.PLACE_AFTER_DEFAULT_EDITOR;
}

From source file:org.asciidoc.intellij.editor.AsciiDocPreviewEditorProvider.java

License:Apache License

/**
 * Get the {@link FileEditorPolicy} defining how to show editors created via the {@link FileEditorProvider}.
 *//*  w  w w.  ja v a2s.c  o m*/
@Override
@NotNull
public FileEditorPolicy getPolicy() {
    return FileEditorPolicy.PLACE_AFTER_DEFAULT_EDITOR;
}