1 11 package org.eclipse.pde.internal.ui.editor.feature; 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 21 public class FeatureSourcePage extends XMLSourcePage { 22 23 public FeatureSourcePage(PDEFormEditor editor, String id, String title) { 24 super(editor, id, title); 25 } 26 27 public ILabelProvider createOutlineLabelProvider() { 28 return null; 29 } 30 31 public ITreeContentProvider createOutlineContentProvider() { 32 return null; 33 } 34 35 40 public ViewerComparator createOutlineComparator() { 41 return null; 42 } 43 44 47 public void updateSelection(SelectionChangedEvent e) { 48 } 50 51 protected ISortableContentOutlinePage createOutlinePage() { 52 return new FeatureOutlinePage((PDEFormEditor) getEditor()); 55 } 56 57 60 public boolean isQuickOutlineEnabled() { 61 return false; 62 } 63 64 67 public void updateSelection(Object object) { 68 } 70 } 71 | Popular Tags |