In my script I try to call static method on class:
public class ilog.rules.studio.res.ruleapp.IlrRuleAppProjectFactory {
public static ilog.rules.studio.res.ruleapp.IlrRuleAppProject
getRuleAppProject(org.eclipse.core.resources.IProject arg0);
}
The argument to the static method getRuleAppProject is just interface.
I've got object that implement this interface by calling some method
from eclipse framework.
The real class of the object is
package org.eclipse.core.internal.resources;
import org.eclipse.core.resources.*;
public class Project extends Container implements IProject {....
So, my argument correctly implements the interface that is expected as
argument.
But when I try to call IlrRuleAppProjectFactory .getRuleAppProject with
my argument I've got error:
[java] [Fri Jul 24 14:35:06 CEST 2009] Can't find method
ilog.rules.studio.res.ruleapp.IlrRuleAppProjectFactory.getRuleAppProject
(org.eclipse.core.internal.resources.Project).
(scripts\importBuildExtract2.js#218)
Is it possible in Rhino to call method that takes interface as argument?
How to do that?
Sebastian
_______________________________________________
dev-tech-js-engine-rhino mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-js-engine-rhino