|
Re: How to create Table in GEF ? [message #149020 is a reply to message #148853] |
Mon, 30 August 2004 17:00 |
Eclipse User |
|
|
|
Originally posted by: none.us.ibm.com
It must not be "just like" a JFace table, or you'd be using JFace. Are you
trying to combine it inside of a larger diagram?
"Michael Permana" <mpermana@hotmail.com> wrote in message
news:cgooe5$oor$1@eclipse.org...
> Hello,
>
> Has anyone tried to create a Table in GEF ? I want to implement a Table
just
> like a JFace Table viewer.
>
> How do you do this? What's the best way to do this?
>
> Thanks,
> Michael
>
>
|
|
|
|
Re: How to create Table in GEF ? [message #149097 is a reply to message #149020] |
Mon, 30 August 2004 22:50 |
Michael Permana Messages: 23 Registered: July 2009 |
Junior Member |
|
|
Yes, I'm trying to create a table editor inside a diagram.
What I have in mind is:
- create a TableModel which can contains TableCell. The TableCell has
Content which can be anything (Object).
- TableModel's getModelChildren() will return the list of TableCell's
content directly.
- The content will be mapped by the PartFactory to any kind of EditPart.
- create a TableFigure, this will draw the lines for the tables
- create a TableLayout, the TableLayout will layout the Figure for each cell
in each cell's position.
So far, I can render the table, and paint each cell with the Figure from the
the Content
Do you think I'm moving to the right direction?
Thanks,
Michael
"Randy Hudson" <none@us.ibm.com> wrote in message
news:cgvm91$p8l$1@eclipse.org...
> It must not be "just like" a JFace table, or you'd be using JFace. Are
you
> trying to combine it inside of a larger diagram?
>
> "Michael Permana" <mpermana@hotmail.com> wrote in message
> news:cgooe5$oor$1@eclipse.org...
> > Hello,
> >
> > Has anyone tried to create a Table in GEF ? I want to implement a Table
> just
> > like a JFace Table viewer.
> >
> > How do you do this? What's the best way to do this?
> >
> > Thanks,
> > Michael
> >
> >
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.03250 seconds