Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUwe Stieber2016-06-24 01:59:40 -0400
committerUwe Stieber2016-06-24 01:59:40 -0400
commit736147b1fc86d0bce21b37743bda572e9b6a5135 (patch)
tree0cdcb7dc85262cf49758768638fa1847d774bbab /target_explorer
parent53b15392a9ea58015ad044237e3144dcc0e3732b (diff)
downloadorg.eclipse.tcf-736147b1fc86d0bce21b37743bda572e9b6a5135.tar.gz
org.eclipse.tcf-736147b1fc86d0bce21b37743bda572e9b6a5135.tar.xz
org.eclipse.tcf-736147b1fc86d0bce21b37743bda572e9b6a5135.zip
Target Explorer: Fix references to refresh navigation icon
Diffstat (limited to 'target_explorer')
-rw-r--r--target_explorer/plugins/org.eclipse.tcf.te.ui.views/icons/elcl16/refresh_nav.pngbin0 -> 565 bytes
-rw-r--r--target_explorer/plugins/org.eclipse.tcf.te.ui.views/src/org/eclipse/tcf/te/ui/views/activator/UIPlugin.java11
-rw-r--r--target_explorer/plugins/org.eclipse.tcf.te.ui/icons/dlcl16/refresh_nav.pngbin0 -> 457 bytes
-rw-r--r--target_explorer/plugins/org.eclipse.tcf.te.ui/icons/elcl16/refresh_nav.pngbin0 -> 565 bytes
-rw-r--r--target_explorer/plugins/org.eclipse.tcf.te.ui/plugin.xml4
5 files changed, 5 insertions, 10 deletions
diff --git a/target_explorer/plugins/org.eclipse.tcf.te.ui.views/icons/elcl16/refresh_nav.png b/target_explorer/plugins/org.eclipse.tcf.te.ui.views/icons/elcl16/refresh_nav.png
new file mode 100644
index 000000000..1e1f9e03e
--- /dev/null
+++ b/target_explorer/plugins/org.eclipse.tcf.te.ui.views/icons/elcl16/refresh_nav.png
Binary files differ
diff --git a/target_explorer/plugins/org.eclipse.tcf.te.ui.views/src/org/eclipse/tcf/te/ui/views/activator/UIPlugin.java b/target_explorer/plugins/org.eclipse.tcf.te.ui.views/src/org/eclipse/tcf/te/ui/views/activator/UIPlugin.java
index 8a8445687..ae44ffa8c 100644
--- a/target_explorer/plugins/org.eclipse.tcf.te.ui.views/src/org/eclipse/tcf/te/ui/views/activator/UIPlugin.java
+++ b/target_explorer/plugins/org.eclipse.tcf.te.ui.views/src/org/eclipse/tcf/te/ui/views/activator/UIPlugin.java
@@ -11,7 +11,6 @@ package org.eclipse.tcf.te.ui.views.activator;
import java.net.URL;
-import org.eclipse.core.runtime.Platform;
import org.eclipse.jface.resource.ImageDescriptor;
import org.eclipse.jface.resource.ImageRegistry;
import org.eclipse.swt.graphics.Image;
@@ -25,7 +24,6 @@ import org.eclipse.ui.IWindowListener;
import org.eclipse.ui.IWorkbenchWindow;
import org.eclipse.ui.PlatformUI;
import org.eclipse.ui.plugin.AbstractUIPlugin;
-import org.osgi.framework.Bundle;
import org.osgi.framework.BundleContext;
@@ -142,12 +140,9 @@ public class UIPlugin extends AbstractUIPlugin {
*/
@Override
protected void initializeImageRegistry(ImageRegistry registry) {
- Bundle bundle = Platform.getBundle("org.eclipse.ui"); //$NON-NLS-1$
- if (bundle != null) {
- URL url = bundle.getEntry(ImageConsts.IMAGE_DIR_ROOT + "full/" + ImageConsts.IMAGE_DIR_ELCL + "refresh_nav.gif"); //$NON-NLS-1$ //$NON-NLS-2$
- registry.put(ImageConsts.ACTION_Refresh_Enabled, ImageDescriptor.createFromURL(url));
- }
- URL url = UIPlugin.getDefault().getBundle().getEntry(ImageConsts.IMAGE_DIR_ROOT + ImageConsts.IMAGE_DIR_EVIEW + "prop_ps.gif"); //$NON-NLS-1$
+ URL url = UIPlugin.getDefault().getBundle().getEntry(ImageConsts.IMAGE_DIR_ROOT + ImageConsts.IMAGE_DIR_ELCL + "refresh_nav.png"); //$NON-NLS-1$
+ registry.put(ImageConsts.ACTION_Refresh_Enabled, ImageDescriptor.createFromURL(url));
+ url = UIPlugin.getDefault().getBundle().getEntry(ImageConsts.IMAGE_DIR_ROOT + ImageConsts.IMAGE_DIR_EVIEW + "prop_ps.gif"); //$NON-NLS-1$
registry.put(ImageConsts.EDITOR, ImageDescriptor.createFromURL(url));
url = UIPlugin.getDefault().getBundle().getEntry(ImageConsts.IMAGE_DIR_ROOT + ImageConsts.IMAGE_DIR_EVIEW + "targets_view.gif"); //$NON-NLS-1$
registry.put(ImageConsts.VIEW, ImageDescriptor.createFromURL(url));
diff --git a/target_explorer/plugins/org.eclipse.tcf.te.ui/icons/dlcl16/refresh_nav.png b/target_explorer/plugins/org.eclipse.tcf.te.ui/icons/dlcl16/refresh_nav.png
new file mode 100644
index 000000000..cb3b2f4f8
--- /dev/null
+++ b/target_explorer/plugins/org.eclipse.tcf.te.ui/icons/dlcl16/refresh_nav.png
Binary files differ
diff --git a/target_explorer/plugins/org.eclipse.tcf.te.ui/icons/elcl16/refresh_nav.png b/target_explorer/plugins/org.eclipse.tcf.te.ui/icons/elcl16/refresh_nav.png
new file mode 100644
index 000000000..1e1f9e03e
--- /dev/null
+++ b/target_explorer/plugins/org.eclipse.tcf.te.ui/icons/elcl16/refresh_nav.png
Binary files differ
diff --git a/target_explorer/plugins/org.eclipse.tcf.te.ui/plugin.xml b/target_explorer/plugins/org.eclipse.tcf.te.ui/plugin.xml
index 18c744161..b38244df6 100644
--- a/target_explorer/plugins/org.eclipse.tcf.te.ui/plugin.xml
+++ b/target_explorer/plugins/org.eclipse.tcf.te.ui/plugin.xml
@@ -142,8 +142,8 @@
</image>
<image
commandId="org.eclipse.tcf.te.ui.command.refresh"
- disabledIcon="platform:/plugin/org.eclipse.ui/icons/full/dlcl16/refresh_nav.gif"
- icon="platform:/plugin/org.eclipse.ui/icons/full/elcl16/refresh_nav.gif">
+ disabledIcon="icons/dlcl16/refresh_nav.png"
+ icon="icons/elcl16/refresh_nav.png">
</image>
</extension>

Back to the top