Skip to main content



      Home
Home » Eclipse Projects » GEF » Is GEF right for this task
Is GEF right for this task [message #74014] Tue, 01 April 2003 13:32 Go to next message
Eclipse UserFriend
Originally posted by: jake.jakethompson.com

Hi All,
I have a thread in eclipse.tools asking if eclipse is right for my task, I
am expanding that to see if GEF would be right for the graphical part if it.

Imagine a grid of very small boxes, each big enough to hold a singel symbol
the size of a normal charachter. The grid could easily be >1000x>1000.
Each location can hold either blank space or a single colored charachter.
Point in click, select the character and click a location and it paints it
in. Simple enough?

Finally, I would need to print this possibly scaling it to fit a page,
multiple pages, etc.

So I guess the question is, is there something in GEF that will make this
faster/easier than just implimenting it myself with normal SWT components?

Thanks,
Jake T.
Re: Is GEF right for this task [message #74084 is a reply to message #74014] Wed, 02 April 2003 03:36 Go to previous messageGo to next message
Eclipse UserFriend
Hi Jake,

I understand now what you are going to do.

I think plain SWT with a gridlayout in a composite may be best suited.
put the widgets in an array, so you can reach them fine from your code.

Frank
Re: Is GEF right for this task [message #74102 is a reply to message #74084] Wed, 02 April 2003 07:33 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jake.jakethompson.com

Thank's Frank,
That's what I have been thinking, we'll see how it goes.

Jake

"Frank Radermacher" <isag.srl@libero.it> wrote in message
news:b6e71b$7bi$1@rogue.oti.com...
> Hi Jake,
>
> I understand now what you are going to do.
>
> I think plain SWT with a gridlayout in a composite may be best suited.
> put the widgets in an array, so you can reach them fine from your code.
>
> Frank
>
Re: Is GEF right for this task [message #74137 is a reply to message #74084] Wed, 02 April 2003 09:55 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: none.us.ibm.com

1 million widgets in a gridlayout might have performance problems.

"Frank Radermacher" <isag.srl@libero.it> wrote in message
news:b6e71b$7bi$1@rogue.oti.com...
> Hi Jake,
>
> I understand now what you are going to do.
>
> I think plain SWT with a gridlayout in a composite may be best suited.
> put the widgets in an array, so you can reach them fine from your code.
>
> Frank
>
Re: Is GEF right for this task [message #74155 is a reply to message #74014] Wed, 02 April 2003 09:57 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: none.us.ibm.com

"Jake Thompson" <jake@jakethompson.com> wrote in message
news:b6clnq$42a$1@rogue.oti.com...
> Hi All,
> I have a thread in eclipse.tools asking if eclipse is right for my task, I
> am expanding that to see if GEF would be right for the graphical part if
it.
>
> Imagine a grid of very small boxes, each big enough to hold a singel
symbol
> the size of a normal charachter. The grid could easily be >1000x>1000.
> Each location can hold either blank space or a single colored charachter.
> Point in click, select the character and click a location and it paints it
> in. Simple enough?
>
> Finally, I would need to print this possibly scaling it to fit a page,
> multiple pages, etc.
>
> So I guess the question is, is there something in GEF that will make this
> faster/easier than just implimenting it myself with normal SWT components?

draw2d has double buffered painting and zoom support. Other than that, I
would suggest that you paint the grid yourself due to the number of cells.
You could implement your grid as some type of figure, and put it in a figure
canvas.

> Thanks,
> Jake T.
>
>
Re: Is GEF right for this task [message #74191 is a reply to message #74155] Wed, 02 April 2003 12:58 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jake.jakethompson.com

Thanks,
I'm kind of worried too, I can't really think of a better way, at least for
now.... I am a J2EE developer and almost never deal with GUIs. So, this
will be a heck of a learning experience.

Jake

"Randy Hudson" <none@us.ibm.com> wrote in message
news:b6etfc$t33$1@rogue.oti.com...
>
> "Jake Thompson" <jake@jakethompson.com> wrote in message
> news:b6clnq$42a$1@rogue.oti.com...
> > Hi All,
> > I have a thread in eclipse.tools asking if eclipse is right for my task,
I
> > am expanding that to see if GEF would be right for the graphical part if
> it.
> >
> > Imagine a grid of very small boxes, each big enough to hold a singel
> symbol
> > the size of a normal charachter. The grid could easily be >1000x>1000.
> > Each location can hold either blank space or a single colored
charachter.
> > Point in click, select the character and click a location and it paints
it
> > in. Simple enough?
> >
> > Finally, I would need to print this possibly scaling it to fit a page,
> > multiple pages, etc.
> >
> > So I guess the question is, is there something in GEF that will make
this
> > faster/easier than just implimenting it myself with normal SWT
components?
>
> draw2d has double buffered painting and zoom support. Other than that, I
> would suggest that you paint the grid yourself due to the number of cells.
> You could implement your grid as some type of figure, and put it in a
figure
> canvas.
>
> > Thanks,
> > Jake T.
> >
> >
>
>
Re: Is GEF right for this task [message #74444 is a reply to message #74137] Thu, 03 April 2003 12:42 Go to previous message
Eclipse UserFriend
Randy Hudson wrote:
> 1 million widgets in a gridlayout might have performance problems.
>
> "Frank Radermacher" <isag.srl@libero.it> wrote in message
> news:b6e71b$7bi$1@rogue.oti.com...
>
>>Hi Jake,
>>
>>I understand now what you are going to do.
>>
>>I think plain SWT with a gridlayout in a composite may be best suited.
>>put the widgets in an array, so you can reach them fine from your code.
>>
>>Frank
>>
>
>
>
theoretically yes. But you won't find a monitor that displays them all.
So you could quite easyly have some mapper in between from model to display.

Frank
Previous Topic:Commands
Next Topic:Getting started with GEF?
Goto Forum:
  


Current Time: Thu Jul 24 11:15:20 EDT 2025

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

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

Back to the top