import net.sourceforge.phpdt.core.ISourceRange;
import net.sourceforge.phpdt.core.ISourceReference;
import net.sourceforge.phpdt.core.IType;
+import net.sourceforge.phpdt.core.JavaCore;
import net.sourceforge.phpdt.core.JavaModelException;
import net.sourceforge.phpdt.internal.ui.PHPUiImages;
import net.sourceforge.phpdt.internal.ui.actions.CompositeActionGroup;
import net.sourceforge.phpdt.ui.ProblemsLabelDecorator.ProblemsLabelChangedEvent;
import net.sourceforge.phpdt.ui.actions.GenerateActionGroup;
import net.sourceforge.phpdt.ui.actions.MemberFilterActionGroup;
-import net.sourceforge.phpeclipse.PHPCore;
import net.sourceforge.phpeclipse.PHPeclipsePlugin;
import org.eclipse.core.resources.IResource;
public void dispose() {
if (fListener != null) {
- PHPCore.removeElementChangedListener(fListener);
+ JavaCore.removeElementChangedListener(fListener);
fListener= null;
}
}
if (isCU && fListener == null) {
fListener= new ElementChangedListener();
- PHPCore.addElementChangedListener(fListener);
+ JavaCore.addElementChangedListener(fListener);
} else if (!isCU && fListener != null) {
- PHPCore.removeElementChangedListener(fListener);
+ JavaCore.removeElementChangedListener(fListener);
fListener= null;
}
}