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.ui |
Application programming interfaces for interaction
with the Eclipse Java User Interface.
|
org.eclipse.jdt.ui.jarpackager |
Provides classes and interfaces to generate a JAR file.
|
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 |
---|---|
IPackageFragment |
IPackageFragmentRoot.createPackageFragment(String name,
boolean force,
IProgressMonitor monitor)
Creates and returns a package fragment in this root with the
given dot-separated package name.
|
IPackageFragment |
IJavaProject.findPackageFragment(IPath path)
Returns the first existing package fragment on this project's classpath
whose path matches the given (absolute) path, or
null if none
exist. |
IPackageFragment |
IType.getPackageFragment()
Returns the package fragment in which this element is defined.
|
IPackageFragment |
IPackageFragmentRoot.getPackageFragment(String packageName)
Returns the package fragment with the given package name.
|
IPackageFragment[] |
IJavaProject.getPackageFragments()
Returns all package fragments in all package fragment roots contained
in this project.
|
Modifier and Type | Method and Description |
---|---|
void |
MoveDescriptor.setMovePackages(IPackageFragment[] fragments)
Sets the package fragments to move.
|
Modifier and Type | Method and Description |
---|---|
protected Object[] |
StandardJavaElementContentProvider.getPackageContent(IPackageFragment fragment)
Evaluates all children of a given
IPackageFragment . |
static void |
JavaElementLabels.getPackageFragmentLabel(IPackageFragment pack,
long flags,
StringBuffer buf)
Appends the label for a package fragment to a
StringBuffer . |
static void |
JavaElementLabels.getPackageFragmentLabel(IPackageFragment pack,
long flags,
StyledString result)
Appends the label for a package fragment to a
StyledString . |
Modifier and Type | Method and Description |
---|---|
IPackageFragment[] |
JarPackageData.getPackagesToSeal()
Gets the packages which should be sealed.
|
IPackageFragment[] |
JarPackageData.getPackagesToUnseal()
Gets the packages which should explicitly be unsealed.
|
Modifier and Type | Method and Description |
---|---|
void |
JarPackageData.setPackagesToSeal(IPackageFragment[] packagesToSeal)
Sets the packages which should be sealed.
|
void |
JarPackageData.setPackagesToUnseal(IPackageFragment[] packagesToUnseal)
Set the packages which should explicitly be unsealed.
|
Modifier and Type | Method and Description |
---|---|
static RenameSupport |
RenameSupport.create(IPackageFragment fragment,
String newName,
int flags)
Creates a new rename support for the given
IPackageFragment . |
Modifier and Type | Method and Description |
---|---|
protected IPackageFragment |
NewTypeWizardPage.choosePackage()
Opens a selection dialog that allows to select a package.
|
IPackageFragment |
NewPackageWizardPage.getNewPackageFragment()
Returns the created package fragment.
|
IPackageFragment |
NewTypeWizardPage.getPackageFragment()
Returns the package fragment corresponding to the current input.
|
Modifier and Type | Method and Description |
---|---|
void |
NewTypeWizardPage.setPackageFragment(IPackageFragment pack,
boolean canBeModified)
Sets the package fragment to the given value.
|
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.