org.netbeans.modules.java.api.common.classpath
Class ClassPathModifierSupport
java.lang.Object
org.netbeans.modules.java.api.common.classpath.ClassPathModifierSupport
public class ClassPathModifierSupport
- extends Object
Helper methods for adding/removing items from project classpath.
- Since:
- org.netbeans.modules.java.api.common/1 1.5
|
Method Summary |
static boolean |
handleAntArtifacts(Project project,
AntProjectHelper helper,
ClassPathSupport cs,
PropertyEvaluator eval,
ClassPathUiSupport.Callback cpUiSupportCallback,
AntArtifact[] artifacts,
URI[] artifactElements,
String classPathProperty,
String projectXMLElementName,
int operation)
|
static boolean |
handleLibraries(Project project,
AntProjectHelper helper,
ClassPathSupport cs,
PropertyEvaluator eval,
ClassPathUiSupport.Callback cpUiSupportCallback,
ReferenceHelper refHelper,
Library[] libraries,
String classPathProperty,
String projectXMLElementName,
int operation)
|
static boolean |
handleLibraryClassPathItems(Project project,
AntProjectHelper helper,
ClassPathSupport cs,
List<ClassPathSupport.Item> items,
String classPathProperty,
String projectXMLElementName,
int operation,
boolean saveProject)
|
static boolean |
handleRoots(Project project,
AntProjectHelper helper,
ClassPathSupport cs,
PropertyEvaluator eval,
ClassPathUiSupport.Callback cpUiSupportCallback,
URI[] classPathRoots,
String classPathProperty,
String projectXMLElementName,
int operation)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ADD
public static final int ADD
- See Also:
- Constant Field Values
ADD_NO_HEURISTICS
public static final int ADD_NO_HEURISTICS
- See Also:
- Constant Field Values
REMOVE
public static final int REMOVE
- See Also:
- Constant Field Values
ClassPathModifierSupport
public ClassPathModifierSupport()
handleRoots
public static boolean handleRoots(Project project,
AntProjectHelper helper,
ClassPathSupport cs,
PropertyEvaluator eval,
ClassPathUiSupport.Callback cpUiSupportCallback,
URI[] classPathRoots,
String classPathProperty,
String projectXMLElementName,
int operation)
throws IOException
- Throws:
IOException
handleAntArtifacts
public static boolean handleAntArtifacts(Project project,
AntProjectHelper helper,
ClassPathSupport cs,
PropertyEvaluator eval,
ClassPathUiSupport.Callback cpUiSupportCallback,
AntArtifact[] artifacts,
URI[] artifactElements,
String classPathProperty,
String projectXMLElementName,
int operation)
throws IOException,
UnsupportedOperationException
- Throws:
IOException
UnsupportedOperationException
handleLibraries
public static boolean handleLibraries(Project project,
AntProjectHelper helper,
ClassPathSupport cs,
PropertyEvaluator eval,
ClassPathUiSupport.Callback cpUiSupportCallback,
ReferenceHelper refHelper,
Library[] libraries,
String classPathProperty,
String projectXMLElementName,
int operation)
throws IOException,
UnsupportedOperationException
- Throws:
IOException
UnsupportedOperationException
handleLibraryClassPathItems
public static boolean handleLibraryClassPathItems(Project project,
AntProjectHelper helper,
ClassPathSupport cs,
List<ClassPathSupport.Item> items,
String classPathProperty,
String projectXMLElementName,
int operation,
boolean saveProject)
throws IOException
- Throws:
IOException