org.netbeans.modules.project.libraries/1 1.29.1

org.netbeans.api.project.libraries
Class LibrariesCustomizer

java.lang.Object
  extended by org.netbeans.api.project.libraries.LibrariesCustomizer

public final class LibrariesCustomizer
extends Object

Provides method for opening Libraries customizer


Method Summary
static Library showCreateNewLibraryCustomizer(LibraryManager manager)
          Show customizer for creating new library in the given library manager.
static boolean showCustomizer(Library activeLibrary)
          Shows libraries customizer for global libraries.
static boolean showCustomizer(Library activeLibrary, LibraryManager libraryManager)
          Shows libraries customizer for given library manager.
static boolean showSingleLibraryCustomizer(Library library)
          Show library customizer for the given library.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

showCustomizer

public static boolean showCustomizer(Library activeLibrary,
                                     LibraryManager libraryManager)
Shows libraries customizer for given library manager.

Parameters:
activeLibrary - if not null the activeLibrary is selected in the opened customizer
Returns:
true if user pressed OK and libraries were sucessfully modified

showCustomizer

public static boolean showCustomizer(Library activeLibrary)
Shows libraries customizer for global libraries.

Parameters:
activeLibrary - if not null the activeLibrary is selected in the opened customizer
Returns:
true if user pressed OK and libraries were sucessfully modified

showCreateNewLibraryCustomizer

public static Library showCreateNewLibraryCustomizer(LibraryManager manager)
Show customizer for creating new library in the given library manager.

Parameters:
manager - manager
Returns:
created persisted library or null if user cancelled operation
Since:
org.netbeans.modules.project.libraries/1 1.16

showSingleLibraryCustomizer

public static boolean showSingleLibraryCustomizer(Library library)
Show library customizer for the given library.

Parameters:
library - library
Returns:
true if library was modified or not
Since:
org.netbeans.modules.project.libraries/1 1.16

org.netbeans.modules.project.libraries/1 1.29.1

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