|
org.netbeans.modules.java.api.common/0 1.37 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.netbeans.modules.java.api.common.project.ui.ClassPathUiSupport
public final class ClassPathUiSupport
Support for visual classpath customizer.
| Nested Class Summary | |
|---|---|
static interface |
ClassPathUiSupport.Callback
Optional callback to perform initialization of item. |
| Method Summary | |
|---|---|
static int[] |
addArtifacts(DefaultListModel listModel,
int[] indices,
AntArtifactItem[] artifactItems,
ClassPathUiSupport.Callback callback)
|
static int[] |
addJarFiles(DefaultListModel listModel,
int[] indices,
String[] filePaths,
File base,
String[] variables,
ClassPathUiSupport.Callback callback)
|
static int[] |
addLibraries(DefaultListModel listModel,
int[] indices,
Library[] libraries,
Set<Library> alreadyIncludedLibs,
ClassPathUiSupport.Callback callback)
|
static boolean |
canEdit(ListSelectionModel selectionModel,
DefaultListModel listModel)
|
static boolean |
canMoveDown(ListSelectionModel selectionModel,
int modelSize)
|
static boolean |
canMoveUp(ListSelectionModel selectionModel)
|
static DefaultListModel |
createListModel(Iterator it)
|
static void |
edit(DefaultListModel listModel,
int[] selectedIndices,
AntProjectHelper helper)
|
static Iterator<ClassPathSupport.Item> |
getIterator(DefaultListModel model)
|
static List<ClassPathSupport.Item> |
getList(DefaultListModel model)
|
static int[] |
moveDown(DefaultListModel listModel,
int[] indices)
Moves items down in the list. |
static int[] |
moveUp(DefaultListModel listModel,
int[] indices)
Moves items up in the list. |
static int[] |
remove(DefaultListModel listModel,
int[] indices)
Removes selected indices from the model. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static DefaultListModel createListModel(Iterator it)
public static Iterator<ClassPathSupport.Item> getIterator(DefaultListModel model)
public static List<ClassPathSupport.Item> getList(DefaultListModel model)
public static boolean canEdit(ListSelectionModel selectionModel,
DefaultListModel listModel)
public static void edit(DefaultListModel listModel,
int[] selectedIndices,
AntProjectHelper helper)
public static int[] moveUp(DefaultListModel listModel,
int[] indices)
public static boolean canMoveUp(ListSelectionModel selectionModel)
public static int[] moveDown(DefaultListModel listModel,
int[] indices)
public static boolean canMoveDown(ListSelectionModel selectionModel,
int modelSize)
public static int[] remove(DefaultListModel listModel,
int[] indices)
public static int[] addLibraries(DefaultListModel listModel,
int[] indices,
Library[] libraries,
Set<Library> alreadyIncludedLibs,
ClassPathUiSupport.Callback callback)
public static int[] addJarFiles(DefaultListModel listModel,
int[] indices,
String[] filePaths,
File base,
String[] variables,
ClassPathUiSupport.Callback callback)
public static int[] addArtifacts(DefaultListModel listModel,
int[] indices,
AntArtifactItem[] artifactItems,
ClassPathUiSupport.Callback callback)
|
org.netbeans.modules.java.api.common/0 1.37 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||