This commit is contained in:
Yann Cebron
2010-12-25 15:54:56 +01:00
parent 68011e68d4
commit 5f1a42177c
2 changed files with 13 additions and 2 deletions
@@ -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 {