Skip to content

Commit 68f7345

Browse files
committed
Some Colors and Fonts entries already provide user facing descriptions
via ThemeElementCategory, while others do not. This change uses the existing descriptions to display in the description box and adds description for ones that doesn't have any entries to ensure the description area is not left empty and that available descriptions are consistently utilised. This aligns with the standard usage elsewhere in Eclipse preference pages. The main change pertaining to this has been merged in eclipse.platform.ui via eclipse-platform/eclipse.platform.ui#3666 and the remaining part is addressed via this change.
1 parent 69f2124 commit 68f7345

File tree

4 files changed

+15
-5
lines changed

4 files changed

+15
-5
lines changed

debug/org.eclipse.debug.ui/plugin.properties

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,8 @@ ActionDefinition.toggleStepFilters.description= Toggles enablement of debug step
213213
ActionDefinition.stepInto.name= Step Into
214214
ActionDefinition.stepInto.description= Step into
215215

216+
org.eclipse.debug.ui.presentation.description = Colors and fonts used for debug sessions, breakpoints and variables.
217+
216218
ActionDefinition.stepOver.name= Step Over
217219
ActionDefinition.stepOver.description= Step over
218220

debug/org.eclipse.debug.ui/plugin.xml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2995,9 +2995,12 @@ M4 = Platform-specific fourth key
29952995
perspectiveId="org.eclipse.debug.ui.DebugPerspective"/>
29962996
</extension>
29972997

2998-
<extension
2999-
point="org.eclipse.ui.themes">
3000-
<themeElementCategory label="%debugPresentation.label" id="org.eclipse.debug.ui.presentation"/>
2998+
<extension point="org.eclipse.ui.themes">
2999+
<themeElementCategory id="org.eclipse.debug.ui.presentation" label="%debugPresentation.label">
3000+
<description>
3001+
%org.eclipse.debug.ui.presentation.description
3002+
</description>
3003+
</themeElementCategory>
30013004
<fontDefinition
30023005
label="%DetailPaneFontDefinition.label"
30033006
defaultsTo="org.eclipse.jface.textfont"

team/bundles/org.eclipse.compare/plugin.properties

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
@@ -167,6 +167,8 @@ ComparePreferencePage.colorAndFontLink=See <a>''{0}''</a> preferences for text c
167167

168168
textCompareAppearance.label=Text Compare
169169

170+
org.eclipse.compare.contentmergeviewer.TextMergeViewer=Colors and fonts used in compare editors to indicate differences, conflicts, and changes.
171+
170172
compareIncomingColor.label= Incoming change color
171173
compareIncomingColor.description= The color used to indicate an incoming change in compare and merge tools.
172174
compareOutgoingColor.label= Outgoing change color

team/bundles/org.eclipse.compare/plugin.xml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<?eclipse version="3.0"?>
33
<!--
4-
Copyright (c) 2001, 2019 IBM Corporation and others.
4+
Copyright (c) 2001, 2026 IBM Corporation and others.
55
66
This program and the accompanying materials
77
are made available under the terms of the Eclipse Public License 2.0
@@ -30,6 +30,9 @@
3030
<themeElementCategory
3131
label="%textCompareAppearance.label"
3232
id="org.eclipse.compare.contentmergeviewer.TextMergeViewer">
33+
<description>
34+
%org.eclipse.compare.contentmergeviewer.TextMergeViewer
35+
</description>
3336
</themeElementCategory>
3437
<colorDefinition
3538
label="%compareIncomingColor.label"

0 commit comments

Comments
 (0)