Data Grid using GEF [message #141907] |
Wed, 07 July 2004 10:25 |
Eclipse User |
|
|
|
Originally posted by: justinaruja.isletsystems.com
Hello All,
I want to create a Custom Grid using GEF.
can anyone give me good reference?
Any help on this would be appreciated.
Justin
|
|
|
Re: Data Grid using GEF [message #142033 is a reply to message #141907] |
Wed, 07 July 2004 14:35 |
Eclipse User |
|
|
|
Originally posted by: brian.fernandes.codito.com
Hi Justin,
What do you mean by "Data Grid" ? Do you just want to display a grid in your
diagram ?
If so - have a look at the logic example for GEF 3 - it has a Grid whose
visibility you can toggle.
If you meant something else, please elaborate.
Brian.
"Justin" <justinaruja@isletsystems.com> wrote in message
news:ccgj2c$en6$1@eclipse.org...
> Hello All,
>
> I want to create a Custom Grid using GEF.
> can anyone give me good reference?
>
> Any help on this would be appreciated.
>
> Justin
>
>
|
|
|
Re: Data Grid using GEF [message #142132 is a reply to message #142033] |
Thu, 08 July 2004 06:54 |
Eclipse User |
|
|
|
Originally posted by: justinaruja.isletsystems.com
Hello Brian,
Actually the Grid I want to code needs following
1) Drag and drop data from other component
2) When draging over a Cell in Grid, the active cell must change color
3) Can draw a line over cells to show relation between them( draw line
across cells in a row)
Thanks,
Justin.
"Brian Fernandes" <brian.fernandes@codito.com> wrote in message
news:cch1ba$5m2$1@eclipse.org...
> Hi Justin,
>
> What do you mean by "Data Grid" ? Do you just want to display a grid in
your
> diagram ?
> If so - have a look at the logic example for GEF 3 - it has a Grid whose
> visibility you can toggle.
>
> If you meant something else, please elaborate.
>
> Brian.
> "Justin" <justinaruja@isletsystems.com> wrote in message
> news:ccgj2c$en6$1@eclipse.org...
> > Hello All,
> >
> > I want to create a Custom Grid using GEF.
> > can anyone give me good reference?
> >
> > Any help on this would be appreciated.
> >
> > Justin
> >
> >
>
>
|
|
|
Re: Data Grid using GEF [message #142179 is a reply to message #142132] |
Fri, 09 July 2004 08:53 |
Eclipse User |
|
|
|
Originally posted by: brian.fernandes.codito.com
Hi Justin,
What you need is probably a number of "cell" EditParts, arranged in a
TableLayout.
Unfortunately - GEF does not have a TableLayout yet - but someone has
written one. There are numerous posts on Grids, GridLayout and TableLayout
in this newsgroup. Search the newsgroup for them.
Once you have your cells EditParts, install a policy for the
SELECTIO_FEEDBACK_ROLE, should be prettysimple to highlight the cells when
targeted.
Your cells edit part will have to implement NodeEditPart so that you can
create connections between cells.
Please have a look at the logic example, you will find most of your
questions (now and in future) answered there (once you get the hang of it
;)
All the best,
Brian.
"Justin" <justinaruja@isletsystems.com> wrote in message
news:ccir27$1bv$1@eclipse.org...
> Hello Brian,
>
> Actually the Grid I want to code needs following
>
> 1) Drag and drop data from other component
>
> 2) When draging over a Cell in Grid, the active cell must change color
>
> 3) Can draw a line over cells to show relation between them( draw line
> across cells in a row)
>
> Thanks,
>
> Justin.
>
>
|
|
|
Re: Data Grid using GEF [message #142236 is a reply to message #142179] |
Fri, 09 July 2004 12:32 |
Eclipse User |
|
|
|
Originally posted by: justinaruja.isletsystems.com
Hello Brain,
Yes , It is a good reference
Thanks for the comment
Justin
"Brian Fernandes" <brian.fernandes@codito.com> wrote in message
news:cclm1f$te5$1@eclipse.org...
> Hi Justin,
>
> What you need is probably a number of "cell" EditParts, arranged in a
> TableLayout.
> Unfortunately - GEF does not have a TableLayout yet - but someone has
> written one. There are numerous posts on Grids, GridLayout and TableLayout
> in this newsgroup. Search the newsgroup for them.
>
> Once you have your cells EditParts, install a policy for the
> SELECTIO_FEEDBACK_ROLE, should be prettysimple to highlight the cells when
> targeted.
>
> Your cells edit part will have to implement NodeEditPart so that you can
> create connections between cells.
>
> Please have a look at the logic example, you will find most of your
> questions (now and in future) answered there (once you get the hang of it
> ;)
>
> All the best,
> Brian.
>
> "Justin" <justinaruja@isletsystems.com> wrote in message
> news:ccir27$1bv$1@eclipse.org...
> > Hello Brian,
> >
> > Actually the Grid I want to code needs following
> >
> > 1) Drag and drop data from other component
> >
> > 2) When draging over a Cell in Grid, the active cell must change
color
> >
> > 3) Can draw a line over cells to show relation between them( draw
line
> > across cells in a row)
> >
> > Thanks,
> >
> > Justin.
> >
> >
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.02554 seconds