We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 228e108 + 478c79c commit 00a3825Copy full SHA for 00a3825
1 file changed
bndtools.core/src/org/bndtools/core/ui/wizards/shared/TemplateParamsWizardPage.java
@@ -97,7 +97,14 @@ void updateUI() {
97
String attrib = ad.getID();
98
if (!fixedAttribs.contains(attrib)) {
99
Label label = new Label(panel, SWT.NONE);
100
- String labelText = ad.getID();
+ // Use the ad.getName() for the labelText. If
101
+ // no valid name, then use the ad.getID();
102
+ String labelText = ad.getName();
103
+ if (labelText == null || "".equals(labelText.trim())) {
104
+ labelText = ad.getID();
105
+ } else {
106
+ labelText = labelText.trim();
107
+ }
108
if (requiredIds.contains(ad.getID())) {
109
label.setFont(JFaceResources.getFontRegistry()
110
.getBold(JFaceResources.DEFAULT_FONT));
0 commit comments