Class LivePreviewLanguage

  • All Implemented Interfaces:
    com.intellij.openapi.util.UserDataHolder, com.intellij.openapi.util.UserDataHolderEx, java.io.Serializable

    public class LivePreviewLanguage
    extends com.intellij.lang.Language
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static com.intellij.lang.Language BASE_INSTANCE  
      • Fields inherited from class com.intellij.lang.Language

        ANY
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected LivePreviewLanguage​(@NotNull BnfFile grammarFile)  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static @Nullable LivePreviewLanguage findInstance​(com.intellij.psi.PsiFile psiFile)  
      @NotNull java.lang.String getDisplayName()  
      @Nullable BnfFile getGrammar​(@Nullable com.intellij.openapi.project.Project project)  
      @NotNull java.util.List<com.intellij.openapi.editor.Editor> getGrammarEditors​(@NotNull com.intellij.openapi.project.Project project)  
      @Nullable com.intellij.openapi.vfs.VirtualFile getGrammarFile()  
      @NotNull java.util.List<com.intellij.openapi.editor.Editor> getPreviewEditors​(@NotNull com.intellij.openapi.project.Project project)  
      static @NotNull LivePreviewLanguage newInstance​(com.intellij.psi.PsiFile psiFile)  
      • Methods inherited from class com.intellij.lang.Language

        findInstance, findInstancesByMimeType, findLanguageByID, findMyFileType, getAssociatedFileType, getBaseLanguage, getDialects, getID, getMimeTypes, getRegisteredLanguages, is, isCaseSensitive, isKindOf, isKindOf, toString, unregisterDialect, unregisterLanguage, unregisterLanguages
      • Methods inherited from class com.intellij.openapi.util.UserDataHolderBase

        changeUserMap, clearUserData, clone, copyCopyableDataTo, copyUserDataTo, getCopyableUserData, getUserData, getUserDataString, getUserMap, isUserDataEmpty, putCopyableUserData, putUserData, putUserDataIfAbsent, replace, setUserMap
      • Methods inherited from class java.util.concurrent.atomic.AtomicReference

        accumulateAndGet, compareAndExchange, compareAndExchangeAcquire, compareAndExchangeRelease, compareAndSet, get, getAcquire, getAndAccumulate, getAndSet, getAndUpdate, getOpaque, getPlain, lazySet, set, setOpaque, setPlain, setRelease, updateAndGet, weakCompareAndSet, weakCompareAndSetAcquire, weakCompareAndSetPlain, weakCompareAndSetRelease, weakCompareAndSetVolatile
      • Methods inherited from class java.lang.Object

        equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • BASE_INSTANCE

        public static final com.intellij.lang.Language BASE_INSTANCE
    • Constructor Detail

      • LivePreviewLanguage

        protected LivePreviewLanguage​(@NotNull
                                      @NotNull BnfFile grammarFile)
    • Method Detail

      • getDisplayName

        @NotNull
        public @NotNull java.lang.String getDisplayName()
        Overrides:
        getDisplayName in class com.intellij.lang.Language
      • getGrammarFile

        @Nullable
        public @Nullable com.intellij.openapi.vfs.VirtualFile getGrammarFile()
      • getGrammar

        @Nullable
        public @Nullable BnfFile getGrammar​(@Nullable
                                            @Nullable com.intellij.openapi.project.Project project)
      • newInstance

        @NotNull
        public static @NotNull LivePreviewLanguage newInstance​(com.intellij.psi.PsiFile psiFile)
      • findInstance

        @Nullable
        public static @Nullable LivePreviewLanguage findInstance​(com.intellij.psi.PsiFile psiFile)
      • getGrammarEditors

        @NotNull
        public @NotNull java.util.List<com.intellij.openapi.editor.Editor> getGrammarEditors​(@NotNull
                                                                                             @NotNull com.intellij.openapi.project.Project project)
      • getPreviewEditors

        @NotNull
        public @NotNull java.util.List<com.intellij.openapi.editor.Editor> getPreviewEditors​(@NotNull
                                                                                             @NotNull com.intellij.openapi.project.Project project)