On 6 July 2010 21:13, David Green
<david.green@xxxxxxxxxxx> wrote:
Harshana,
I'm not sure what's holding you back on this -- I'd really like to help you be successful. Is there anything that I can help with to get you started?
Thanks a lot for offering your help. I really appreciate it.
Actually I have started the working on the project. I started looking in to details about SWT and JFace first and tried several SWT examples by myself and how it's event system works, etc. This was needed as I was not very much familiar with SWT or JFace.
Then I created a plugin with viewPart implementation and it contains view workbench extension point implementation. Then I tried several other examples such as events and StyledText Widgets in the view implementation and including event. I downloaded the "ReadMeTool" example for the SWT and tried several things with it. First I created a Layout (GridLayout) of column size 1 and placed a toolbar with several toolbar items and then placed it there. Then invoked the ReadMeEditor constructor and placed it below the toolbar. In this manner, toolbar can be placed on top of the editor but I'm not sure whether it is the correct way. As an example, we can contribute toolbar items to the existing eclipse toolbar when a specific editor is the active editor. I think it is the most appropriate way. I am planning on writting a blogpost regarding these experiments and will include the image of the things I have tried.
So I was thinking about implementing the simplified version of the actual WikiText toolbar (On top of the editor or On the eclipse Toolbar. Here I need your help to figure out which is the better way) with several items and integrating the commands and Listeners with it and then when user clicks on the toolbar items, the wiki markups are added to the editor using the caret position.
I need to clarify few things including the toolbar placement. So can we have a little chat on Tomorrow/Day after Tomorrow? Mey be after the weekly conference call?
Regards,
David