Skip to content

Commit f42a05f

Browse files
committed
Add Missing icons
1 parent 364d6d5 commit f42a05f

File tree

5 files changed

+244
-3
lines changed

5 files changed

+244
-3
lines changed
Lines changed: 113 additions & 0 deletions
Loading
Lines changed: 119 additions & 0 deletions
Loading

debug/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/DebugPluginImages.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*******************************************************************************
2-
* Copyright (c) 2000, 2025 IBM Corporation and others.
2+
* Copyright (c) 2000, 2026 IBM Corporation and others.
33
*
44
* This program and the accompanying materials
55
* are made available under the terms of the Eclipse Public License 2.0
@@ -207,6 +207,8 @@ private static void declareImages() {
207207
declareRegistryImage(IInternalDebugUIConstants.IMG_OBJS_LAUNCH_GROUP, OBJECT + "lgroup_obj.svg"); //$NON-NLS-1$
208208
declareRegistryImage(IInternalDebugUIConstants.IMG_OBJS_CHECK, OBJECT + "check.svg"); //$NON-NLS-1$
209209
declareRegistryImage(IInternalDebugUIConstants.IMG_OBJS_UNCHECK, OBJECT + "uncheck.svg"); //$NON-NLS-1$
210+
declareRegistryImage(IInternalDebugUIConstants.IMG_OBJS_ADD_TO_FAV, OBJECT + "add_to_fav.svg"); //$NON-NLS-1$
211+
declareRegistryImage(IInternalDebugUIConstants.IMG_OBJS_RMVE_FRM_FAV, OBJECT + "remove_from_fav.svg"); //$NON-NLS-1$
210212

211213
// tabs
212214
declareRegistryImage(IInternalDebugUIConstants.IMG_OBJS_COMMON_TAB, OBJECT + "common_tab.svg"); //$NON-NLS-1$

debug/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/IInternalDebugUIConstants.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*******************************************************************************
2-
* Copyright (c) 2000, 2025 IBM Corporation and others.
2+
* Copyright (c) 2000, 2026 IBM Corporation and others.
33
*
44
* This program and the accompanying materials
55
* are made available under the terms of the Eclipse Public License 2.0
@@ -134,6 +134,8 @@ public interface IInternalDebugUIConstants {
134134
String IMG_OBJS_CHECK = "IMG_OBJS_CHECK"; //$NON-NLS-1$
135135
String IMG_OBJS_UNCHECK = "IMG_OBJS_UNCHECK"; //$NON-NLS-1$
136136
String IMG_OBJS_PROTO_TAB = "IMG_OBJS_PROTO_TAB"; //$NON-NLS-1$
137+
String IMG_OBJS_ADD_TO_FAV = "IMG_OBJS_ADD_TO_FAV"; //$NON-NLS-1$
138+
String IMG_OBJS_RMVE_FRM_FAV = "IMG_OBJS_RMVE_FRM_FAV"; //$NON-NLS-1$
137139

138140
// wizard images
139141
String IMG_WIZBAN_IMPORT_BREAKPOINTS = "IMG_WIZBAN_IMPORT_BREAKPOINTS"; //$NON-NLS-1$

debug/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/AddToFavoritesAction.java

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*******************************************************************************
2-
* Copyright (c) 2000, 2025 IBM Corporation and others.
2+
* Copyright (c) 2000, 2026 IBM Corporation and others.
33
*
44
* This program and the accompanying materials
55
* are made available under the terms of the Eclipse Public License 2.0
@@ -29,6 +29,7 @@
2929
import org.eclipse.debug.internal.core.IInternalDebugCoreConstants;
3030
import org.eclipse.debug.internal.ui.DebugUIPlugin;
3131
import org.eclipse.debug.internal.ui.IDebugHelpContextIds;
32+
import org.eclipse.debug.internal.ui.IInternalDebugUIConstants;
3233
import org.eclipse.debug.ui.DebugUITools;
3334
import org.eclipse.debug.ui.IDebugUIConstants;
3435
import org.eclipse.debug.ui.ILaunchGroup;
@@ -95,10 +96,14 @@ protected boolean updateSelection(IStructuredSelection selection) {
9596
if (favoriteGroups.contains(group.getIdentifier())) {
9697
setText(MessageFormat.format(ActionMessages.RemoveFromFavoritesAction,
9798
fMode.substring(0, 1).toUpperCase() + fMode.substring(1)));
99+
setImageDescriptor(
100+
DebugUITools.getImageDescriptor(IInternalDebugUIConstants.IMG_OBJS_RMVE_FRM_FAV));
98101
} else {
99102
setText(MessageFormat.format(ActionMessages.AddToFavoritesAction_1,
100103
DebugUIPlugin.removeAccelerators(
101104
fMode.substring(0, 1).toUpperCase() + fMode.substring(1))));
105+
setImageDescriptor(
106+
DebugUITools.getImageDescriptor(IInternalDebugUIConstants.IMG_OBJS_ADD_TO_FAV));
102107
}
103108
} catch (CoreException e) {
104109
DebugUIPlugin.log(e);

0 commit comments

Comments
 (0)