public interface IFactoryPath
Clients should not implement this interface.
Modifier and Type | Method and Description |
---|---|
void |
addExternalJar(File jar)
Add an external jar file (not in the workspace) to the head of the
factory path.
|
void |
addVarJar(IPath jarPath)
Add a jar file in the workspace, specified with a classpath variable,
to the head of the factory path.
|
void |
addWkspJar(IPath jarPath)
Add a jar file in the workspace to the head of the
factory path.
|
void |
disablePlugin(String pluginId)
Disable a plugin on the factory path.
|
void |
enablePlugin(String pluginId)
Enable a plugin on the factory path, and move it to the head of the
path.
|
void |
removeExternalJar(File jar)
Remove an external jar file from the factory path.
|
void |
removeVarJar(IPath jarPath)
Remove from the factory path a jar file whose name is based on a
classpath variable.
|
void |
removeWkspJar(IPath jarPath)
Remove a workspace-relative jar from the factory path.
|
void addExternalJar(File jar)
jar
- a java.io.File representing the jar file. Must not be null.void removeExternalJar(File jar)
jar
- must not be null.void addWkspJar(IPath jarPath)
jarPath
- an Eclipse IPath representing the jar file; the path is
relative to the workspace root. Must not be null.void removeWkspJar(IPath jarPath)
jarPath
- an Eclipse IPath representing the jar file; the path is
relative to the workspace root. Must not be null.void addVarJar(IPath jarPath)
jarPath
- an Eclipse IPath representing the jar file; the first
segment of the path is assumed to be the variable name. Must not
be null.void removeVarJar(IPath jarPath)
jarPath
- an Eclipse IPath representing the jar file; the first
segment of the path is assumed to be the variable name. Must not
be null.void enablePlugin(String pluginId) throws CoreException
pluginId
- the unique id of the processor plugin, e.g.,
"org.example.myProcessors"CoreException
- if the plugin is not installed.void disablePlugin(String pluginId)
pluginId
- the unique id of the processor plugin, e.g.,
"org.example.myProcessors"
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.