1 19 package org.netbeans.modules.utilities; 20 21 import org.netbeans.modules.openfile.RecentFiles; 22 import org.openide.modules.ModuleInstall; 23 import org.openide.util.SharedClassObject; 24 25 29 public class Installer extends ModuleInstall { 30 31 32 private final org.netbeans.modules.search.Installer searchInstaller; 33 34 35 public Installer() { 36 searchInstaller = (org.netbeans.modules.search.Installer) 37 SharedClassObject.findObject( 38 org.netbeans.modules.search.Installer.class, 39 true); 40 } 41 42 45 public void restored() { 46 searchInstaller.restored(); 47 RecentFiles.init(); 48 } 49 50 54 public void uninstalled() { 55 searchInstaller.uninstalled(); 56 } 57 58 60 public void close() { 61 searchInstaller.close(); 62 } 63 64 66 public boolean closing() { 67 return searchInstaller.closing(); 68 } 69 70 } 71 | Popular Tags |