Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » EMF Forms UI
EMF Forms UI [message #1741050] Mon, 22 August 2016 14:27 Go to next message
Alan Jaff is currently offline Alan JaffFriend
Messages: 5
Registered: August 2016
Junior Member
Guten Tag,

ich habe eine Frage bitte bezüglich EMF Forms.

In Emfforms.org habe ich die Dokumentation gelesen und bin ich bis jetzt dazu bekommen, dass ich aus einer XSD ein Listobjekt nun nur Pull-Down-Menü bekomme, und das wäre die Fragestellung, wie ich aus einer XSD eine ListBox in EMF Forms bekommen kann?
Ist das möglich? Oder es ist schon so festgelegt?

Außerdem könnte man die UI nach der Erstellung irgendwie als XML Beschreibung (Also XML Datei) abspeichern?

Ich bedanke mich im Voraus für Ihre Antwort und Unterstützung.

Mit herzlichen Grüßen
Alan Jaff
Re: EMF Forms UI [message #1741119 is a reply to message #1741050] Tue, 23 August 2016 08:15 Go to previous messageGo to next message
Alan Jaff is currently offline Alan JaffFriend
Messages: 5
Registered: August 2016
Junior Member
Good day,

I have a question please relative to EMF Forms.

In emfforms.org I have read the documentation and I'm getting up now to the fact that I now only get from an XSD a List Object pull-down menu, and that would be the question of how I can get from an XSD a ListBox emf forms?
Is that possible? Or is it already determined?

In addition, could I use the UI after the creation somehow saved as XML description ( XML file)?

I thank you in advance for your reply and assistance.

With kind regards
Alan Jaff
Re: EMF Forms UI [message #1741122 is a reply to message #1741119] Tue, 23 August 2016 08:25 Go to previous messageGo to next message
Jonas Helming is currently offline Jonas HelmingFriend
Messages: 699
Registered: July 2009
Senior Member
Hi Alan,

could you please descibe more in detail (preferably with a screenshot)
what you mean by "List Object pull-down menu" and "ListBox emf forms"?

About the second question: The default serialization of EMF is an XML
file, so what exactly is missing here?

Best regards
Jonas

On 23.08.2016 10:15, Alan Jaff wrote:
> Good day,
>
> I have a question please relative to EMF Forms.
>
> In emfforms.org I have read the documentation and I'm getting up now to
> the fact that I now only get from an XSD a List Object pull-down menu,
> and that would be the question of how I can get from an XSD a ListBox
> emf forms?
> Is that possible? Or is it already determined?
>
> In addition, could I use the UI after the creation somehow saved as XML
> description ( XML file)?
>
> I thank you in advance for your reply and assistance.
>
> With kind regards
> Alan Jaff
Re: EMF Forms UI [message #1741155 is a reply to message #1741122] Tue, 23 August 2016 11:44 Go to previous messageGo to next message
Alan Jaff is currently offline Alan JaffFriend
Messages: 5
Registered: August 2016
Junior Member
Hello Mr. Jonas,

thanks for your response.

I have taken the library.xsd as example and I'm wondering how could I preferably select an EObject (Writer) with table selection or DropDown-Menu, and then present for this selected EObject a specific EList attribute (books) next to it in a table.

Kindly find the attached files which contain the library XSD file with the screenshots of the ViewEditor and EMF Forms Preview, and the DropDown-Menu.

Sincerely
Alan
Re: EMF Forms UI [message #1741293 is a reply to message #1741155] Wed, 24 August 2016 08:50 Go to previous messageGo to next message
Jonas Helming is currently offline Jonas HelmingFriend
Messages: 699
Registered: July 2009
Senior Member
I think what you are looking for is a tree master detail element. In the
tree, you can display a list of writers and if you click on a writer you
can show the books on the details pane. Alternatively, you can turn the
details editing on on the table, where you present the writers and show
the books on that details pane...

Showing the list of writers as a drop down would require a custom renderer.

On 23.08.2016 13:44, Alan Jaff wrote:
> Hello Mr. Jonas,
>
> thanks for your response.
>
> I have taken the library.xsd as example and I'm wondering how could I preferably select an EObject (Writer) with table selection or DropDown-Menu, and then present for this selected EObject a specific EList attribute (books) next to it in a table.
>
> Kindly find the attached files which contain the library XSD file with the screenshots of the ViewEditor and EMF Forms Preview, and the DropDown-Menu.
>
> Sincerely
> Alan
>
Re: EMF Forms UI [message #1741296 is a reply to message #1741155] Wed, 24 August 2016 08:50 Go to previous messageGo to next message
Jonas Helming is currently offline Jonas HelmingFriend
Messages: 699
Registered: July 2009
Senior Member
I think what you are looking for is a tree master detail element. In the
tree, you can display a list of writers and if you click on a writer you
can show the books on the details pane. Alternatively, you can turn the
details editing on on the table, where you present the writers and show
the books on that details pane...

Showing the list of writers as a drop down would require a custom renderer.

On 23.08.2016 13:44, Alan Jaff wrote:
> Hello Mr. Jonas,
>
> thanks for your response.
>
> I have taken the library.xsd as example and I'm wondering how could I preferably select an EObject (Writer) with table selection or DropDown-Menu, and then present for this selected EObject a specific EList attribute (books) next to it in a table.
>
> Kindly find the attached files which contain the library XSD file with the screenshots of the ViewEditor and EMF Forms Preview, and the DropDown-Menu.
>
> Sincerely
> Alan
>
Re: EMF Forms UI [message #1741298 is a reply to message #1741155] Wed, 24 August 2016 08:50 Go to previous messageGo to next message
Jonas Helming is currently offline Jonas HelmingFriend
Messages: 699
Registered: July 2009
Senior Member
I think what you are looking for is a tree master detail element. In the
tree, you can display a list of writers and if you click on a writer you
can show the books on the details pane. Alternatively, you can turn the
details editing on on the table, where you present the writers and show
the books on that details pane...

Showing the list of writers as a drop down would require a custom renderer.

On 23.08.2016 13:44, Alan Jaff wrote:
> Hello Mr. Jonas,
>
> thanks for your response.
>
> I have taken the library.xsd as example and I'm wondering how could I preferably select an EObject (Writer) with table selection or DropDown-Menu, and then present for this selected EObject a specific EList attribute (books) next to it in a table.
>
> Kindly find the attached files which contain the library XSD file with the screenshots of the ViewEditor and EMF Forms Preview, and the DropDown-Menu.
>
> Sincerely
> Alan
>
Re: EMF Forms UI [message #1741618 is a reply to message #1741298] Fri, 26 August 2016 11:00 Go to previous messageGo to next message
Alan Jaff is currently offline Alan JaffFriend
Messages: 5
Registered: August 2016
Junior Member
Thanks for the reply.

I've used the Tree Master Detail Element and created the Writers and Books manually (as shown in the attachment), but the problem is that we are limited and restricted with our selection options and with binding the other datas in the other classes of our library.xsd file to our view editor.

How it would be possible to be unrestrained with our selection options and to bind the datas unbounded to each other?
And how should I customize a renderer in order to show the lists of wirter and books next to each other in tables?

Thanks in advanced for your response.

Sincerely
Alan
  • Attachment: Tree.jpg
    (Size: 243.75KB, Downloaded 217 times)
Re: EMF Forms UI [message #1741710 is a reply to message #1741618] Sun, 28 August 2016 11:19 Go to previous message
Jonas Helming is currently offline Jonas HelmingFriend
Messages: 699
Registered: July 2009
Senior Member
Hi Alan,

I am not sure, if I understand your issue. However, have you tried the
option "Detailed Editing" on your table control?

Best regards
Jonas


On 26.08.2016 13:00, Alan Jaff wrote:
> Thanks for the reply.
>
> I've used the Tree Master Detail Element and created the Writers and Books manually (as shown in the attachment), but the problem is that we are limited and restricted with our selection options and with binding the other datas in the other classes of our library.xsd file to our view editor.
>
> How it would be possible to be unrestrained with our selection options and to bind the datas unbounded to each other?
> And how should I customize a renderer in order to show the lists of wirter and books next to each other in tables?
>
> Thanks in advanced for your response.
>
> Sincerely
> Alan
>
Previous Topic:[EMF Forms] Setting the size of controls programmatically
Next Topic:[EMF Forms] Which are its limits?
Goto Forum:
  


Current Time: Fri Apr 19 23:26:07 GMT 2024

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

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

Back to the top