Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Sash grid advice
Sash grid advice [message #183369] Thu, 02 June 2005 00:03 Go to next message
Eclipse UserFriend
Originally posted by: eclipse.officeextend.com

I'm busy building a screen designer using GEF. I have created Figure
representations of the various screen widgets which can be dropped on a
screen surface. Some have been slam-dunks (such as Labels) while others
have been more challenging (tab sets).

I'm now up against another challenging one. This will be a representation
of a "table" or grid. I need column headers and a way to resize the
columns, probably by dragging the column edge (think Excel). I have
studied Pratik's Sash implementation in the Palette but I'm hoping for
something a bit simpler somehow (or already built, of course).

I'm trying to get a handle on how to get started with this Figure.

Sage advice (or other) appreciated.
Re: Sash grid advice [message #183377 is a reply to message #183369] Thu, 02 June 2005 00:46 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: none.us.ibm.com

Craig wrote:
> I'm busy building a screen designer using GEF. I have created Figure
> representations of the various screen widgets which can be dropped on a
> screen surface. Some have been slam-dunks (such as Labels) while others
> have been more challenging (tab sets).
>
> I'm now up against another challenging one. This will be a
> representation of a "table" or grid. I need column headers and a way to
> resize the columns, probably by dragging the column edge (think Excel).
> I have studied Pratik's Sash implementation in the Palette but I'm
> hoping for something a bit simpler somehow (or already built, of course).
>
> I'm trying to get a handle on how to get started with this Figure.
>
> Sage advice (or other) appreciated.
>

I believe someone implemented a GEF Table awhile ago which looked like
almost like an excel clone. I believe the code is here:

http://sourceforge.net/projects/eclipsetoolkit2/

Not sure if this is what you have in mind :)

Cheers,

~ Chris
Re: Sash grid advice [message #183557 is a reply to message #183377] Fri, 03 June 2005 22:38 Go to previous message
Eclipse UserFriend
Originally posted by: eclipse.officeextend.com

Thanks! Looks like a good start. One (newbie) question, though. This
looks like it was designed to be a top-level viewer; e.g., it defines a
composite to house the header controls and then the table (it defines a
"TableViewer" subclassed from GraphicalViewerImpl). After that, it seems
to talk about draw2d-level stuff.

I'm looking for a GEF-level MVC to drop into a GEF environment.

Is my job to refactor this from a SWT-level viewer to a GEF component?
Previous Topic:Splitting text runs
Next Topic:Set size of GraphicalEditorWithPalette
Goto Forum:
  


Current Time: Tue Dec 10 15:06:06 GMT 2024

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

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

Back to the top