Skip to content

Commit

Permalink
[abapGit][objLog]Replace some hardcoded images with ISharedImages (#211)
Browse files Browse the repository at this point in the history
  • Loading branch information
abinbaby-sap authored Aug 25, 2021
1 parent 3ff1368 commit 4d16da6
Showing 1 changed file with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -105,13 +105,11 @@ public AbapGitDialogObjLog(Shell parentShell, List<IAbapObject> pullObjects, IRe
this.abapGitObjLogService = AbapGitUIServiceFactory.createAbapGitObjLogService();

//Icons
this.warningImage = AbstractUIPlugin.imageDescriptorFromPlugin("org.eclipse.jdt.ui", "icons/full/obj16/warning_obj.png") //$NON-NLS-1$//$NON-NLS-2$
.createImage();
this.errorImage = AbstractUIPlugin.imageDescriptorFromPlugin("org.eclipse.jdt.ui", "icons/full/obj16/error_obj.png") //$NON-NLS-1$//$NON-NLS-2$
.createImage();
this.warningImage = PlatformUI.getWorkbench().getSharedImages().getImage(ISharedImages.IMG_OBJS_WARN_TSK);
this.errorImage = PlatformUI.getWorkbench().getSharedImages().getImage(ISharedImages.IMG_OBJS_ERROR_TSK);
this.successImage = AbstractUIPlugin.imageDescriptorFromPlugin("org.eclipse.ui", "icons/full/obj16/activity.png") //$NON-NLS-1$//$NON-NLS-2$
.createImage();
this.infoImage = AbstractUIPlugin.imageDescriptorFromPlugin("org.eclipse.ui", "icons/full/obj16/info_tsk.png").createImage(); //$NON-NLS-1$ //$NON-NLS-2$
this.infoImage = PlatformUI.getWorkbench().getSharedImages().getImage(ISharedImages.IMG_OBJS_INFO_TSK);
}

@Override
Expand Down

0 comments on commit 4d16da6

Please sign in to comment.