|
Re: MinimalEditor based on AbstracttextEditor [message #290788 is a reply to message #290781] |
Thu, 01 September 2005 07:16 |
Eclipse User |
|
|
|
Originally posted by: daniel.megert.gmx.net
Syed wrote:
> Hi there,
>
> I like to know what are the set of methods that are required for a
> MinimalEditor that extends AbstractTextEditor,
Depends on what you expect from that editor.
> similar to the MinimalEditor that extends EditorPart found in
> EclipseFaq. I know JavaEditor example does extend TextEditor but I am
> looking for a simpler example to test the following code:
What do you want to test exactly?
Dani
> ITextFileBufferManager manager= FileBuffers.getTextFileBufferManager();
> IPath location= iFile.getFullPath();
> manager.connect(location, new NullProgressMonitor());
> textFileBuffer= manager.getTextFileBuffer(location);
> document= textFileBuffer.getDocument();
>
> Where my editor should extend TextFileDocumentProvider.
>
> I would appreciate any pointer.
>
> thanks
>
> Syed
>
|
|
|
|
Powered by
FUDForum. Page generated in 2.86461 seconds