Package | Description |
---|---|
org.eclipse.jdt.core |
The Java model is the set of classes that model the
objects associated with creating, editing, and building a Java program.
|
org.eclipse.jdt.core.refactoring.descriptors |
Application programming interface to access Java refactorings provided by JDT.
|
org.eclipse.jdt.core.search |
Provides support for searching the workspace Java
elements that match a particular description.
|
org.eclipse.jdt.launching.sourcelookup |
Application programming interfaces and classes for source lookup.
|
org.eclipse.jdt.launching.sourcelookup.containers |
Provides source lookup support for the Java debugger.
|
org.eclipse.jdt.ui |
Application programming interfaces for interaction
with the Eclipse Java User Interface.
|
org.eclipse.jdt.ui.refactoring |
Application programming interfaces for rename refactorings.
|
org.eclipse.jdt.ui.wizards |
Application programming interfaces for interaction
with the Eclipse Java User Interface wizards.
|
Modifier and Type | Method and Description |
---|---|
static IPackageFragmentRoot |
JavaCore.createJarPackageFragmentRootFrom(IFile file)
Creates and returns a handle for the given JAR file.
|
IPackageFragmentRoot |
IJavaProject.findPackageFragmentRoot(IPath path)
Returns the existing package fragment root on this project's classpath
whose path matches the given (absolute) path, or
null if
one does not exist. |
IPackageFragmentRoot[] |
IJavaProject.findPackageFragmentRoots(IClasspathEntry entry)
Returns the existing package fragment roots identified by the given entry.
|
IPackageFragmentRoot[] |
IJavaProject.getAllPackageFragmentRoots()
Returns all of the existing package fragment roots that exist
on the classpath, in the order they are defined by the classpath.
|
IPackageFragmentRoot |
IJarEntryResource.getPackageFragmentRoot()
Returns the package fragment root this jar entry resource belongs to.
|
IPackageFragmentRoot |
IJavaProject.getPackageFragmentRoot(IResource resource)
Returns a package fragment root for the given resource, which
must either be a folder representing the top of a package hierarchy,
or a ZIP archive (e.g. a
.jar , a .zip file, etc.) |
IPackageFragmentRoot |
IJavaProject.getPackageFragmentRoot(String externalLibraryPath)
Returns a package fragment root for an external library
(a ZIP archive - e.g. a
.jar , a .zip file, etc. -
or - since 3.4 - a class folder) at the specified file system path. |
IPackageFragmentRoot[] |
IJavaProject.getPackageFragmentRoots()
Returns all of the package fragment roots contained in this
project, identified on this project's resolved classpath.
|
IPackageFragmentRoot[] |
IJavaProject.getPackageFragmentRoots(IClasspathEntry entry)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
MoveDescriptor.setMovePackageFragmentRoots(IPackageFragmentRoot[] roots)
Sets the package fragment roots to move.
|
Modifier and Type | Method and Description |
---|---|
IPackageFragmentRoot |
TypeNameMatch.getPackageFragmentRoot()
Returns the package fragment root of the stored type.
|
Modifier and Type | Method and Description |
---|---|
IPackageFragmentRoot |
PackageFragmentRootSourceLocation.getPackageFragmentRoot()
Deprecated.
Returns the package fragment root associated with this
source location, or
null if none |
Constructor and Description |
---|
PackageFragmentRootSourceLocation(IPackageFragmentRoot root)
Deprecated.
Creates a source location on the given package fragment root.
|
Modifier and Type | Method and Description |
---|---|
IPackageFragmentRoot |
PackageFragmentRootSourceContainer.getPackageFragmentRoot()
Returns the package fragment root this container searches for source.
|
Constructor and Description |
---|
PackageFragmentRootSourceContainer(IPackageFragmentRoot root)
Constructs a new package fragment root source container on the
given root.
|
Modifier and Type | Method and Description |
---|---|
static SelectionDialog |
JavaUI.createPackageDialog(Shell parent,
IPackageFragmentRoot root)
Creates a selection dialog that lists all packages under the given package
fragment root.
|
static SelectionDialog |
JavaUI.createPackageDialog(Shell parent,
IPackageFragmentRoot root,
String filter)
Creates a selection dialog that lists all packages under the given package
fragment root.
|
protected Object[] |
StandardJavaElementContentProvider.getPackageFragmentRootContent(IPackageFragmentRoot root)
Evaluates all children of a given
IPackageFragmentRoot . |
static void |
JavaElementLabels.getPackageFragmentRootLabel(IPackageFragmentRoot root,
long flags,
StringBuffer buf)
Appends the label for a package fragment root to a
StringBuffer . |
static void |
JavaElementLabels.getPackageFragmentRootLabel(IPackageFragmentRoot root,
long flags,
StyledString result)
Appends the label for a package fragment root to a
StyledString . |
protected boolean |
StandardJavaElementContentProvider.isProjectPackageFragmentRoot(IPackageFragmentRoot root)
Tests if the package fragment root is located on the project.
|
protected Object |
StandardJavaElementContentProvider.skipProjectPackageFragmentRoot(IPackageFragmentRoot root)
Note: This method is for internal use only.
|
Modifier and Type | Method and Description |
---|---|
static RenameSupport |
RenameSupport.create(IPackageFragmentRoot root,
String newName)
Creates a new rename support for the given
IPackageFragmentRoot . |
Modifier and Type | Method and Description |
---|---|
protected IPackageFragmentRoot |
NewContainerWizardPage.chooseContainer()
Opens a selection dialog that allows to select a source container.
|
IPackageFragmentRoot |
NewContainerWizardPage.getPackageFragmentRoot()
Returns the
IPackageFragmentRoot that corresponds to the current
value of the source folder field. |
Modifier and Type | Method and Description |
---|---|
void |
NewContainerWizardPage.setPackageFragmentRoot(IPackageFragmentRoot root,
boolean canBeModified)
Sets the current source folder (model and text field) to the given package
fragment root.
|
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.