@Override public void setName(String name) { getLibraryImplementation().setName(name); }
@Override public synchronized LibraryImplementation[] getLibraries() { if (libraries == null) { J2eeLibraryTypeProvider libProvider = new J2eeLibraryTypeProvider(); LibraryImplementation lib = libProvider.createLibrary(); lib.setName(NbBundle.getMessage(TomcatPlatformImpl.class, "LBL_lib_name", displayName)); loadLibraries(lib); libraries = new LibraryImplementation[1]; libraries[0] = lib; } return libraries; }
List<URL> designtimes) throws IOException { LibraryImplementation impl = LibrariesSupport.createLibraryImplementation(ComponentLibraryTypeProvider.LIBRARY_TYPE, ComponentLibraryTypeProvider.VOLUME_TYPES); impl.setName (name); impl.setDescription (description); impl.setLocalizingBundle (localizingBundle);
List<URL> runtime) throws IOException { LibraryImplementation impl = LibrariesSupport.createLibraryImplementation(ThemeLibraryTypeProvider.LIBRARY_TYPE, ThemeLibraryTypeProvider.VOLUME_TYPES); impl.setName (name); impl.setDescription (description); impl.setLocalizingBundle (localizingBundle);
LibraryImplementation impl = LibrariesSupport.getLibraryTypeProvider("j2se").createLibrary(); impl.setName (name); impl.setDescription (description); impl.setLocalizingBundle (localizingBundle);
lib.setName(NbBundle.getMessage(PlatformImpl.class, "wsit-api")); // NOI18N l.add(fileToUrl(new File(root, WEBSERVICES_API_JAR))); lib.setContent(J2eeLibraryTypeProvider.VOLUME_TYPE_CLASSPATH, l); lib.setName(NbBundle.getMessage(PlatformImpl.class, "j2ee14")); // NOI18N l = new ArrayList(); File ff = (new File(root, JAVA_EE_JAR)); lib.setName(NbBundle.getMessage(PlatformImpl.class, "jsf11")); // NOI18N lib.setName(NbBundle.getMessage(PlatformImpl.class, "jwsdp")); // NOI18N l = new ArrayList(); l.add(fileToUrl(new File(root, JWSDP_JAR))); lib.setName(NbBundle.getMessage(PlatformImpl.class, "wsit")); // NOI18N l.add(fileToUrl(new File(root, WEBSERVICES_TOOLS_JAR))); l.add(fileToUrl(new File(root, WEBSERVICES_RT_JAR))); lib.setName(NbBundle.getMessage(PlatformImpl.class, "jaxqname")); // NOI18N lib.setName(NbBundle.getMessage(PlatformImpl.class, "jaxrpc11")); // NOI18N lib.setName(NbBundle.getMessage(PlatformImpl.class, "jaxr10")); // NOI18N lib.setName(NbBundle.getMessage(PlatformImpl.class, "saaj12")); // NOI18N if (l != null) { lib = lp.createLibrary(); lib.setName(NbBundle.getMessage(PlatformImpl.class, "swdp")); // NOI18N
private void initLibraries() { // create library LibraryImplementation lib = new J2eeLibraryTypeProvider().createLibrary(); lib.setName(NbBundle.getMessage(JBJ2eePlatformFactory.class, "TITLE_JBOSS_LIBRARY")); lib.setContent(J2eeLibraryTypeProvider.VOLUME_TYPE_CLASSPATH, properties.getClasses()); lib.setContent(J2eeLibraryTypeProvider.VOLUME_TYPE_JAVADOC, properties.getJavadocs()); lib.setContent(J2eeLibraryTypeProvider.VOLUME_TYPE_SRC, properties.getSources()); libraries = new LibraryImplementation[] {lib}; }
if (namePattern.matcher(gfLib.getLibraryID()).matches()) { List<String> javadocLookups = gfLib.getJavadocLookups(); lib.setName(libraryName);
impl.setName(antLibraryName);
impl.setName(antLibraryName);