引用其它插件的图片
来源:互联网 发布:全国小龙虾消费数据 编辑:程序博客网 时间:2024/04/30 19:06
有时候需要引用其它插件的图标,比如,有一个插件叫: net.foreworld.rss2,它的 icons 目录下有 file.gif 图,如果想引用此图标,在另一个插件的 plugin.xml 中,修改 xml 代码:
1.通过扩展点引用
<editor
...
icon="platform:/plugin/net.foreworld.rss2/icons/file.gif"
... />
...
icon="platform:/plugin/net.foreworld.rss2/icons/file.gif"
... />
//
2.通过代码引用:
public final static URL NODEICONURL = Plugin.getDefault().getBundle().getEntry("icons/node.jpg");
PlatformUI.getWorkbench().getSharedImages().getImage(ISharedImages.IMG_OBJ_ELEMENT);
PlatformUI.getWorkbench().getSharedImages().getImage(ISharedImages.IMG_OBJ_ELEMENT);
- 引用其它插件的图片
- 引用其它的Makefile(1)
- 引用其它的Makefile(2)
- 引用其它的Makefile(3)
- Makefile引用其它的Makefile
- 三、引用其它的Makefile
- 引用其它的Makefile 的说明
- tc中引用其它脚本的方法
- 怎么引用其它AP的SharedPreference
- 用ASP获得其它网站的图片
- 引用其它布局
- 引用单元格的图片
- freemaker 图片的引用
- 圆形图片的引用
- 如何在web.xml中引用其它的xml文件
- 在Excel中如何引用其它位置的数据
- Spring配置中的bean引用其它bean的属性值
- 如何在Eclipse的项目中引用其它项目
- 如何在PS和FLASH里做渐变颜色填充的字体
- 圣经语录
- 《锦衣卫》暗藏职场上位必杀技
- Meego平台技术架构
- org.eclipse.swt.SWTException: Invalid thread access
- 引用其它插件的图片
- 一msdn地址 http://www3.upweb.net/index274-img/showlog.php?id=6406
- 10-05-01
- 软件测试概述
- linux_shell笔记(八)
- 大国际时代重新开启
- 对枚举、接口、结构的理解
- 人生需要放下的八样东西
- PermGen space error