Rational Developer for Power Systems Software
V7.6

com.ibm.etools.systems.editor
Class UTF8FileDocumentProvider

java.lang.Object
  extended by FileDocumentProvider
      extended by com.ibm.etools.systems.editor.UTF8FileDocumentProvider

public class UTF8FileDocumentProvider
extends FileDocumentProvider


Field Summary
static String Copyright
           
 
Constructor Summary
UTF8FileDocumentProvider(SystemTextEditor editor, boolean isSetContentFromFile)
          Constructor for UTF8FileDocumentProvider
 
Method Summary
protected  IAnnotationModel createAnnotationModel(Object element)
           
 void doResetDocument(Object element)
           
protected  void doSaveDocument(IProgressMonitor monitor, Object element, IDocument document, boolean overwrite)
           
protected  boolean setDocumentContent(IDocument document, IEditorInput editorInput, String encoding)
           
protected  void setDocumentContent(IDocument document, InputStream contentStream, String strEncoding)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

Copyright

public static final String Copyright
See Also:
Constant Field Values
Constructor Detail

UTF8FileDocumentProvider

public UTF8FileDocumentProvider(SystemTextEditor editor,
                                boolean isSetContentFromFile)
Constructor for UTF8FileDocumentProvider

Method Detail

createAnnotationModel

protected IAnnotationModel createAnnotationModel(Object element)
                                          throws CoreException
Throws:
CoreException

doSaveDocument

protected void doSaveDocument(IProgressMonitor monitor,
                              Object element,
                              IDocument document,
                              boolean overwrite)
                       throws CoreException
Throws:
CoreException
See Also:
FileDocumentProvider

setDocumentContent

protected boolean setDocumentContent(IDocument document,
                                     IEditorInput editorInput,
                                     String encoding)
                              throws CoreException
Throws:
CoreException
See Also:
StorageDocumentProvider

setDocumentContent

protected void setDocumentContent(IDocument document,
                                  InputStream contentStream,
                                  String strEncoding)
                           throws CoreException
Throws:
CoreException
See Also:
StorageDocumentProvider

doResetDocument

public void doResetDocument(Object element)
                     throws CoreException
Throws:
CoreException

Rational Developer for Power Systems Software
V7.6

Copyright © 2011 IBM Corp. All Rights Reserved.

Note: This documentation is for part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.