@@ -116,7 +116,7 @@ public class Base {
116
116
117
117
private Mode defaultMode ;
118
118
private Mode [] coreModes ;
119
- private List <ModeContribution > contribModes ;
119
+ List <ModeContribution > contribModes ;
120
120
121
121
private JMenu sketchbookMenu ;
122
122
@@ -341,7 +341,7 @@ void rebuildContribModes() {
341
341
contribModes = new ArrayList <ModeContribution >();
342
342
343
343
ArrayList <ModeContribution > newContribs = ModeContribution
344
- .list (this , getSketchbookModesFolder (), false );
344
+ .list (this , getSketchbookModesFolder ());
345
345
for (ModeContribution contrib : newContribs ) {
346
346
if (!contribModes .contains (contrib )) {
347
347
if (contrib .instantiateModeClass ()) {
@@ -358,7 +358,7 @@ public Base(String[] args) {
358
358
// Delete all modes and tools that have been flagged for deletion before
359
359
// they are initialized by an editor.
360
360
ArrayList <InstalledContribution > contribs = new ArrayList <InstalledContribution >();
361
- contribs .addAll (ModeContribution .list (this , getSketchbookModesFolder (), false ));
361
+ contribs .addAll (ModeContribution .list (this , getSketchbookModesFolder ()));
362
362
contribs .addAll (ToolContribution .list (getSketchbookToolsFolder (), false ));
363
363
for (InstalledContribution contrib : contribs ) {
364
364
if (ContributionManager .isFlaggedForDeletion (contrib )) {
@@ -1610,14 +1610,6 @@ public void handleShowUpdates() {
1610
1610
updateManagerFrame .showFrame (activeEditor );
1611
1611
}
1612
1612
1613
- /**
1614
- * Installed the libraries in the given file after a confirmation from the
1615
- * user. Returns the number of libraries installed.
1616
- */
1617
- public boolean handleConfirmAndInstallLibrary (File libFile ) {
1618
- return ContributionManager .confirmAndInstallLibrary (activeEditor , libFile , null ) != null ;
1619
- }
1620
-
1621
1613
// ...................................................................
1622
1614
1623
1615
0 commit comments