@@ -68,12 +68,8 @@ public class ProgressInfoItem extends Composite {
68
68
69
69
static String STOP_IMAGE_KEY = "org.eclipse.ui.internal.progress.PROGRESS_STOP" ; //$NON-NLS-1$
70
70
71
- static String DISABLED_STOP_IMAGE_KEY = "org.eclipse.ui.internal.progress.DISABLED_PROGRESS_STOP" ; //$NON-NLS-1$
72
-
73
71
static String CLEAR_FINISHED_JOB_KEY = "org.eclipse.ui.internal.progress.CLEAR_FINISHED_JOB" ; //$NON-NLS-1$
74
72
75
- static String DISABLED_CLEAR_FINISHED_JOB_KEY = "org.eclipse.ui.internal.progress.DISABLED_CLEAR_FINISHED_JOB" ; //$NON-NLS-1$
76
-
77
73
static String DEFAULT_JOB_KEY = "org.eclipse.ui.internal.progress.PROGRESS_DEFAULT" ; //$NON-NLS-1$
78
74
79
75
static String DARK_COLOR_KEY = "org.eclipse.ui.internal.progress.PROGRESS_DARK_COLOR" ; //$NON-NLS-1$
@@ -138,14 +134,10 @@ interface IndexListener {
138
134
static {
139
135
ImageTools .getInstance ().putIntoRegistry (STOP_IMAGE_KEY ,
140
136
"elcl16/progress_stop.svg" );//$NON-NLS-1$
141
- ImageTools .getInstance ().putIntoRegistry (DISABLED_STOP_IMAGE_KEY ,
142
- "dlcl16/progress_stop.png" );//$NON-NLS-1$
143
137
ImageTools .getInstance ().putIntoRegistry (DEFAULT_JOB_KEY ,
144
138
"progress/progress_task.svg" ); //$NON-NLS-1$
145
139
ImageTools .getInstance ().putIntoRegistry (CLEAR_FINISHED_JOB_KEY ,
146
140
"elcl16/progress_rem.svg" ); //$NON-NLS-1$
147
- ImageTools .getInstance ().putIntoRegistry (
148
- DISABLED_CLEAR_FINISHED_JOB_KEY , "dlcl16/progress_rem.png" ); //$NON-NLS-1$
149
141
150
142
// Mac has different Gamma value
151
143
int shift = Util .isMac () ? -25 : -10 ;
@@ -645,15 +637,10 @@ private void updateToolBarValues() {
645
637
if (isCompleted ()) {
646
638
actionButton .setImage (JFaceResources
647
639
.getImage (CLEAR_FINISHED_JOB_KEY ));
648
- actionButton .setDisabledImage (JFaceResources
649
- .getImage (DISABLED_CLEAR_FINISHED_JOB_KEY ));
650
640
actionButton
651
641
.setToolTipText (ProgressMessages .NewProgressView_ClearJobToolTip );
652
642
} else {
653
643
actionButton .setImage (JFaceResources .getImage (STOP_IMAGE_KEY ));
654
- actionButton .setDisabledImage (JFaceResources
655
- .getImage (DISABLED_STOP_IMAGE_KEY ));
656
-
657
644
}
658
645
JobInfo [] infos = getJobInfos ();
659
646
0 commit comments