Skip to main content

[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



Back to the top