import net.sourceforge.phpdt.internal.ui.text.template.TemplateEngine;
import net.sourceforge.phpeclipse.PHPeclipsePlugin;
import net.sourceforge.phpeclipse.builder.IdentifierIndexManager;
-import net.sourceforge.phpeclipse.phpeditor.AbstractContentOutlinePage;
+import net.sourceforge.phpeclipse.phpeditor.JavaOutlinePage;
import net.sourceforge.phpeclipse.phpeditor.PHPContentOutlinePage;
import net.sourceforge.phpeclipse.phpeditor.PHPEditor;
import net.sourceforge.phpeclipse.phpeditor.PHPSyntaxRdr;
if (offset > 0) {
PHPEditor editor = null;
- AbstractContentOutlinePage outlinePage = null;
+// JavaOutlinePage outlinePage = null;
IEditorPart targetEditor = PHPeclipsePlugin.getActiveWorkbenchWindow().getActivePage().getActiveEditor();
if (targetEditor != null && (targetEditor instanceof PHPEditor)) {
editor = (PHPEditor) targetEditor;
file = ((IFileEditorInput) editor.getEditorInput()).getFile();
project = file.getProject();
- outlinePage = editor.getfOutlinePage();
- if (outlinePage instanceof PHPContentOutlinePage) {
- identifiers = ((PHPContentOutlinePage) outlinePage).getVariables();
- }
+// outlinePage = editor.getfOutlinePage();
+ // TODO: get the identifiers from the new model
+// if (outlinePage instanceof PHPContentOutlinePage) {
+// identifiers = ((PHPContentOutlinePage) outlinePage).getVariables();
+// }
}
}