fContentProvider = new PHPOutlineContentProvider(viewer);
}
viewer.setContentProvider(fContentProvider);
} else if (MODE_HTML == mode) {
if (fContentProviderHTML == null) {
fContentProviderHTML = new JFaceNodeContentProvider() {
public Object[] getElements(Object object) {
if (object instanceof ISourceModule) {
IEditorPart activeEditor = PHPUiPlugin
.getActiveEditor();
if (activeEditor instanceof StructuredTextEditor) {