[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[pdt-dev] Using org.eclipse.php.ui.quickFixProcessors extensions point

Hi all,

i've been implementing some quickFixProcessors today and was wondering how to properly use the IProblemIdentifier / IProblem API.

The extension point passes the id of the problem to hasCorrections() as int, but the DefaultProblem API from DLTK seems to deprecate the usage of
ints and moves to IProblemIdentifier API: https://github.com/eclipse/dltk.core/blob/master/core/plugins/org.eclipse.dltk.core/compiler/org/eclipse/dltk/compiler/problem/DefaultProblem.java#L67 .

Does anyone know an example of a proper implementation of that extension point using the IProblemIdentifier API instead?