Skip to content

Commit 950f2aa

Browse files
author
jantje
committed
registering the myLibraryInstallHandler
Still dummy class accepting all proposals
1 parent 1fb2d8d commit 950f2aa

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

io.sloeber.ui/src/io/sloeber/ui/Activator.java

+7-4
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,16 @@
1010
import org.eclipse.ui.statushandlers.StatusManager;
1111
import org.osgi.framework.BundleContext;
1212

13+
import io.sloeber.core.api.LibraryManager;
1314
import io.sloeber.ui.helpers.MyPreferences;
15+
import io.sloeber.ui.listeners.MyLibraryInstallHandler;
1416
import io.sloeber.ui.listeners.ProjectExplorerListener;
1517

1618
/**
1719
* generated code
18-
*
20+
*
1921
* @author Jan Baeyens
20-
*
22+
*
2123
*/
2224
public class Activator extends AbstractUIPlugin {
2325

@@ -39,6 +41,7 @@ private static void runGUIRegistration() {
3941
@Override
4042
public IStatus runInUIThread(IProgressMonitor monitor) {
4143
ProjectExplorerListener.registerListener();
44+
LibraryManager.registerInstallLibraryHandler(new MyLibraryInstallHandler());;
4245
return Status.OK_STATUS;
4346
}
4447

@@ -58,7 +61,7 @@ public static BundleContext getContext() {
5861

5962
/**
6063
* Logs the status information
61-
*
64+
*
6265
* @param status
6366
* the status information to log
6467
*/
@@ -83,7 +86,7 @@ private static void initializeImportantVariables() {
8386
/**
8487
* Returns an image descriptor for the image file at the given plug-in
8588
* relative path
86-
*
89+
*
8790
* @param path
8891
* the path
8992
* @return the image descriptor

0 commit comments

Comments
 (0)