Innerclass FileDocumentProvider.FileInfo [message #87853] |
Fri, 28 November 2003 12:59  |
Eclipse User |
|
|
|
Originally posted by: angeles_sorano.yahoo.com.ar
Hello!
I want to know how is the way to use this "innerclass" ?
It is in org.eclipse.cdt.internal.ui.editor.CDocumentProvider.
TranslationUnitFileInfo(IDocument document,
IAnnotationModel model,
FileDocumentProvider.FileSynchronizer fileSynchronizer,
IWorkingCopy copy)
{
super(CDocumentProvider.this, document, model, fileSynchronizer);
fCopy = copy;
}
But it doesn't work, and the compilation message error is:
The constructor FileDocumentProvider.FileInfo(CDocumentProvider,
IDocument, IAnnotationModel,
FileDocumentProvider.FileSynchronizer) is undefined.
What else must I do?
Thanks!!!!!
Angels
|
|
|
Re: Innerclass FileDocumentProvider.FileInfo [message #88297 is a reply to message #87853] |
Mon, 01 December 2003 12:11  |
Eclipse User |
|
|
|
Originally posted by: harald.theco.de
Angeles Sorano wrote:
> Hello!
> I want to know how is the way to use this "innerclass" ?
>
> It is in org.eclipse.cdt.internal.ui.editor.CDocumentProvider.
This indicates you shouldn't be using it ("internal" means just that).
> TranslationUnitFileInfo(IDocument document,
> IAnnotationModel model,
> FileDocumentProvider.FileSynchronizer fileSynchronizer,
> IWorkingCopy copy)
> {
> super(CDocumentProvider.this, document, model, fileSynchronizer);
> fCopy = copy;
> }
>
> But it doesn't work, and the compilation message error is:
>
> The constructor FileDocumentProvider.FileInfo(CDocumentProvider,
> IDocument, IAnnotationModel,
> FileDocumentProvider.FileSynchronizer) is undefined.
If that quote is complete, your problem is probably a package-scoped
Constructor.
Harald
|
|
|
Powered by
FUDForum. Page generated in 0.08114 seconds