1 11 package org.eclipse.pde.internal.ui.editor.site; 12 13 import org.eclipse.jface.viewers.ILabelProvider; 14 import org.eclipse.jface.viewers.ITreeContentProvider; 15 import org.eclipse.jface.viewers.SelectionChangedEvent; 16 import org.eclipse.jface.viewers.ViewerComparator; 17 import org.eclipse.pde.internal.ui.editor.ISortableContentOutlinePage; 18 import org.eclipse.pde.internal.ui.editor.PDEFormEditor; 19 import org.eclipse.pde.internal.ui.editor.XMLSourcePage; 20 import org.eclipse.ui.views.contentoutline.IContentOutlinePage; 21 22 public class SiteSourcePage extends XMLSourcePage { 23 24 public SiteSourcePage(PDEFormEditor editor, String id, String title) { 25 super(editor, id, title); 26 } 27 public IContentOutlinePage createContentOutlinePage() { 28 return null; 29 } 30 public ILabelProvider createOutlineLabelProvider() { 31 return null; 32 } 33 public ITreeContentProvider createOutlineContentProvider() { 34 return null; 35 } 36 39 public ViewerComparator createOutlineComparator() { 40 return null; 41 } 42 43 46 public void updateSelection(SelectionChangedEvent e) { 47 } 49 50 protected ISortableContentOutlinePage createOutlinePage() { 51 return new SiteOutlinePage((PDEFormEditor) getEditor()); 54 } 55 56 59 public boolean isQuickOutlineEnabled() { 60 return false; 61 } 62 63 66 public void updateSelection(Object object) { 67 } 69 } 70 | Popular Tags |