KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > jdt > internal > core > OpenableElementInfo


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.jdt.internal.core;
12
13 import org.eclipse.jdt.core.IJavaElement;
14
15 /** Element info for IOpenable elements. */
16 public class OpenableElementInfo extends JavaElementInfo {
17
18     /**
19      * Is the structure of this element known
20      * @see IJavaElement#isStructureKnown()
21      */

22     protected boolean isStructureKnown = false;
23
24     /**
25      * @see IJavaElement#isStructureKnown()
26      */

27     public boolean isStructureKnown() {
28         return this.isStructureKnown;
29     }
30     
31     /**
32      * Sets whether the structure of this element known
33      * @see IJavaElement#isStructureKnown()
34      */

35     public void setIsStructureKnown(boolean newIsStructureKnown) {
36         this.isStructureKnown = newIsStructureKnown;
37     }
38 }
39
Popular Tags