Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » GUI for model editing
GUI for model editing [message #499511] Mon, 23 November 2009 06:58 Go to next message
John S. is currently offline John S.Friend
Messages: 22
Registered: October 2009
Junior Member
Hello,

I would like to make a GUI to edit a model similar to the Sample Ecore Model Editor, but put checkboxes in front of every single entry and selecting them I can achieve to edit the model like grouping or removing some entries. So how can I lead an EMF (meta)model out onto an individual graphical interface, shall I use SWT components like a List in an Eclipse plug-in and go through the resource of the model querying from the resource and displaying the model elements in the GUI, or is there any better way to do such a thing? if someone did something similar, a code extract of that would also help me.

Regads,
John
Re: GUI for model editing [message #499566 is a reply to message #499511] Mon, 23 November 2009 11:32 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33142
Registered: July 2009
Senior Member
This is a multi-part message in MIME format.
--------------090103000509080101070004
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit

John,

Comments below.

John S. wrote:
> Hello,
>
> I would like to make a GUI to edit a model similar to the Sample Ecore
> Model Editor, but put checkboxes in front of every single entry and
> selecting them I can achieve to edit the model like grouping or
> removing some entries.
Not sure how check boxes will help.
> So how can I lead an EMF (meta)model out onto an individual graphical
> interface, shall I use SWT components like a List in an Eclipse
> plug-in and go through the resource of the model querying from the
> resource and displaying the model elements in the GUI, or is there any
> better way to do such a thing?
I assume you've used the generated editor already? The EEF project will
likely be of interest
<http://www.eclipse.org/modeling/emft/?project=eef>

http://www.eclipse.org/modeling/emft/?project=eef

This article as well
<http://www.eclipse.org/resources/resource.php?id=511>

http://www.eclipse.org/resources/resource.php?id=511

> if someone did something similar, a code extract of that would also
> help me.
>
> Regads, John

--------------090103000509080101070004
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 8bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
John,<br>
<br>
Comments below.<br>
<br>
John S. wrote:
<blockquote cite="mid:hedbr3$n96$1@build.eclipse.org" type="cite">Hello,
<br>
<br>
I would like to make a GUI to edit a model similar to the Sample Ecore
Model Editor, but put checkboxes in front of every single entry and
selecting them I can achieve to edit the model like grouping or
removing some entries. </blockquote>
Not sure how check boxes will help.<br>
<blockquote cite="mid:hedbr3$n96$1@build.eclipse.org" type="cite">So
how can I lead an EMF (meta)model out onto an individual graphical
interface, shall I use SWT components like a List  in an Eclipse
plug-in and go through the resource of the model querying from the
resource and displaying the model elements in the GUI, or is there any
better way to do such a thing?</blockquote>
I assume you've used the generated editor already?  The EEF project
will likely be of interest<a
href="http://www.eclipse.org/modeling/emft/?project=eef"><br>
</a>
<blockquote><a href="http://www.eclipse.org/modeling/emft/?project=eef">http://www.eclipse.org/modeling/emft/?project=eef</a><br>
</blockquote>
This article as well<a
href="http://www.eclipse.org/resources/resource.php?id=511"><br>
</a>
<blockquote><a
href="http://www.eclipse.org/resources/resource.php?id=511">http://www.eclipse.org/resources/resource.php?id=511</a><br>
</blockquote>
<blockquote cite="mid:hedbr3$n96$1@build.eclipse.org" type="cite"> if
someone did something similar, a code extract of that would also help
me.
<br>
<br>
Regads, John
<br>
</blockquote>
</body>
</html>

--------------090103000509080101070004--


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:[CDO] EMF ODA driver for BIRT
Next Topic:How to access cross referenced resources
Goto Forum:
  


Current Time: Fri Apr 26 19:26:18 GMT 2024

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

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

Back to the top