Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Creating a table
Creating a table [message #156423] Mon, 01 November 2004 14:04 Go to next message
Eclipse UserFriend
Originally posted by: miha_sarda.classys.net

Hello all,
I want to create a table figure. Can anyone tell which way is the best way
to begin with.
I think I need a layout manager that takes care of the rows and a layout
manager for each row that takes care of the columns.
Please help me in finding the best way of creating my table.
Thanks,
mihai
Re: Creating a table [message #156427 is a reply to message #156423] Mon, 01 November 2004 14:13 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: eostroukhov.hotmail.com

I went this way and its a troublesome one. Now I am creating yet another
table editing edit part and I chose this way - I created the layout that
accepts three types of constraints - row constraint, column constraint and
cell constraint.
Rows are added first and are layed out as the rows should be. The the
columns come and the cell. If you need to edit (i.e. resize) the column/row
it would be really helpful to have those as integral edit part (so you could
at least have handles attached to them).

"mihai sarda" <miha_sarda@classys.net> wrote in message
news:cm5fp7$f4k$1@eclipse.org...
> Hello all,
> I want to create a table figure. Can anyone tell which way is the best way
> to begin with.
> I think I need a layout manager that takes care of the rows and a layout
> manager for each row that takes care of the columns.
> Please help me in finding the best way of creating my table.
> Thanks,
> mihai
>
Re: Creating a table [message #156451 is a reply to message #156427] Mon, 01 November 2004 16:39 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: miha_sarda.classys.net

Thanks for your response,

I have another troubling problem. I have to create cells that span over
some coloumns and rows. Like this:
------------------------------------------------------------
|cell 1 | cell 2 | cell 3 | cell 4 |
------------------------------
| | cell 5 | cell 6| cell7 |cell 8| |
------------------------------------------------------------
Do you have an idea on how can I creat this, because I cannot find an
proper layout manager that could manage my table, bacause the first cell
figure has 2 parents: the first row and the second row. How can I make it
work?

(Well this things come from the way that html works with tables.)

Thanks for your time,
mihai

Eugene Ostroukhov wrote:

> I went this way and its a troublesome one. Now I am creating yet another
> table editing edit part and I chose this way - I created the layout that
> accepts three types of constraints - row constraint, column constraint and
> cell constraint.
> Rows are added first and are layed out as the rows should be. The the
> columns come and the cell. If you need to edit (i.e. resize) the column/row
> it would be really helpful to have those as integral edit part (so you could
> at least have handles attached to them).

> "mihai sarda" <miha_sarda@classys.net> wrote in message
> news:cm5fp7$f4k$1@eclipse.org...
> > Hello all,
> > I want to create a table figure. Can anyone tell which way is the best way
> > to begin with.
> > I think I need a layout manager that takes care of the rows and a layout
> > manager for each row that takes care of the columns.
> > Please help me in finding the best way of creating my table.
> > Thanks,
> > mihai
> >
Re: Creating a table [message #156541 is a reply to message #156451] Tue, 02 November 2004 07:08 Go to previous message
Eclipse UserFriend
Originally posted by: eostroukhov.hotmail.com

I know this problem :) I went this way - all the columns, rows and cells are
children of the table, that is - cells are not the childrn of the
rows/columns. So the special layout manager needs to be created.

"mihai sarda" <miha_sarda@classys.net> wrote in message
news:cm5osg$1hu$1@eclipse.org...
> Thanks for your response,
>
> I have another troubling problem. I have to create cells that span over
> some coloumns and rows. Like this:
> ------------------------------------------------------------
> |cell 1 | cell 2 | cell 3 | cell 4 |
> ------------------------------
> | | cell 5 | cell 6| cell7 |cell 8| |
> ------------------------------------------------------------
> Do you have an idea on how can I creat this, because I cannot find an
> proper layout manager that could manage my table, bacause the first cell
> figure has 2 parents: the first row and the second row. How can I make it
> work?
>
> (Well this things come from the way that html works with tables.)
>
> Thanks for your time,
> mihai
>
> Eugene Ostroukhov wrote:
>
> > I went this way and its a troublesome one. Now I am creating yet another
> > table editing edit part and I chose this way - I created the layout that
> > accepts three types of constraints - row constraint, column constraint
and
> > cell constraint.
> > Rows are added first and are layed out as the rows should be. The the
> > columns come and the cell. If you need to edit (i.e. resize) the
column/row
> > it would be really helpful to have those as integral edit part (so you
could
> > at least have handles attached to them).
>
> > "mihai sarda" <miha_sarda@classys.net> wrote in message
> > news:cm5fp7$f4k$1@eclipse.org...
> > > Hello all,
> > > I want to create a table figure. Can anyone tell which way is the best
way
> > > to begin with.
> > > I think I need a layout manager that takes care of the rows and a
layout
> > > manager for each row that takes care of the columns.
> > > Please help me in finding the best way of creating my table.
> > > Thanks,
> > > mihai
> > >
>
>
Previous Topic:Adding marquee selection to SelectionTool
Next Topic:REQ_OPEN for the TreeView
Goto Forum:
  


Current Time: Thu Jul 25 16:18:32 GMT 2024

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

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

Back to the top