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

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to