Skip to main content



      Home
Home » Eclipse Projects » Sirius » How to use generated editor as a plugin
How to use generated editor as a plugin [message #1831162] Wed, 12 August 2020 14:12 Go to next message
Eclipse UserFriend
Hello all,

I have created a graphical editor using sirius and now I want to let others use it as a plugin. I have done the steps below to create a jar file:

1) export the viewpoint project as a plugin
2) move the jar file to dropins folder.
3) restart the eclipse

and now I expect to see the name of the project when I new in file tab but I couldn't see anything.

Is the process correct to create the editor as a plugin?

If anybody could help me with how I should create the editor as a plugin, I will appreciate it.

Thanks,
Maryam
Re: How to use generated editor as a plugin [message #1831176 is a reply to message #1831162] Thu, 13 August 2020 01:05 Go to previous messageGo to next message
Eclipse UserFriend
any help?
Re: How to use generated editor as a plugin [message #1831208 is a reply to message #1831176] Thu, 13 August 2020 13:54 Go to previous messageGo to next message
Eclipse UserFriend
There's a full tutorial here:
https://wiki.eclipse.org/Sirius/Tutorials/UpdateSiteTutorial

Basically, you create a feature project in the runtime environment with all ecore model relted project + design project, then an update site project containing the feature project, and then archive the update site so that it can be installed by others.
Re: How to use generated editor as a plugin [message #1831222 is a reply to message #1831208] Fri, 14 August 2020 03:32 Go to previous messageGo to next message
Eclipse UserFriend
Thanks for your response but one more problem.

When I installed the Plugin and restarted the eclipse, I couldn't see any perspective or I couldn't find any project type in file->new->other for my editor. How could I open it?

Re: How to use generated editor as a plugin [message #1831277 is a reply to message #1831222] Sun, 16 August 2020 04:00 Go to previous messageGo to next message
Eclipse UserFriend
It should have been there. Make sure you followed all the steps of the tutorial and included the ECORE, .edit. editor, .design plugins (4 plugins).
Re: How to use generated editor as a plugin [message #1831382 is a reply to message #1831277] Tue, 18 August 2020 15:09 Go to previous messageGo to next message
Eclipse UserFriend
Thanks and what if we have acceleo model to code inside the view point project. I create the plugin but the acceleo model to code was not add to the plugin.
Re: How to use generated editor as a plugin [message #1831424 is a reply to message #1831382] Wed, 19 August 2020 09:42 Go to previous messageGo to next message
Eclipse UserFriend
Hi

Getting Acceleo to contribute satisfactorily to a build is an FAQ for which you will find some not very satisfactory answers on the M2T forum.

I tend to recommend letting Acceleo build interactively, persisting the build results in GIT and then incorporating them as 'sources' for the build.

Regards

Ed Willink
Re: How to use generated editor as a plugin [message #1831492 is a reply to message #1831382] Thu, 20 August 2020 13:44 Go to previous messageGo to next message
Eclipse UserFriend
For my personal interest, what is Acceleo model and what do you use it for?
(I know and used AQL queries, but not Acceleo model)
Re: How to use generated editor as a plugin [message #1831753 is a reply to message #1831382] Fri, 28 August 2020 02:43 Go to previous messageGo to next message
Eclipse UserFriend
Hi,

Did you modify the build.properties file of your project ?
You might have forgot to select some files.

Regards
Re: How to use generated editor as a plugin [message #1832116 is a reply to message #1831492] Wed, 09 September 2020 07:32 Go to previous message
Eclipse UserFriend
It is Acceleo "Model2Text". I used it to create execute code from the model which is created in sirius graphical editor. The links below are useful to know more about it.

https://www.eclipse.org/acceleo/
https://wiki.eclipse.org/Acceleo/Getting_Started
Previous Topic:Create a node by Selecting a different container
Next Topic:Display messages for guidance while modeling.
Goto Forum:
  


Current Time: Tue Jun 17 00:40:09 EDT 2025

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

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

Back to the top