mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
doc
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2000-2009 JetBrains s.r.o.
|
||||
* Copyright 2000-2010 JetBrains s.r.o.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -26,6 +26,14 @@ import org.jetbrains.annotations.Nullable;
|
||||
import java.util.List;
|
||||
import java.util.Set;
|
||||
|
||||
/**
|
||||
* Manages language-specific access to PSI for a single file.
|
||||
* <p/>
|
||||
* Custom providers are registered via {@link FileViewProviderFactory}.
|
||||
*
|
||||
* @see com.intellij.psi.PsiFile#getViewProvider()
|
||||
* @see PsiManager#findViewProvider(com.intellij.openapi.vfs.VirtualFile)
|
||||
*/
|
||||
public interface FileViewProvider extends Cloneable, UserDataHolder {
|
||||
@NotNull PsiManager getManager();
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2000-2009 JetBrains s.r.o.
|
||||
* Copyright 2000-2010 JetBrains s.r.o.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -20,6 +20,9 @@ import com.intellij.lang.Language;
|
||||
import com.intellij.openapi.vfs.VirtualFile;
|
||||
|
||||
/**
|
||||
* Register in extension point {@code com.intellij.fileType.fileViewProviderFactory}
|
||||
* or {@code com.intellij.lang.fileViewProviderFactory}.
|
||||
*
|
||||
* @author yole
|
||||
*/
|
||||
public interface FileViewProviderFactory {
|
||||
|
||||
Reference in New Issue
Block a user