@@ -142,7 +142,7 @@ public LibraryTree() {
142
142
.append (library .getArchitectures ().toString ()).append ("\n \n " ) //$NON-NLS-1$
143
143
.append (library .getSentence ());
144
144
lib = new Library (category , library .getName (), libraryIndex .getName (), builder .toString ());
145
- category .libraries .put (library .getName () + " (" + libraryIndex .getName () + ")" , lib ); //$NON-NLS-1$//$NON-NLS-2$
145
+ category .libraries .put (library .getName () + " (" + libraryIndex .getName () + ")" , lib ); //$NON-NLS-1$//$NON-NLS-2$
146
146
}
147
147
lib .versions .add (new VersionNumber (library .getVersion ()));
148
148
if (library .isInstalled ()) {
@@ -219,10 +219,19 @@ public static String getPrivateLibraryPathsString() {
219
219
return InstancePreferences .getPrivateLibraryPathsString ();
220
220
}
221
221
222
+ /**
223
+ * Wrapper method for Manager. installAllLatestLibraries(String category)
224
+ *
225
+ * @param category
226
+ */
222
227
public static void installAllLatestLibraries (String category ) {
223
228
Manager .installAllLatestLibraries (category );
224
229
}
225
230
231
+ /**
232
+ * Convenience method for installAllLatestLibraries(String category) calling
233
+ * it for all categories
234
+ */
226
235
public static void installAllLatestLibraries () {
227
236
Set <String > allcategories = getAllCategories ();
228
237
for (String categorieName : allcategories ) {
@@ -231,6 +240,12 @@ public static void installAllLatestLibraries() {
231
240
232
241
}
233
242
243
+ /**
244
+ * get all the categories for all libraries (installed or not)
245
+ *
246
+ * @return a list of all the categories that exist in any library json file
247
+ * known by sloeber
248
+ */
234
249
public static Set <String > getAllCategories () {
235
250
236
251
Set <String > ret = new TreeSet <>();
0 commit comments