Interface IVirtualFile
-
public interface IVirtualFile
Virtual file abstraction is a facade around file, text file buffer and bm object instance.- Restriction:
- This interface is not intended to be extended by clients.
- Restriction:
- This interface is not intended to be implemented by clients.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IBmObject
getBmObject()
org.eclipse.core.resources.IFile
getFile()
org.eclipse.core.filebuffers.ITextFileBuffer
getFileBuffer()
void
setEditingContext(IBmEditingContext editingContext)
Sets the BM editing context.
-
-
-
Method Detail
-
getFile
org.eclipse.core.resources.IFile getFile()
- Returns:
- file file representing physical file for bm object
-
getFileBuffer
org.eclipse.core.filebuffers.ITextFileBuffer getFileBuffer()
- Returns:
- text file buffer representing bm object content or null if virtual file is not connected to virtual file buffer manager
-
getBmObject
IBmObject getBmObject()
- Returns:
- bm object instance (not null)
-
setEditingContext
void setEditingContext(IBmEditingContext editingContext)
Sets the BM editing context.- Parameters:
editingContext
- the BM editing context, cannot benull
.
-
-