File tree 1 file changed +7
-4
lines changed
io.sloeber.ui/src/io/sloeber/ui
1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change 10
10
import org .eclipse .ui .statushandlers .StatusManager ;
11
11
import org .osgi .framework .BundleContext ;
12
12
13
+ import io .sloeber .core .api .LibraryManager ;
13
14
import io .sloeber .ui .helpers .MyPreferences ;
15
+ import io .sloeber .ui .listeners .MyLibraryInstallHandler ;
14
16
import io .sloeber .ui .listeners .ProjectExplorerListener ;
15
17
16
18
/**
17
19
* generated code
18
- *
20
+ *
19
21
* @author Jan Baeyens
20
- *
22
+ *
21
23
*/
22
24
public class Activator extends AbstractUIPlugin {
23
25
@@ -39,6 +41,7 @@ private static void runGUIRegistration() {
39
41
@ Override
40
42
public IStatus runInUIThread (IProgressMonitor monitor ) {
41
43
ProjectExplorerListener .registerListener ();
44
+ LibraryManager .registerInstallLibraryHandler (new MyLibraryInstallHandler ());;
42
45
return Status .OK_STATUS ;
43
46
}
44
47
@@ -58,7 +61,7 @@ public static BundleContext getContext() {
58
61
59
62
/**
60
63
* Logs the status information
61
- *
64
+ *
62
65
* @param status
63
66
* the status information to log
64
67
*/
@@ -83,7 +86,7 @@ private static void initializeImportantVariables() {
83
86
/**
84
87
* Returns an image descriptor for the image file at the given plug-in
85
88
* relative path
86
- *
89
+ *
87
90
* @param path
88
91
* the path
89
92
* @return the image descriptor
You can’t perform that action at this time.
0 commit comments