|
Rational Developer for Power Systems Software V7.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object TextFileDocumentProvider com.ibm.etools.systems.editor.SystemTextFileDocumentProvider
public class SystemTextFileDocumentProvider
The text file document provider for the editor.
Constructor Summary | |
---|---|
SystemTextFileDocumentProvider(SystemTextEditor editor)
Constructor for text file document provider. |
Method Summary | |
---|---|
protected IAnnotationModel |
createAnnotationModel(IFile file,
Object element)
Creates the annotation model for the file. |
protected FileInfo |
createFileInfo(Object element)
Creates and returns the file info object for the given element. |
void |
setEncoding(Object element,
String encoding)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SystemTextFileDocumentProvider(SystemTextEditor editor)
the
- editor for which this is the document provider.Method Detail |
---|
protected FileInfo createFileInfo(Object element) throws CoreException
Subclasses which extend TextFileDocumentProvider.FileInfo
will probably have to extend this method as well.
element
- the element
FileInfo
or null
if none can be created
CoreException
- if the file info object could not successfully be createdprotected IAnnotationModel createAnnotationModel(IFile file, Object element)
file
- the file.element
- the editor input.
public void setEncoding(Object element, String encoding)
|
Rational Developer for Power Systems Software V7.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |