Re: [Pydev-code] Open a new file in PyDev Editor
Brought to you by:
fabioz
From: Fabio Z. <fa...@gm...> - 2008-06-27 11:23:04
|
> > I'm working at a research prototyp and I want to add a new eclipse view > to PyDev. So far the view is finished but I want to open a new Editor > window in the PyDev Editor with a double click of a row of my table > view. I have the filename and the line number. So my questions are: > > Which package I have to include as dependencies? > How is the name of the editor Plugin or how could I access it? And last > but not least what looks like the method call for my parameters > (filepath (as String) and line number)? A short example would be perfect > or the hint to look at for the same behavior for instance in the > Resource or Class View. It's something like: new org.python.pydev.editor.actions.PyOpenAction().run(itemPointer) It depends on the org.python.pydev plugin. The FilePointer can be customized with a file and the location for the cursor (in many ways). Cheers, Fabio |