Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Column Diagram Editor
Column Diagram Editor [message #185214] Thu, 23 June 2005 14:30
Josh Reed is currently offline Josh ReedFriend
Messages: 38
Registered: July 2009
Member
I'm working on a GEF editor and I was looking for some advice from other
GEF developers out there. Here's the situation:

I'm trying to create an editor for a diagram. The diagram is fairly
simple, just a series of columns. The user will be able to change the
width and order of the columns. The model for this diagram will be
persisted on the client's machine.

The columns within the diagram will be populated with data from a
database. The database will return a bunch of data with no mention of
columns. It'll be up to my EditParts to route the various data types to
the appropriate column.

Has anyone done anything similar? I was thinking of adding an "accepts"
key list on each of the column. So then the column can declare 0 or
more data types that it will accept. Then the EditParts for the data
types will just have to walk the list of visible columns and add the
data type figures to the appropriate column based on the accepts key.
Does this seem like a reasonable approach or am I missing something simple?

Thanks,
Josh Reed
Previous Topic:Executing a non-edit policy created command
Next Topic:SWT components in the palette
Goto Forum:
  


Current Time: Thu Dec 12 16:24:30 GMT 2024

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

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

Back to the top