The following forum message was posted by fabioz at 
http://sourceforge.net/projects/pydev/forums/forum/293649/topic/4041696:

To do a run you can use:

AbstractRunner runner = UniversalRunner.getRunner(nature)
... use runner methods...

I was taking a look and the current Abstract runner doesn't have a signature
exactly as you want, but you can base yourself on 
AbstractRunner.runCodeAndGetOutput
and do an API as you'd like.

Cheers,

Fabio

To get the nature, you need the related project to the run (because in the end
it must be related to an interpreter). To get the nature from a project you
can do:

PythonNature.getPythonNature(project or resource).

------------------------------------------------------------------------------
Gaining the trust of online customers is vital for the success of any company
that requires sensitive data to be transmitted over the Web.   Learn how to 
best implement a security strategy that keeps consumers' information secure 
and instills the confidence they need to proceed with transactions.
http://p.sf.net/sfu/oracle-sfdevnl 
_______________________________________________
Pydev-users mailing list
Pydev-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pydev-users

Reply via email to