public TaskRefreshAction() { super("Refresh", Activator.getImageDescriptor("icons/refresh.gif")); }
private Image loadImage(String file) { ImageDescriptor descriptor = Activator.getImageDescriptor("icons/" + file); return descriptor.createImage(viewer.getControl().getDisplay()); }
public TaskFilterAction(String text, String image, boolean checked) { super(text, IAction.AS_CHECK_BOX); setImageDescriptor(Activator.getImageDescriptor("icons/" + image)); setChecked(checked); }