Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 356538 - Description field in project template page needs to support bullets and bold
Summary: Description field in project template page needs to support bullets and bold
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: EDT (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Will Smythe CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-01 22:27 EDT by Will Smythe CLA
Modified: 2017-02-23 14:17 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Will Smythe CLA 2011-09-01 22:27:56 EDT
Like the PDE New Plug-in wizard, the description field for EGL project template page needs to support bullets and bolded text. This will help improve the readability/understandability of the template description. For example, the description for the Basic template may be:

==========

Creates a basic project for developing EGL programs, services, and libraries. The project can be configured to generate to multiple target languages.

Typical usages:

* Batch (command line) programs
* Common libraries and records
* Web services
* Data access services and libraries
* Basic handlers

==========

In this example, "typical usages" may be bolded and the list items will need bullets instead of asterisks.

This is important since it's one of the first things new users will see.
Comment 1 Will Smythe CLA 2011-09-01 22:30:13 EDT
The descriptions for PDE plug-in templates are stored in a standard properties file:

pluginContent.view.name = Plug-in with a view
pluginContent.view.description=\
<p>This wizard creates standard plug-in directory structure and \
adds the following:</p>\
<li><b>Sample view</b>. %template.view.desc%</li>\
<p><b>Extensions Used</b></p>\
<li>org.eclipse.ui.views</li>\
<li>org.eclipse.ui.perspectiveExtensions</li>\
<li>org.eclipse.help.contexts</li>

Note the use of HTML tags. The "description" field on the page is not a Browser (as far as I can tell), so they must parse the text and handle certain tags (p, li, b at a minimum).

If a StyledText SWT widget is being used here, the following example may be useful: http://git.eclipse.org/c/platform/eclipse.platform.swt.git/tree/examples/org.eclipse.swt.snippets/src/org/eclipse/swt/snippets/Snippet222.java
Comment 2 Huang Ji Yong CLA 2011-09-14 23:00:21 EDT
Hi Will,
I think you have completed this work item.
Reassign to you. Please commit your changes.
Thanks.
Comment 3 Lisa Lasher CLA 2011-09-21 16:19:22 EDT
Rolling forward to I-15
Comment 4 Will Smythe CLA 2011-09-21 16:53:10 EDT
Fixed in 9/21 build.
Comment 5 Will Smythe CLA 2011-11-02 00:36:55 EDT
Looks good.