Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Converting properties "table" view in "form" view
Converting properties "table" view in "form" view [message #507218] Tue, 12 January 2010 14:38 Go to next message
Giovanni De Sossi is currently offline Giovanni De SossiFriend
Messages: 161
Registered: October 2009
Location: Rome, Italy
Senior Member

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 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
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 #507240 is a reply to message #507223] Tue, 12 January 2010 15:23 Go to previous messageGo to next message
Giovanni De Sossi is currently offline Giovanni De SossiFriend
Messages: 161
Registered: October 2009
Location: Rome, Italy
Senior Member

Hi Ed,

thanks for your help; unfortunately, it's not appropriate to change my project configuration right now: I'm just looking for the right way to reuse the GMF-generated code to suite my needs.

Regards,

Giovanni.
Re: Converting properties "table" view in "form" view [message #507941 is a reply to message #507240] Fri, 15 January 2010 09:23 Go to previous messageGo to next message
Giovanni De Sossi is currently offline Giovanni De SossiFriend
Messages: 161
Registered: October 2009
Location: Rome, Italy
Senior Member

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.
Re: Converting properties "table" view in "form" view [message #529569 is a reply to message #507941] Mon, 26 April 2010 12:50 Go to previous message
All Pereira is currently offline All PereiraFriend
Messages: 6
Registered: April 2010
Location: Balneário Camboriú- SC...
Junior Member

Hey guy, all right?


Please, you can post the solution? "i've try find the solution, but find nothing".


Thanks!

[Updated on: Mon, 26 April 2010 12:52]

Report message to a moderator

Previous Topic:GMF Restructure and GMP creation
Next Topic:Custom serialization/deserialization options for underlying diagram's model
Goto Forum:
  


Current Time: Sat Apr 27 04:02:44 GMT 2024

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

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

Back to the top