Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » EMF Forms custom file extension/file type
EMF Forms custom file extension/file type [message #1787194] Mon, 21 May 2018 20:16 Go to next message
Ben Gencarelle is currently offline Ben GencarelleFriend
Messages: 8
Registered: May 2018
Location: Germany
Junior Member
Hello all, I am working in a sort of unusual environment.

We would like to exchange data back and forth with a Sirius created project. This model has a fixed file extension: ".ourfile" and the Sirius folks have just let me know that their project would be a pain to change to any other file extension.

I have had no problems with import and export of the data from this project, after renaming it to .xmi, but they will not budge on the file name.

I have been unable to find a way to get EMF forms to open our .ourfile file types, and I have been on the Googley-box for quite some time.

Any advice would be lovely, thanks in advance!
Re: EMF Forms custom file extension/file type [message #1787518 is a reply to message #1787194] Mon, 28 May 2018 07:19 Go to previous messageGo to next message
Jonas Helming is currently offline Jonas HelmingFriend
Messages: 79
Registered: September 2016
Member
Hi,

what exactly do you mean by "open" the file with EMF Forms? Do you use the EMF Forms editor?

Best regards,

Jonas


--
Jonas Helming
Get professional Eclipse developer support:
http://eclipsesource.com/en/services/developer-support/
Re: EMF Forms custom file extension/file type [message #1787533 is a reply to message #1787518] Mon, 28 May 2018 09:20 Go to previous messageGo to next message
Ben Gencarelle is currently offline Ben GencarelleFriend
Messages: 8
Registered: May 2018
Location: Germany
Junior Member
Sorry for the terminology mixup. I don't mean opening .view files.
I mean after I have created a set of custom views and I am testing my my view models, I am running into an issue with both import and export of XMI files that do not have the .xmi file extension.

I would like to be able to import and export .xmi files with the same file extension as the rest of the team is using. Right now I am only presented with the .xmi option for importing projects or importing children.

So, for example if the Sirius team gives me a file that is called "oursample.system" I currently have to rename it to "oursample.xmi" to be able to import it into an EMF Forms based application.
Re: EMF Forms custom file extension/file type [message #1787565 is a reply to message #1787533] Tue, 29 May 2018 08:38 Go to previous messageGo to next message
Jonas Helming is currently offline Jonas HelmingFriend
Messages: 79
Registered: September 2016
Member
Sorry for another question:

What exactly is a "EMF Forms based application"? Do you use the EMF Client Platform Model Explorer? Or more precisly: where exactly do you trigger the import/export ?

Best regards,

Jonas


--
Jonas Helming
Get professional Eclipse developer support:
http://eclipsesource.com/en/services/developer-support/
Re: EMF Forms custom file extension/file type [message #1791658 is a reply to message #1787565] Tue, 03 July 2018 11:26 Go to previous messageGo to next message
Ben Gencarelle is currently offline Ben GencarelleFriend
Messages: 8
Registered: May 2018
Location: Germany
Junior Member
I am trying to use the sample e3 application to test layouts created with EMF Forms, but I am using models created by Sirius modelling tools.

When I use the EMF store provider, I can only import .xmi files, but if I use "Eclipse Workspace Experimental" i can import any file I want.

Why is this, and can I modify this behavior?

Also, is there better documentation available than is available on the website? Much of that is nonsensical or missing material.
Re: EMF Forms custom file extension/file type [message #1791685 is a reply to message #1791658] Wed, 04 July 2018 07:27 Go to previous messageGo to next message
Jonas Helming is currently offline Jonas HelmingFriend
Messages: 79
Registered: September 2016
Member
Hi,

if you work with Sirius, maybe you use a custom version of an Eclipse Modeling edition, rather than the e3 example application. This would include the default Project Explorer, where you directly import files into the workspace.
You could then create an editor embedding EMF Forms or use the generic editor: https://eclipsesource.com/blogs/tutorials/emf-forms-editors/

I hope this help, but it is very difficult to suggest the right way to go without knowing the detailed requirements about your project.

About the documentation: Feedback is highly appreciated, please point our missing material or "nonsensical" parts, so that those can be fixed.

Best regards,
Jonas

--
Get professional Eclipse developer support:
http://eclipsesource.com/en/services/developer-support/


--
Jonas Helming
Get professional Eclipse developer support:
http://eclipsesource.com/en/services/developer-support/
Re: EMF Forms custom file extension/file type [message #1791792 is a reply to message #1791685] Thu, 05 July 2018 11:31 Go to previous messageGo to next message
Ben Gencarelle is currently offline Ben GencarelleFriend
Messages: 8
Registered: May 2018
Location: Germany
Junior Member
Re: Documentation,

An example of documentation that makes no sense or is incomplete is the "view proxy" example.

https://eclipsesource.com/blogs/tutorials/emf-forms-view-model-elements/

The example code is blank and there are NO working examples to be found on the web.

Another example is the "control grid" example.

https://eclipsesource.com/blogs/tutorials/emf-forms-view-model-elements/

How does one implement a control grid, following these instructions? There seems to be nothing like this to be found while working with EMF forms.


Re: EMF Forms custom file extension/file type [message #1791864 is a reply to message #1791792] Fri, 06 July 2018 10:15 Go to previous messageGo to next message
Jonas Helming is currently offline Jonas HelmingFriend
Messages: 79
Registered: September 2016
Member
Thank you for the report, we have refined both sections

Best regards,

Jonas

--
Get professional Eclipse developer support:
http://eclipsesource.com/en/services/developer-support/


--
Jonas Helming
Get professional Eclipse developer support:
http://eclipsesource.com/en/services/developer-support/
Re: EMF Forms custom file extension/file type [message #1791865 is a reply to message #1791864] Fri, 06 July 2018 10:23 Go to previous message
Ben Gencarelle is currently offline Ben GencarelleFriend
Messages: 8
Registered: May 2018
Location: Germany
Junior Member
Jonas,

Beautiful, thank you!

I have also recently found a dead link:

The page:

https://eclipsesource.com/blogs/tutorials/emf-forms-view-model-elements/

leads to the dead page:

https://eclipsesource.com/blogs/emf-forms-custom-control-areas/

Thank you again!
Previous Topic:Pb change version ECP
Next Topic:[Emf Forms] Tooltips in Views
Goto Forum:
  


Current Time: Fri Sep 21 13:54:15 GMT 2018

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

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

Back to the top