Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » CellModifier and CellEditor
CellModifier and CellEditor [message #423321] Sat, 27 September 2008 14:35 Go to next message
Charlie Kelly is currently offline Charlie KellyFriend
Messages: 276
Registered: July 2009
Senior Member
Hi,

I've seen the examples where editing is performed in property view.

Can EMF generate code for table views with associated CellModifier and
CellEditor$ ?

Thanks

Charlie
Re: CellModifier and CellEditor [message #423325 is a reply to message #423321] Sat, 27 September 2008 15:15 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33140
Registered: July 2009
Senior Member
This is a multi-part message in MIME format.
--------------070502080207000608040107
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Charlie,

You might find PropertyColumnLabelProvider and PropertyColumnEditSupport
very useful because they let you reuse the same cell editor support as
what's working in the properties view, e.g.,

column.setLabelProvider(new
PropertyColumnLabelProvider(propertySourceProvider,
ItemPropertyDescriptor.getDefaultId(MyPackage.Literals.TYPE_ _TYPE_NAME)))


Charlie Kelly wrote:
> Hi,
>
> I've seen the examples where editing is performed in property view.
>
> Can EMF generate code for table views with associated CellModifier and
> CellEditor$ ?
>
> Thanks
>
> Charlie

--------------070502080207000608040107
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Charlie,<br>
<br>
You might find PropertyColumnLabelProvider and
PropertyColumnEditSupport very useful because they let you reuse the
same cell editor support as what's working in the properties view, e.g.,<br>
<blockquote><font><font color="#000000">column.setLabelProvider(new
PropertyColumnLabelProvider(propertySourceProvider,
ItemPropertyDescriptor.getDefaultId(MyPackage.Literals.TYPE_ _TYPE_NAME))) </font></font><br>
</blockquote>
<br>
Charlie Kelly wrote:
<blockquote cite="mid:gblgbm$ifh$1@build.eclipse.org" type="cite">Hi,
<br>
<br>
I've seen the examples where editing is performed in property view.
<br>
<br>
Can EMF generate code for table views with associated CellModifier and
CellEditor$ ?
<br>
<br>
Thanks
<br>
<br>
Charlie
<br>
</blockquote>
</body>
</html>

--------------070502080207000608040107--


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:XML schema round-trip loosing min-exclusive... tags?
Next Topic:Resource Factories/Resources
Goto Forum:
  


Current Time: Tue Apr 23 15:05:15 GMT 2024

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

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

Back to the top