Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 356538

Summary: Description field in project template page needs to support bullets and bold
Product: z_Archived Reporter: Will Smythe <smythew>
Component: EDTAssignee: Will Smythe <smythew>
Status: CLOSED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: chenzhh
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

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.