org.netbeans.modules.java.api.common/0 1.37

org.netbeans.modules.java.api.common.classpath
Class ClassPathModifierSupport

java.lang.Object
  extended by 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

Field Summary
static int ADD
           
static int ADD_NO_HEURISTICS
           
static int REMOVE
           
 
Constructor Summary
ClassPathModifierSupport()
           
 
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
 

Field Detail

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
Constructor Detail

ClassPathModifierSupport

public ClassPathModifierSupport()
Method Detail

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

org.netbeans.modules.java.api.common/0 1.37

Built on May 22 2012.  |  Portions Copyright 1997-2012 Oracle. All rights reserved.