01: /*******************************************************************************
02: * Copyright (c) 2000, 2006 IBM Corporation and others.
03: * All rights reserved. This program and the accompanying materials
04: * are made available under the terms of the Eclipse Public License v1.0
05: * which accompanies this distribution, and is available at
06: * http://www.eclipse.org/legal/epl-v10.html
07: *
08: * Contributors:
09: * IBM Corporation - initial API and implementation
10: *******************************************************************************/package org.eclipse.pde.internal.ui.editor;
11:
12: import org.eclipse.jface.viewers.ILabelProvider;
13: import org.eclipse.jface.viewers.ITreeContentProvider;
14: import org.eclipse.jface.viewers.SelectionChangedEvent;
15: import org.eclipse.jface.viewers.ViewerComparator;
16:
17: /**
18: *
19: */
20: public class GenericSourcePage extends PDESourcePage {
21: /**
22: * @param editor
23: * @param id
24: * @param title
25: */
26: public GenericSourcePage(PDEFormEditor editor, String id,
27: String title) {
28: super (editor, id, title);
29: }
30:
31: /* (non-Javadoc)
32: * @see org.eclipse.pde.internal.ui.neweditor.PDESourcePage#createOutlineLabelProvider()
33: */
34: public ILabelProvider createOutlineLabelProvider() {
35: return null;
36: }
37:
38: /* (non-Javadoc)
39: * @see org.eclipse.pde.internal.ui.neweditor.PDESourcePage#createOutlineContentProvider()
40: */
41: public ITreeContentProvider createOutlineContentProvider() {
42: return null;
43: }
44:
45: /* (non-Javadoc)
46: * @see org.eclipse.pde.internal.ui.neweditor.PDESourcePage#createOutlineContentProvider()
47: */
48: public ViewerComparator createOutlineComparator() {
49: return null;
50: }
51:
52: /* (non-Javadoc)
53: * @see org.eclipse.pde.internal.ui.neweditor.PDESourcePage#outlineSelectionChanged(org.eclipse.jface.viewers.SelectionChangedEvent)
54: */
55: public void updateSelection(SelectionChangedEvent e) {
56: // NO-OP
57: }
58:
59: protected ISortableContentOutlinePage createOutlinePage() {
60: return null;
61: }
62:
63: /* (non-Javadoc)
64: * @see org.eclipse.pde.internal.ui.editor.PDESourcePage#updateSelection(java.lang.Object)
65: */
66: public void updateSelection(Object object) {
67: // NO-OP
68: }
69: }
|