Uses of Interface
org.eclipse.jdt.core.IPackageFragment
Package
Description
The Java model is the set of classes that model the
objects associated with creating, editing, and building a Java program.
Application programming interface to access Java refactorings provided by JDT.
Application programming interfaces for interaction
with the Eclipse Java User Interface.
Provides classes and interfaces to generate a JAR file.
Application programming interfaces for rename refactorings.
Application programming interfaces for interaction
with the Eclipse Java User Interface wizards.
-
Uses of IPackageFragment in org.eclipse.jdt.core
Modifier and TypeMethodDescriptionIPackageFragmentRoot.createPackageFragment
(String name, boolean force, org.eclipse.core.runtime.IProgressMonitor monitor) Creates and returns a package fragment in this root with the given dot-separated package name.IJavaProject.findPackageFragment
(org.eclipse.core.runtime.IPath path) Returns the first existing package fragment on this project's classpath whose path matches the given (absolute) path, ornull
if none exist.IPackageFragmentRoot.getPackageFragment
(String packageName) Returns the package fragment with the given package name.IType.getPackageFragment()
Returns the package fragment in which this element is defined.IJavaProject.getPackageFragments()
Returns all package fragments in all package fragment roots contained in this project. -
Uses of IPackageFragment in org.eclipse.jdt.core.refactoring.descriptors
Modifier and TypeMethodDescriptionvoid
MoveDescriptor.setMovePackages
(IPackageFragment[] fragments) Sets the package fragments to move. -
Uses of IPackageFragment in org.eclipse.jdt.ui
Modifier and TypeMethodDescriptionprotected Object[]
StandardJavaElementContentProvider.getPackageContent
(IPackageFragment fragment) Evaluates all children of a givenIPackageFragment
.static void
JavaElementLabels.getPackageFragmentLabel
(IPackageFragment pack, long flags, StringBuffer buf) Appends the label for a package fragment to aStringBuffer
.static void
JavaElementLabels.getPackageFragmentLabel
(IPackageFragment pack, long flags, org.eclipse.jface.viewers.StyledString result) Appends the label for a package fragment to aStyledString
. -
Uses of IPackageFragment in org.eclipse.jdt.ui.jarpackager
Modifier and TypeMethodDescriptionJarPackageData.getPackagesToSeal()
Gets the packages which should be sealed.JarPackageData.getPackagesToUnseal()
Gets the packages which should explicitly be unsealed.Modifier and TypeMethodDescriptionvoid
JarPackageData.setPackagesToSeal
(IPackageFragment[] packagesToSeal) Sets the packages which should be sealed.void
JarPackageData.setPackagesToUnseal
(IPackageFragment[] packagesToUnseal) Set the packages which should explicitly be unsealed. -
Uses of IPackageFragment in org.eclipse.jdt.ui.refactoring
Modifier and TypeMethodDescriptionstatic RenameSupport
RenameSupport.create
(IPackageFragment fragment, String newName, int flags) Creates a new rename support for the givenIPackageFragment
. -
Uses of IPackageFragment in org.eclipse.jdt.ui.wizards
Modifier and TypeMethodDescriptionprotected IPackageFragment
NewTypeWizardPage.choosePackage()
Opens a selection dialog that allows to select a package.NewPackageWizardPage.getNewPackageFragment()
Returns the created package fragment.NewTypeWizardPage.getPackageFragment()
Returns the package fragment corresponding to the current input.Modifier and TypeMethodDescriptionprotected String
NewTypeWizardPage.getUniqueJavaTypeName
(IPackageFragment pack, String name) Generate a unique type name for some initially given name under the given package fragment.void
NewTypeWizardPage.setPackageFragment
(IPackageFragment pack, boolean canBeModified) Sets the package fragment to the given value.