public class FileContentImpl extends DiffContentBase implements FileContent
Constructor and Description |
---|
FileContentImpl(Project project,
VirtualFile file) |
FileContentImpl(Project project,
VirtualFile file,
VirtualFile highlightFile) |
Modifier and Type | Method and Description |
---|---|
FileType |
getContentType() |
VirtualFile |
getFile() |
java.lang.String |
getFilePath() |
Navigatable |
getNavigatable()
Provides a way to open related content in editor
|
void |
onAssigned(boolean isAssigned) |
changeUserMap, clearUserData, clone, copyCopyableDataTo, copyUserDataTo, getCopyableUserData, getUserData, getUserDataString, getUserMap, isUserDataEmpty, putCopyableUserData, putUserData, putUserDataIfAbsent, replace, setUserMap
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getOpenFileDescriptor
getUserData, putUserData
public FileContentImpl(Project project, VirtualFile file)
public FileContentImpl(Project project, VirtualFile file, VirtualFile highlightFile)
public Navigatable getNavigatable()
DiffContent
getNavigatable
in interface DiffContent
public VirtualFile getFile()
getFile
in interface FileContent
public FileType getContentType()
getContentType
in interface DiffContent
public java.lang.String getFilePath()
public void onAssigned(boolean isAssigned)
onAssigned
in interface DiffContent
DiffRequest.onAssigned(boolean)