Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » How to create Table in GEF ?
How to create Table in GEF ? [message #148853] Sat, 28 August 2004 01:54 Go to next message
Michael Permana is currently offline Michael PermanaFriend
Messages: 23
Registered: July 2009
Junior Member
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 #149020 is a reply to message #148853] Mon, 30 August 2004 17:00 Go to previous messageGo to next message
Eclipse UserFriend
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 #149065 is a reply to message #148853] Mon, 30 August 2004 17:08 Go to previous messageGo to next message
Pratik Shah is currently offline Pratik ShahFriend
Messages: 1077
Registered: July 2009
Senior Member
You might find it helpful to search this newsgroup for this topic. There
have been several discussions about this.

"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 Go to previous message
Michael Permana is currently offline Michael PermanaFriend
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
> >
> >
>
>
Previous Topic:Paste action location
Next Topic:Right click and selection
Goto Forum:
  


Current Time: Sat Jan 18 08:41:03 GMT 2025

Powered by FUDForum. Page generated in 0.03250 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top