KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > pde > internal > ui > editor > GenericSourcePage


1 /*******************************************************************************
2  * Copyright (c) 2000, 2006 IBM Corporation and others.
3  * All rights reserved. This program and the accompanying materials
4  * are made available under the terms of the Eclipse Public License v1.0
5  * which accompanies this distribution, and is available at
6  * http://www.eclipse.org/legal/epl-v10.html
7  *
8  * Contributors:
9  * IBM Corporation - initial API and implementation
10  *******************************************************************************/

11 package org.eclipse.pde.internal.ui.editor;
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
18 /**
19  *
20  */

21 public class GenericSourcePage extends PDESourcePage {
22     /**
23      * @param editor
24      * @param id
25      * @param title
26      */

27     public GenericSourcePage(PDEFormEditor editor, String JavaDoc id, String JavaDoc title) {
28         super(editor, id, title);
29     }
30     /* (non-Javadoc)
31      * @see org.eclipse.pde.internal.ui.neweditor.PDESourcePage#createOutlineLabelProvider()
32      */

33     public ILabelProvider createOutlineLabelProvider() {
34         return null;
35     }
36     /* (non-Javadoc)
37      * @see org.eclipse.pde.internal.ui.neweditor.PDESourcePage#createOutlineContentProvider()
38      */

39     public ITreeContentProvider createOutlineContentProvider() {
40         return null;
41     }
42     /* (non-Javadoc)
43      * @see org.eclipse.pde.internal.ui.neweditor.PDESourcePage#createOutlineContentProvider()
44      */

45     public ViewerComparator createOutlineComparator() {
46         return null;
47     }
48     
49     /* (non-Javadoc)
50      * @see org.eclipse.pde.internal.ui.neweditor.PDESourcePage#outlineSelectionChanged(org.eclipse.jface.viewers.SelectionChangedEvent)
51      */

52     public void updateSelection(SelectionChangedEvent e) {
53         // NO-OP
54
}
55     
56     protected ISortableContentOutlinePage createOutlinePage() {
57         return null;
58     }
59     
60     /* (non-Javadoc)
61      * @see org.eclipse.pde.internal.ui.editor.PDESourcePage#updateSelection(java.lang.Object)
62      */

63     public void updateSelection(Object JavaDoc object) {
64         // NO-OP
65
}
66 }
67
Popular Tags