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 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

Back to the top