An add-on is what I had in mind. I guess I didn't state that
expilictity. I have been looking at the API/examples for the drawing
functions. My confuson has been creating the UI for the tool, but I'll
take a look at dialog-based options.
Thanks,
Matt
Subject:
Re: [graphics-dev] Introducing Google summer of code project: OrgChart
From:
Christian Lippka <[EMAIL PROTECTED]>
Date:
Mon, 18 Jul 2005 18:03:21 +0200
To:
[email protected]
To:
[email protected]
Hi Matthew,
If I read your spec correctly you like to implement a stand alone
OrgChart application. It is currently not impossible to implement
an OOo application with java but it would take you most of your
remaining time only to write that application. The next problem
would be that you need a drawing layer model and a drawing layer
view if you like to use OOo shapes in your application. Both don't
have a stand alone API representation yet.
A better solution would be to write the OrgChart as an add-on for
impress and draw. The next problem is that there is a very good
model API for shapes, but there is not yet much view and interaction
API.
Currently you can add a listener for shape selections and
changes like shape inserted, shape modified and shape removed
You currently can't create your own handles or intercept an
ongoing shape move. You can't draw overlays on the canvas, f.e.
to visualize snap areas.
My proposal for the given timeframe is to create a dialog based
wizard that lets the user choose a template for an OrgChart,
options like depth and others and then create a static OrgChart
using only existing shapes. Drawback is that this OrgChart later
is not as easy to modify by the user. But there are already working
examples for creating dialog based wizards with java and you don't
have to hack interactions in an environment that does not provide
a good API for it.
Regards,
Christian
--
Proud to be a card-carrying member of the ACLU, EFF, and FSF
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]