|
From: Creighton K. <cki...@ho...> - 2002-02-11 23:31:08
|
I have spent this weekend going over the code for Jedit and some other open source editors. By the way, most of the other editors that are written in java have Jedit as their core engine (Interesting???). It seems we are the very first to attempt an open source DHTML wysiwyg editor in java. I think we can borrow a lot of the architecture from Jedit as far as event bus, plug-ins and class-loading are concerned. Where we need to concentrate our efforts now is design. What can we use from jedit and what does not suit graphical editor. I spend a lot of time poring over code I have some very good ideas of what the architecture of the main components are going to have to be. The largest and most difficult is going to be the layout manager used in the design view. All of the other pieces can be written or borrowed from Jedit or others relatively easily. Jason, I want to talk some things over with you about the main design view element. I think I am going to email the creator of Jedit and see if he knows of anyone who has tried to use their architecture for a graphical editor. If anyone wants to understand where I am looking to take us next, spend some time looking at Jedit's code. Pay special attention to the way plug-ins are written and how they are actually implemented in Jedit (note: description of writing a plug-in is in Jedits user manual & you can check out the EditPlugin and EBPlugin code in the source tree. Also look at the EditBus source.) I think we should plan to implement the whole system as a bunch of plug-ins that add and remove messages from a bus. This will allow us to work separately on different sections with out having duplication of work. -- Javier I looked over the graphics and I think we are, for the beginning, going to have to use the System buttons (Mainly due to differences with mac, unix, and windows). However icons for the buttons look good and I will see if I can implement those into the test browser, okay. If you have a splash screen I'd like to see it. P.S. I also found an interesting embedded implementation of Rhino in a text editor called Jext. P.S.S. I have the editor working with file save and file load. I also got copy and past working. Creighton |