File tree Expand file tree Collapse file tree 2 files changed +2
-28
lines changed
ui/org.eclipse.swt.tools.spies/src/org/eclipse/swt/tools Expand file tree Collapse file tree 2 files changed +2
-28
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1616import java .io .*;
1717import java .lang .reflect .*;
1818
19- import org .eclipse .core .runtime .*;
2019import org .eclipse .jface .action .*;
2120import org .eclipse .jface .resource .*;
2221import org .eclipse .swt .*;
2322import org .eclipse .swt .custom .*;
24- import org .eclipse .swt .tools .internal .*;
2523import org .eclipse .swt .widgets .*;
2624import org .eclipse .ui .*;
2725import org .eclipse .ui .part .*;
@@ -36,8 +34,8 @@ public class SpyView extends ViewPart {
3634
3735 static final int TIMEOUT = 100 ;
3836
39- private static final ImageDescriptor SPY_IMAGE_DESCRIPTOR = ImageDescriptor .createFromURL (
40- FileLocator . find ( Platform . getBundle ( SpiesConstants . PLUGIN_ID ), new Path ( " icons/spy.png"), null ) );
37+ private static final ImageDescriptor SPY_IMAGE_DESCRIPTOR = ImageDescriptor .createFromFile ( SpyView . class ,
38+ "/ icons/spy.png" );
4139 /**
4240 * This is a callback that will allow us
4341 * to create the viewer and initialize it.
You can’t perform that action at this time.
0 commit comments