KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > jdt > internal > ui > callhierarchy > TreeRoot


1 /*******************************************************************************
2  * Copyright (c) 2000, 2005 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  * Jesper Kamstrup Linnet (eclipse@kamstrup-linnet.dk) - initial API and implementation
10  * (report 36180: Callers/Callees view)
11  *******************************************************************************/

12 package org.eclipse.jdt.internal.ui.callhierarchy;
13
14 public class TreeRoot {
15     public static final Object JavaDoc EMPTY_ROOT = new Object JavaDoc();
16     private Object JavaDoc fRoot;
17
18     /**
19      * Constructor for TreeRoot.
20      */

21     public TreeRoot(Object JavaDoc root) {
22         this.fRoot = root;
23     }
24
25     Object JavaDoc getRoot() {
26         return fRoot;
27     }
28 }
29
Popular Tags