Yesterday I looked at wrong function so I haven't noticed "checkAllProjects"
parameter;) However still it's not clear for me:
public static boolean openExternalFunction(final String mod,
final ErlangFunction function, final String path,
final IErlModule module, final IProject project,
final boolean checkAllProjects)
mod - module name as String,
function - do I have to create new ErlangFunction object, specify function's
arity and name using it and then pass to the method?
path - what's that? If I pass null will be fine?
module - can I pass null here as well (I pass module name in first parameter)?
project - also null to search all projects? And what happens if there're two or
more projects with same module and function?
btw, the javadoc comment is rather out of date:)
Piotrek
----- "Jakob Cederlund" <[email protected]> wrote:
> You don't have to provide a path, if you set "checkAllProjects" to
> true it will check all erlang projects and search for the module.
> /Jakob
>
>
>
> 2010/8/19 Piotr Dorobisz < [email protected] >
>
>
> Thanks. I have to pass to this method path to file containing module.
> Is it possible to get path knowing module's name?
> Piotrek
>
>
>
>
>
> ----- "Jakob Cederlund" < [email protected] > wrote:
>
> > Hi!
> > I think the method
> > org.erlide.ui.util.ErlModelUtils.openExternalFunction(String,
> > ErlangFunction, String, IErlModule, IProject, boolean) is the best
> > one. (We should really make a cleaner interface, but we haven't
> yet.)
> > /Jakob
> >
> >
> >
> >
> > 2010/8/19 Piotr Dorobisz < [email protected] >
> >
> >
> > Hello,
> > Is there a method using which I can open in editor module or
> function
> > declaration?
> > regards,
> > Piotrek
> >
> >
> ------------------------------------------------------------------------------
> > This SF.net email is sponsored by
> >
> > Make an app they can't live without
> > Enter the BlackBerry Developer Challenge
> > http://p.sf.net/sfu/RIM-dev2dev
> > _______________________________________________
> > Erlide-devel mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/erlide-devel
------------------------------------------------------------------------------
This SF.net email is sponsored by
Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev
_______________________________________________
Erlide-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/erlide-devel