Interface IJavaModel

All Superinterfaces:
org.eclipse.core.runtime.IAdaptable, IJavaElement, IOpenable, IParent
All Known Implementing Classes:
JavaModel

public interface IJavaModel extends IJavaElement, IOpenable, IParent
Represent the root Java element corresponding to the workspace. Since there is only one such root element, it is commonly referred to as the Java model element. The Java model element needs to be opened before it can be navigated or manipulated. The Java model element has no parent (it is the root of the Java element hierarchy). Its children are IJavaProjects.

This interface provides methods for performing copy, move, rename, and delete operations on multiple Java elements.

An instance of one of these handles can be created via JavaCore.create(workspace.getRoot()).

See Also: