org.netbeans.modules.java.project/1 1.38.1

org.netbeans.spi.java.project.support.ui
Class EditJarSupport

java.lang.Object
  extended by 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.
 
Constructor Summary
EditJarSupport()
           
 
Method Summary
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EditJarSupport

public EditJarSupport()
Method Detail

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

org.netbeans.modules.java.project/1 1.38.1

Built on December 5 2011.  |  Portions Copyright 1997-2011 Sun Microsystems, Inc. All rights reserved.