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

Bug 317093

Summary: Implementing a Tool bar for WikiText editor
Product: z_Archived Reporter: Harshana Eranga Martin <harshana05>
Component: MylynAssignee: Harshana Eranga Martin <harshana05>
Status: RESOLVED WONTFIX QA Contact:
Severity: enhancement    
Priority: P3 CC: greensopinion, harshana05
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Bug Depends on:    
Bug Blocks: 308404    
Attachments:
Description Flags
mylyn/context/zip
none
Attaching a sample Tool bar for a Simple Text Editor
none
mylyn/context/zip none

Description Harshana Eranga Martin CLA 2010-06-16 14:10:39 EDT
In WYSIWIG editors, they provide ability to create/edit the wiki pages by by using a toolbar such as creating/formatting a document in microsoft word using the ribbon. In using these wysiwig editors user does not need to know the wiki markups and their syntaxes. So anyone can easily use the editor. We are going to implement a such a toolbar for the Mylyn WikiText editor as well. Then the users can create/edit their wikipages easily. This enhancement request to track the progress of the work. This is a part of the GSoc 2010 program for Eclipse Foundation.
Comment 1 Harshana Eranga Martin CLA 2010-07-09 08:48:05 EDT
Created attachment 173854 [details]
mylyn/context/zip

Sample ToolBar Impleentation Context.
Comment 2 Harshana Eranga Martin CLA 2010-07-10 13:54:45 EDT
Created attachment 173943 [details]
Attaching a sample Tool bar for a Simple Text Editor

This contains a simple tool bar implementation for a standard Text editor implementation. This extends the TextEditor implementation and placed the editor on a FillLayout. On top of the editor, the page contains the toolbar with few items. No listeners or actions are integrated yet but can be done with simple effort. Necessary classes are there, Need only few more work. This is only for demonstration purposes.
Comment 3 Harshana Eranga Martin CLA 2010-07-10 13:54:54 EDT
Created attachment 173944 [details]
mylyn/context/zip
Comment 4 David Green CLA 2010-07-13 17:01:37 EDT
Harshana, thanks for the contribution.  Here are some pointers:

* develop your code as patches against /org.eclipse.mylyn.wikitext.sandbox.ui
* in your patches, if possible use @org.eclipse.mylyn.wikitext.ui.editor.WikiTextSourceEditor@ as the base class to your editor
Comment 5 Harshana Eranga Martin CLA 2010-07-14 15:22:42 EDT
Hi David, Thanks for the feedback and useful points. 

I will do the necessary changes quickly as possible to the implemented code to make them patch against /org.eclipse.mylyn.wikitext.sandbox.ui and will use the @org.eclipse.mylyn.wikitext.ui.editor.WikiTextSourceEditor as the best class for the editor.
Comment 6 David Green CLA 2013-08-02 12:42:38 EDT
Closed as part of backlog clean-up.  Please re-open if you'd like to see this revisited, perhaps with a contribution.