Great work so far. :-) It's a long, hopefully coherent email. In the FileOpen service: how will register_file_handler() work if something else has already registered as a handler for that mime-type? Perhaps registering them all and presenting a dialog box asking the user which to use? A priority value might be handy for determining default handlers. In the Document interface: what's the point of get_editable()? Am I missing something? present_widget(): Seems like a good idea to let the plugin determine if the dialog should open. (gboolean open_dialog) The plugin author will be the one imagining how it's being presented to the user for each specific case, so why not give him/her the control? What about "void open_preferences_dialog()"? UIDataTarget: This interface seems like overkill. It seems intended to solve such a small, specific set of problems. It could be much more cleanly and easily handled by each specific interface/plugin. My two cents. - /Documents - Text documents collection (each child of this node implements the - TextDocument interface) TextDocuments? Not the Document interface? Will there be anything analogous to workspaces or "solutions" consisting of multiple projects? Will multiple projects be able to be opened simultaneously? On Thu, 2004-01-22 at 16:16, Gustavo Giráldez wrote: > Hi guys, > > Here's a new version of my API proposal for Scaffold with changes due to > the feedback I got from you. Attached is the html version. You can get > the Docbook file from > http://webs.uolsinectis.com.ar/gustavog1/scaffold/. > > There are still a bunch of missing/incorrect parts. Most notably, the > ideas from John's last mail[1]: the layout switch, highlighting and the > markers interface. Those are particularly hard and I haven't had much > time to think about them. > > I think I'll start throwing out some code, so I'd like to get the basic > interfaces first (ValueContainer, EventBus, ShellUI and UIActionTarget). > > Also, I want to have a document describing the expected implementation > and behavior of the fundamental plugins (namely project manager, > document manager and session). I'll write a draft document in the next > few days (unless somebody else wants to do it ;-) > > Comments, ideas, flames? :-) All feedback appreciated. > > Regards, > Gustavo > > > [1] http://mail.gnome.org/archives/gnome-devtools/2004-January/msg00031.html -- Samuel Kaufman <skaufman elite net>
Attachment:
signature.asc
Description: This is a digitally signed message part