Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想将当前位于项目工作区中的新图标(具体在“icons/launch.png”中)添加到 Eclipse 项目中的按钮。标准代码是这样的:
action1.setImageDescriptor(PlatformUI.getWorkbench().getSharedImages(). getImageDescriptor(ISharedImages.IMG_OBJS_INFO_TSK));
这将添加IMG_OBJS_INFO_TSK到按钮。
IMG_OBJS_INFO_TSK
有谁知道如何向其中添加新图像?