Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
View | Details | Raw Unified | Return to bug 64830 | Differences between
and this patch

Collapse All | Expand All

(-)Eclipse UI/org/eclipse/ui/dialogs/ElementTreeSelectionDialog.java (-5 / +2 lines)
Lines 70-77 Link Here
70
70
71
    private String fEmptyListMessage = WorkbenchMessages.ElementTreeSelectionDialog_nothing_available;
71
    private String fEmptyListMessage = WorkbenchMessages.ElementTreeSelectionDialog_nothing_available;
72
72
73
    private IStatus fCurrStatus = new Status(IStatus.OK, PlatformUI.PLUGIN_ID,
73
    private IStatus fCurrStatus = Status.OK_STATUS;
74
            IStatus.OK, "", null); //$NON-NLS-1$
75
74
76
    private List fFilters;
75
    private List fFilters;
77
76
Lines 200-208 Link Here
200
                fCurrStatus = fValidator.validate(getResult());
199
                fCurrStatus = fValidator.validate(getResult());
201
                updateStatus(fCurrStatus);
200
                updateStatus(fCurrStatus);
202
            } else {
201
            } else {
203
                fCurrStatus = new Status(IStatus.OK, PlatformUI.PLUGIN_ID,
202
                fCurrStatus = Status.OK_STATUS;
204
                        IStatus.OK, "", //$NON-NLS-1$
205
                        null);
206
            }
203
            }
207
        } else {
204
        } else {
208
            fCurrStatus = new Status(IStatus.ERROR, PlatformUI.PLUGIN_ID,
205
            fCurrStatus = new Status(IStatus.ERROR, PlatformUI.PLUGIN_ID,
(-)Eclipse UI/org/eclipse/ui/dialogs/CheckedTreeSelectionDialog.java (-5 / +2 lines)
Lines 61-68 Link Here
61
61
62
    private String fEmptyListMessage = WorkbenchMessages.CheckedTreeSelectionDialog_nothing_available; 
62
    private String fEmptyListMessage = WorkbenchMessages.CheckedTreeSelectionDialog_nothing_available; 
63
63
64
    private IStatus fCurrStatus = new Status(IStatus.OK, PlatformUI.PLUGIN_ID,
64
    private IStatus fCurrStatus = Status.OK_STATUS;
65
            0, "", null); //$NON-NLS-1$
66
65
67
    private List fFilters;
66
    private List fFilters;
68
67
Lines 219-227 Link Here
219
                fCurrStatus = fValidator.validate(fViewer.getCheckedElements());
218
                fCurrStatus = fValidator.validate(fViewer.getCheckedElements());
220
                updateStatus(fCurrStatus);
219
                updateStatus(fCurrStatus);
221
            } else if (!fCurrStatus.isOK()) {
220
            } else if (!fCurrStatus.isOK()) {
222
                fCurrStatus = new Status(IStatus.OK, PlatformUI.PLUGIN_ID,
221
                fCurrStatus = Status.OK_STATUS;
223
                        IStatus.OK, "", //$NON-NLS-1$
224
                        null);
225
            }
222
            }
226
        } else {
223
        } else {
227
            fCurrStatus = new Status(IStatus.ERROR, PlatformUI.PLUGIN_ID,
224
            fCurrStatus = new Status(IStatus.ERROR, PlatformUI.PLUGIN_ID,

Return to bug 64830