[daisy] Daisy Detachment - updates

tim_cranfield at goldenboat.net tim_cranfield at goldenboat.net
Sun Jul 2 21:35:28 CDT 2006


I committed quite a few changes to the detachment project:
https://svn.cocoondev.org/repos/daisy/contrib/gsoc2006/tim/

Unfortunately most of the commit message was lost when I tried 
to paste it to the command line, so here it is:
1)Moved daisy icon to DetachmentGUI directory and removed 
icons directory, also changing the way it is accessed in the 
code, as per discussion:
http://lists.cocoondev.org/pipermail/daisy/2006-June/004317.html
2)Added a ConnectionInfos class to allow connections to be 
persisted through serialization
3)Removed ConnectionPanel from frame and put it into a JDialog
4)Serialize ConnectionInfos on close of frame for re-use next 
time.
5)Removed getCurrentDocument() method from DetachmentManager 
as it was not used.
6)Created getXmlString() methods in DetachmentPart, 
DetachmentField and DetachmentLink and DetachmentLinks for use 
by XmlHandler for writing 'content.xml' file.
7)Moved Main method to new class 'Main'in DetachmentGUI and 
made DetachmentGui instantiate DetachmentManager as per 
discussion:
  http://lists.cocoondev.org/pipermail/daisy/2006-June/004307.html
8)Removed Swing usage from DetachmentManager package as per 
discussion:
http://lists.cocoondev.org/pipermail/daisy/2006-June/004307.html
9)Changed gui package name from detachmentGUI to 
detachment.gui as per discussion:
http://lists.cocoondev.org/pipermail/daisy/2006-June/004307.html


The next steps in the project will be:
1)Allowing add/edit/delete operations on detachment parts and 
fields.
2)Uploading back to the repository.
3)Make the detachment package strictly an API provider - 
remove any dependencies it has on the gui package. The gui is 
an implementation of the DetachmentView interface. At the 
moment the detachment package uses some of the methods of the 
DetachmentView interface to send or retrieve information. This 
is not consistent with the idea of the detachment package 
being just a service provider.

Design documents are here:
http://cocoondev.org/daisyscratchpad/g5/309.html





More information about the daisy mailing list