[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [pdt-dev] goalEvaluatorFactories extension point â plugin is not activated

you can try to add breakpoint in classÂPHPGoalEvaluatorFactory


public GoalEvaluator createEvaluator(IGoal goal) {
if (factoryInfos == null) {
return null;
}
for (int i = 0; i < factoryInfos.length; i++) {
GoalEvaluator evaluator = factoryInfos[i].factory.createEvaluator(goal);
if (evaluator != null) {
return evaluator;
}
}
return null;
}


to see theÂGoalEvaluator returned by methodÂcreateEvaluator.if return a un-null value.i think there must be some relation with theÂpriority.




zhao
best regards

On Tue, Jul 21, 2009 at 7:22 PM, Sjaak Eenhuis <exceptione@xxxxxxxxxxx> wrote:
Hi,

Try this one:

Â<extension
ÂÂ Â Â Â point="org.eclipse.php.core.goalEvaluatorFactories">
ÂÂ Â Â<factory
ÂÂ Â Â Â Â Âclass="my.MyEvaluatorFactory"
ÂÂ Â Â Â Â Âpriority="200">
ÂÂ Â Â</factory>
ÂÂ </extension>

Unfortunately, this doesn't work also. No breakpoints are touched, the whole plugin doesn't seem to be invoked.
A priority of 10 doesn't work either.
Should I edit the manifest manually too?

BTW: why is the extension editor not able to provide any fields for any pdt extension point? I am forced to edit the plugin.xml by hand. Not so much a problem, but it might indicate some faults?


Haal meer uit je Hotmail met Internet Explorer 8. Download nu

_______________________________________________
pdt-dev mailing list
pdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/pdt-dev