Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 18:12 Go to next message
maryam mehrabi is currently offline maryam mehrabiFriend
Messages: 25
Registered: May 2019
Junior Member
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 05:05 Go to previous messageGo to next message
maryam mehrabi is currently offline maryam mehrabiFriend
Messages: 25
Registered: May 2019
Junior Member
any help?
Re: How to use generated editor as a plugin [message #1831208 is a reply to message #1831176] Thu, 13 August 2020 17:54 Go to previous messageGo to next message
Avi Shaked is currently offline Avi ShakedFriend
Messages: 116
Registered: October 2019
Senior Member
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 07:32 Go to previous messageGo to next message
maryam mehrabi is currently offline maryam mehrabiFriend
Messages: 25
Registered: May 2019
Junior Member
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 08:00 Go to previous messageGo to next message
Avi Shaked is currently offline Avi ShakedFriend
Messages: 116
Registered: October 2019
Senior Member
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 19:09 Go to previous messageGo to next message
maryam mehrabi is currently offline maryam mehrabiFriend
Messages: 25
Registered: May 2019
Junior Member
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 13:42 Go to previous messageGo to next message
Ed Willink is currently offline Ed WillinkFriend
Messages: 6880
Registered: July 2009
Senior Member
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 17:44 Go to previous messageGo to next message
Avi Shaked is currently offline Avi ShakedFriend
Messages: 116
Registered: October 2019
Senior Member
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 06:43 Go to previous messageGo to next message
Maxime Porhel is currently offline Maxime PorhelFriend
Messages: 497
Registered: July 2009
Location: Nantes, France
Senior Member
Hi,

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

Regards


Maxime Porhel - Obeo

Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius

Join the Sirius community at SiriusCon. Register for free: Nov. 9th Paris
http://www.siriuscon.org/
Re: How to use generated editor as a plugin [message #1832116 is a reply to message #1831492] Wed, 09 September 2020 11:32 Go to previous message
maryam mehrabi is currently offline maryam mehrabiFriend
Messages: 25
Registered: May 2019
Junior Member
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: Fri Oct 30 13:48:18 GMT 2020

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

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

Back to the top