the screenshots look nice. i'll take a look at the code as well.
what was your rationale for rolling your own (not re-using egs. KTable
or SWTDatePicker etc.)? i'm not criticizing your decision, just want to
know your thinking.
regards,
al
Jeremy Dowdall wrote:
Al,
As for other strategies, it may be worth looking at my code at
sourceforge.net/projects/calypsorcp.
1. In CVS is org.aspencloud.calypso.calendar: obviously, a Calendar,
which is essentially a GEF grid.
2. In the downloads (and in CVS) is org.aspencloud.widgets - my take
at an emulated TableTree which focuses on being a drop in replacement
for SWT, with the added functionality of accepting custom cells that can
contain anything you want to put on an SWT Composite (such as a
GEF/Draw2d diagram). (org.aspencloud.viewers contains a JFace style
viewer for the TableTree).
I suppose it all depends what you want your table to do...
cheers!
Al Major wrote:
i'm trying to put a simple gef/draw2d diagram (view only, no edit)
into a table cell. i'm guessing there's no way to do this using
SWT/JFace tables (short of creating an image from the diagram). is
that right?
if so, what are other strategies that have been used. using an
emulated table like KTable? building a table using GEF/draw2d only
(with some kind of grid layout)?
thx for any suggestions.
regards,
al