Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [Dltk-dev] How to get a SourceModule's file path which is opened from File->Open file

Hi Alex

Can you have a look at this problem again,thanks very much.
Because there is a bug of PDT need to get the file location from SourceModule.
https://bugs.eclipse.org/bugs/show_bug.cgi?id=257883

On Wed, Mar 31, 2010 at 4:59 PM, 赵忠伟 <zhaozhongwei@xxxxxxxxxxxxxxxx> wrote:
Thanks

On Wed, Mar 31, 2010 at 3:55 PM, Alex Panchenko <alex@xxxxxxxxx> wrote:
Hi Zhao,

I don't see such a way now, but I think we can modify it to return full path for such modules.
I'll do it.

Regards,
Alex


----- Original Message -----
From: "赵忠伟" <zhaozhongwei@xxxxxxxxxxxxxxxx>
To: "DLTK Developer Discussions" <dltk-dev@xxxxxxxxxxx>
Sent: Monday, March 29, 2010 6:37:50 PM GMT +06:00 Almaty, Novosibirsk
Subject: [Dltk-dev] How to get a SourceModule's file path which is opened from File->Open file

I saw a SourceModule is created from SourceModuleDocumentProvider.createFakeSourceModule(final IURIEditorInput editorInput),but I could not get the file path for the SourceModule instance,can anyone tell me how could i get the file path?
If there is no such way,could we use the file path as the SourceModule's name?

--

Thanks!

Best Regards!

Zhao

_______________________________________________ dltk-dev mailing list dltk-dev@xxxxxxxxxxx https://dev.eclipse.org/mailman/listinfo/dltk-dev

_______________________________________________



--

Thanks!

Best Regards!

Zhao



--

Thanks!

Best Regards!

Zhao

Back to the top