| java.lang.Object org.eclipse.jdt.internal.ui.wizards.buildpaths.BuildPathSupport
BuildPathSupport | public class BuildPathSupport (Code) | | |
Method Summary | |
public static String | getDeprecationMessage(String variableName) Returns a deprecation message for a classpath variable name. | public static String | guessJavadocLocation(CPListElement elem) Finds a javadoc location for a new archive in the existing classpaths. | public static IPath | guessSourceAttachment(CPListElement elem) Finds a source attachment for a new archive in the existing classpaths. | public static void | modifyClasspathEntry(Shell shell, IClasspathEntry newEntry, String[] changedAttributes, IJavaProject jproject, IPath containerPath, IProgressMonitor monitor) Apply a modified classpath entry to the classpath. | public static void | modifyClasspathEntry(Shell shell, IClasspathEntry newEntry, IJavaProject jproject, IPath containerPath, IProgressMonitor monitor) Apply a modified classpath entry to the classpath. | public static void | requestContainerUpdate(IJavaProject jproject, IClasspathContainer container, IClasspathEntry[] newEntries) Request a container update. |
JRE_PREF_PAGE_ID | final public static String JRE_PREF_PAGE_ID(Code) | | |
getDeprecationMessage | public static String getDeprecationMessage(String variableName)(Code) | | Returns a deprecation message for a classpath variable name.
Parameters: variableName - classpath variable name the deprecation message, or null iffvariableName is not a classpath variable or thevariable is not deprecated |
guessJavadocLocation | public static String guessJavadocLocation(CPListElement elem)(Code) | | Finds a javadoc location for a new archive in the existing classpaths.
Parameters: elem - The new classpath entry A javadoc location found in a similar classpath entry or null . |
guessSourceAttachment | public static IPath guessSourceAttachment(CPListElement elem)(Code) | | Finds a source attachment for a new archive in the existing classpaths.
Parameters: elem - The new classpath entry A path to be taken for the source attachment or null |
modifyClasspathEntry | public static void modifyClasspathEntry(Shell shell, IClasspathEntry newEntry, String[] changedAttributes, IJavaProject jproject, IPath containerPath, IProgressMonitor monitor) throws CoreException(Code) | | Apply a modified classpath entry to the classpath. The classpath entry can also be from a classpath container.
Parameters: shell - If not null and the entry could not be found on the projects classpath, a dialog will ask to put the entry on the classpath Parameters: newEntry - The modified entry. The entry's kind or path must be unchanged. Parameters: changedAttributes - The attibutes that have changed. See CPListElement for constants values. Parameters: jproject - Project where the entry belongs to Parameters: containerPath - The path of the entry's parent container or null if the entry is not in a container Parameters: monitor - The progress monitor to use throws: CoreException - |
modifyClasspathEntry | public static void modifyClasspathEntry(Shell shell, IClasspathEntry newEntry, IJavaProject jproject, IPath containerPath, IProgressMonitor monitor) throws CoreException(Code) | | Apply a modified classpath entry to the classpath. The classpath entry can also be from a classpath container.
Parameters: shell - If not null and the entry could not be found on the projects classpath, a dialog will ask to put the entry on the classpath Parameters: newEntry - The modified entry. The entry's kind or path must be unchanged. Parameters: jproject - Project where the entry belongs to Parameters: containerPath - The path of the entry's parent container or null if the entry is not in a container Parameters: monitor - The progress monitor to use throws: CoreException - |
requestContainerUpdate | public static void requestContainerUpdate(IJavaProject jproject, IClasspathContainer container, IClasspathEntry[] newEntries) throws CoreException(Code) | | Request a container update.
Parameters: jproject - The project of the container Parameters: container - The container to requesta change to Parameters: newEntries - The updated entries throws: CoreException - |
|
|