[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.newcomer] Opening Files in Eclipse Problem

Hi list,

I tried to open a File in Eclipse from a plugin using the howtos in the FAQ. This worked fine. But now I want to jump to a Linenumber and here the problems starts.

I have followed the FAQ (http://wiki.eclipse.org/FAQ_How_do_I_open_an_editor_on_a_file_in_the_workspace%3F) but I do not know how I get a IFile.

The FAQ state: IFile file = <choose the file to open>;

Can somebody tell me what to place instead <choose the file to open>? I want to open a file from the Filesystem, not the workspace, too.

Thanks for your help

philipp