|
16 | 16 | import java.util.List; |
17 | 17 | import java.util.Map; |
18 | 18 |
|
19 | | -import jakarta.annotation.PostConstruct; |
20 | | -import jakarta.annotation.PreDestroy; |
21 | | -import jakarta.inject.Inject; |
22 | | - |
23 | 19 | import org.eclipse.e4.core.di.annotations.Optional; |
24 | 20 | import org.eclipse.e4.ui.model.application.MApplication; |
25 | 21 | import org.eclipse.e4.ui.model.application.ui.MElementContainer; |
|
64 | 60 | import org.eclipse.ui.intro.config.IntroURLFactory; |
65 | 61 | import org.osgi.framework.FrameworkUtil; |
66 | 62 |
|
| 63 | +import jakarta.annotation.PostConstruct; |
| 64 | +import jakarta.annotation.PreDestroy; |
| 65 | +import jakarta.inject.Inject; |
| 66 | + |
67 | 67 | /** |
68 | 68 | * This class is responsible for creating the intro launch bar in the provided parent. It creates |
69 | 69 | * 'restore' and 'close' actions, as well as actions for each shortcut element contributed in the |
@@ -393,15 +393,14 @@ public void run() { |
393 | 393 | } |
394 | 394 | }; |
395 | 395 | action.setToolTipText(Messages.IntroLaunchBar_restore_tooltip); |
396 | | - action.setImageDescriptor(ImageUtil.createImageDescriptor("full/etool16/restore_welcome.png")); //$NON-NLS-1$ |
| 396 | + action.setImageDescriptor(ImageUtil.createImageDescriptor("full/etool16/restore_welcome.svg")); //$NON-NLS-1$ |
397 | 397 | // toolBarManager.add(closeAction); |
398 | 398 | toolBarManager.add(action); |
399 | 399 | toolBarManager.add(new Separator()); |
400 | 400 | if (element == null) |
401 | 401 | return; |
402 | 402 | IntroLaunchBarShortcut[] shortcuts = element.getShortcuts(); |
403 | | - for (int i = 0; i < shortcuts.length; i++) { |
404 | | - IntroLaunchBarShortcut shortcut = shortcuts[i]; |
| 403 | + for (IntroLaunchBarShortcut shortcut : shortcuts) { |
405 | 404 | addShortcut(shortcut, toolBarManager); |
406 | 405 | } |
407 | 406 | } |
|
0 commit comments