org.netbeans.spi.java.project.support.ui
Class EditJarSupport
java.lang.Object
org.netbeans.spi.java.project.support.ui.EditJarSupport
public final class EditJarSupport
- extends Object
Factory for creating a dialog for editing jar/folder-based classpath dependencies
for Ant based projects. Allows to add/modify/remove source and javadoc jars.
- Since:
- org.netbeans.modules.java.project 1.14
Nested Class Summary |
static class |
EditJarSupport.Item
Simple object holding information used for passing information in and out of the
EditJarSupport.showEditDialog method. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EditJarSupport
public EditJarSupport()
showEditDialog
public static EditJarSupport.Item showEditDialog(AntProjectHelper helper,
EditJarSupport.Item item)
- Show dialog that allows to edit source and javadoc jar/folder locations
for a given jar/folder on the classpath. Returns null when dialog was cancelled,
otherwise returns EditJarSupport.Item bean with new values.
- Parameters:
helper
- item
- - bean with currently used values for classpath jar, source and javadoc jars location
- Returns:
- null if dialog cancelled, or the original item with modified values