KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > pde > internal > ui > editor > schema > SchemaContentProvider


1 /*******************************************************************************
2  * Copyright (c) 2000, 2003 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.schema;
12
13 import org.eclipse.jface.viewers.*;
14
15 public class SchemaContentProvider implements ITreeContentProvider {
16
17 public SchemaContentProvider() {
18     super();
19 }
20 public void dispose() {}
21 public Object JavaDoc[] getChildren(Object JavaDoc element) {
22     return new Object JavaDoc[0];
23 }
24 public Object JavaDoc[] getElements(Object JavaDoc element) {
25     return new Object JavaDoc[0];
26 }
27 public Object JavaDoc getParent(Object JavaDoc element) {
28     return null;
29 }
30 public boolean hasChildren(Object JavaDoc element) {
31     return false;
32 }
33 public void inputChanged(org.eclipse.jface.viewers.Viewer viewer, java.lang.Object JavaDoc oldInput, java.lang.Object JavaDoc newInput) {}
34 public boolean isDeleted(java.lang.Object JavaDoc element) {
35     return false;
36 }
37 }
38
Popular Tags