Karl Weber wrote:
Am Mittwoch, 18. Februar 2009 13:33 schrieb Juergen Schmidt:
Karl Weber wrote:
[...]
(1) I would add a main page, listing all examples and linking each
example to its page, where the example is discussed (see above). The main
page should be referenced from the main page of
Hello Frank,
With regards to getting the frame from the desktop I used the
xDesktop.getCurrentFrame() API. This returned null.
With regards to Q2, I do initNew() the model:
class oooTests
{
static void controller( XMultiComponentFactory xServiceManager,
XComponentContext xComponentContext,
Hi Daniel,
With regards to getting the frame from the desktop I used the
xDesktop.getCurrentFrame() API. This returned null.
getCurrentFrame is almost always a bad idea. It denotes the currently
active frame, and this is a term which cannot be reliably defined,
really, for instance because the
Hi Frank, Daniel,
On 02/19/09 16:18, Frank Schönheit - Sun Microsystems Germany wrote:
This returned: Did not sucessfully attach xModel_B to desktop controller
Meaning the xModel_B was not attached. Any reason why?
Hi Frank, Daniel,
It looks like the newsgroup has eaten my answer, so I am resending it.
On 02/19/09 16:18, Frank Schönheit - Sun Microsystems Germany wrote:
This returned: Did not sucessfully attach xModel_B to desktop controller
Meaning the xModel_B was not attached. Any reason why?
Hi Daniel,
I guess there is a theoretical API and a real api.
Well, as Mikhail said, the API definition allows for rejecting an
attempt to attach a new model.
As a secondary thought, I'd say that a VetoException or something like
this would have been a better API design, since it would allow
Hi Frank, Daniel,
On 02/19/09 18:15, Frank Schönheit - Sun Microsystems Germany wrote:
Is there a quick way to exchange or replace the contents of a Model with
that of another model?
As I understand the framework design, the intention was one document -
one model. Thus there is no quick way
Hi Mikhail, Frank,
Thank you again.
since it would allow returning more information (and thus
would have saved you the question, since you would have got a
message saying not allowed for this implementation).
As an extreemly minor point:
I got a return of false and not not allowed for this
Hi,
I got the Eclipse plugin for OOo integration from
http://api.openoffice.org/Projects/EclipseIntegration/dev-update/site.xml. It
does not work with OOo 3.0.1. Looking into the on-line repository, I noticed
that Cedric has added support for 3.x in December 2008. So what am I missing?
-Karl