Converting properties "table" view in "form" view [message #507218] |
Tue, 12 January 2010 14:38 |
|
Hi,
I'm trying to convert standard (GMF generated) properties view in a form-based view. I've configured my own Custom property tab in *.gmfgen with Typed selection filter, and I've specified my own [XYZ]PropertySection that extends AbstractBasicTextPropertySection. But this kind of superclass allows to manage only a text field, thus only one attribute of my model object: I need to add checkboxes, combo boxes and so on, but I don't know how...maybe I have to extend any other class?
Thank you for any help,
Giovanni.
|
|
|
Re: Converting properties "table" view in "form" view [message #507223 is a reply to message #507218] |
Tue, 12 January 2010 14:42 |
Ed Merks Messages: 33142 Registered: July 2009 |
Senior Member |
|
|
This is a multi-part message in MIME format.
--------------050204080900040808000408
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Giovanni,
You might find EEF <http://www.eclipse.org/modeling/emft/?project=eef>
useful.
giovanni wrote:
> Hi,
>
> I'm trying to convert standard (GMF generated) properties view in a
> form-based view. I've configured my own Custom property tab in
> *.gmfgen with Typed selection filter, and I've specified my own
> [XYZ]PropertySection that extends AbstractBasicTextPropertySection.
> But this kind of superclass allows to manage only a text field, thus
> only one attribute of my model object: I need to add checkboxes, combo
> boxes and so on, but I don't know how...maybe I have to extend any
> other class?
>
> Thank you for any help,
>
> Giovanni.
--------------050204080900040808000408
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 7bit
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Giovanni,<br>
<br>
You might find <a
href="http://www.eclipse.org/modeling/emft/?project=eef">EEF</a>
useful.<br>
<br>
<br>
giovanni wrote:
<blockquote cite="mid:hii1i4$tbk$1@build.eclipse.org" type="cite">Hi,
<br>
<br>
I'm trying to convert standard (GMF generated) properties view in a
form-based view. I've configured my own Custom property tab in *.gmfgen
with Typed selection filter, and I've specified my own
[XYZ]PropertySection that extends AbstractBasicTextPropertySection. But
this kind of superclass allows to manage only a text field, thus only
one attribute of my model object: I need to add checkboxes, combo boxes
and so on, but I don't know how...maybe I have to extend any other
class?
<br>
<br>
Thank you for any help,
<br>
<br>
Giovanni.
<br>
</blockquote>
</body>
</html>
--------------050204080900040808000408--
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
|
Re: Converting properties "table" view in "form" view [message #507941 is a reply to message #507240] |
Fri, 15 January 2010 09:23 |
|
Fortunately I've found a solution: in Eclipse exists the org.eclipse.gmf.runtime.diagram.ui.properties.sections.Diagr amGeneralSection that shows how to create a Properties View form-based.
As this forum doesn't provide any answer (with the notable exception of Ed Merks's answer, who comes from EMF Forum), I posted back for common mortals who needs help.
Regards,
Giovanni.
|
|
|
|
Powered by
FUDForum. Page generated in 0.03277 seconds