1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-23 08:55:25 +02:00

Turn off use of the PDOM for open declarations, for now...

This commit is contained in:
Doug Schaefer 2006-01-13 20:20:49 +00:00
parent c5adedd369
commit 276c7dbb16

View file

@ -103,7 +103,7 @@ public class OpenDeclarationsAction extends SelectionParseAction implements IUpd
if (project instanceof ICProject) {
IProject p = ((ICProject)project).getProject();
IPDOM pdom = PDOM.getPDOM(p);
IPDOM pdom = null; //PDOM.getPDOM(p);
if (pdom != null)
tu = CDOM.getInstance().getASTService().getTranslationUnit(
input.getStorage(),
@ -125,7 +125,7 @@ public class OpenDeclarationsAction extends SelectionParseAction implements IUpd
IWorkingCopy workingCopy = (IWorkingCopy)fEditor.getInputCElement();
IFile resourceFile = (IFile)workingCopy.getResource();
project = new CProject(null, resourceFile.getProject());
IPDOM pdom = PDOM.getPDOM(resourceFile.getProject());
IPDOM pdom = null; //PDOM.getPDOM(resourceFile.getProject());
try {
if (pdom != null)
tu = CDOM.getInstance().getASTService().getTranslationUnit(