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