Education ClassRoom/Previous Logs/framework part1
[11:28] <ericb2> mba_: why not present the begining today. Say a 30 min max presentation ?
[11:29] <mba_> I can do that. I will give a brief overview of what I could talk about.
[11:29] <ericb2> mba_: thank you :)
[11:29] <mba_> So, let's start.
[11:29] <FelixZ> mba_: Thanks
[11:30] <mba_> First of all, the Framework module is very privileged - because it is largely documented in our DevGuide.
[11:31] <mba_> If you look on the coarse diagram in our wiki ( http://wiki.services.openoffice.org/wiki/Framework ) you can see what the Framework basically is meant to do
[11:32] <mba_> It cares for the general managing of documents, task windows, the (high level) file handling, and more.
[11:32] <mba_> An important part of the Framework also is Embedding. But as I consider this to be "advanced", I will not go into details there.
[11:33] <mba_> If you are a macro developer or anybody else using OOo API you ususally will start with Framework API calls before you can do anything further.
[11:33] <mba_> Quite often this is the XDesktop::loadComponentFromURL method
[11:35] <mba_> This method belongs to an interface css.frame.XDesktop that not surprisingly is implemented by a service css.frame.Desktop, but also by all "frame" services (currently there is only one css.frame.Frame service but we always thought there could be more in the future).
[11:36] <mba_> The Desktop object does a lot more that I don't want to touch now, for a first reference I recommend to study the DevGuide ( http://wiki.services.openoffice.org/wiki/Documentation/DevGuide/OfficeDev/Using_the_Desktop).
[11:38] * mod_ (n=mod@dslb-088-078-196-091.pools.arcor-ip.net) has joined #education.openoffice.org
[11:38] <mba_> loadComponentFromURL is expected to return a Component. The only interface that is mandatory for a compoent is the css.lang.XComponent interface that allows to control the components' life time.
[11:39] <mba_> BTW: I typed too fast - of course loadComponentFromURL belongs to css.frame.XComponentLoader.
[11:40] <mba_> What are these "components" in reality?
[11:40] <mba_> Or more exactly: what kinds of components can be loaded that way, usually into a frame?
[11:41] <mba_> Our idea was that these component could be "documents" (models) on the one extreme or simply windows on the other.
[11:42] <mba_> There is a third option that a simple view/controller pair without any model could be loaded into a frame and so the returned component might be a "Controller" object also.