Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Sirius » Deploy the "Ecore Model Project" and "Viewpoint Specification Project"
Deploy the "Ecore Model Project" and "Viewpoint Specification Project" [message #1699237] Mon, 22 June 2015 21:27 Go to next message
Shin-Yi Lin is currently offline Shin-Yi LinFriend
Messages: 34
Registered: June 2015
Member
Hi All,

I have developed "Ecore Model Project" and "Viewpoint Specification Project". In the Viewpoint Specification Project, section tool is also built.

But how do I deploy the whole things as a desktop application to let end-user just double-click on the desktop application icon and then directly use the section tool to build model and representation diagram?

I have read the following resources for 2 days, which makes me loose direction:
[1]Extending the Eclipse IDE - Plug-in development - Tutorial: http://www.vogella.com/tutorials/EclipsePlugIn/article.html#firstplugin (Only know how to deploy Hello world plugin in Eclipse's dropin file)
[2]Eclipse 4 RCP - Tutorial: http://www.vogella.com/tutorials/EclipseRCP/article.html#tutorial_installation (Can't install Eclipse e4 tool in my Eclipse Lunar SR2 4.4.2)
[3] Eclipse Tycho for building Eclipse Plugins and RCP applications - Tutorial: http://www.vogella.com/tutorials/EclipseTycho/article.html#deploy (Still don't understand after reading chapter 1 ~4 )
[4] Java Deployment - Creating a JAR: filehttps://www.youtube.com/watch?v=E93o15Yf2QE (It teaches how to make a jar file as a desktop application icon. But in my Viewpoint Specification Project exported as a plugin, it has no main manifest attribute.)

Can anyone suggest any better tutorials fitted into my case or just tell me how to do?

Thanks & Regards,

Shin-Yi

[Updated on: Mon, 22 June 2015 21:34]

Report message to a moderator

Re: Deploy the "Ecore Model Project" and "Viewpoint Specification Project [message #1699411 is a reply to message #1699237] Wed, 24 June 2015 07:40 Go to previous messageGo to next message
Laurent Fasani is currently offline Laurent FasaniFriend
Messages: 174
Registered: October 2014
Senior Member
Le 22/06/2015 23:27, Shin-Yi Lin a écrit :
> Hi All,
Hello
> I have developed "Ecore Model Project" and "Viewpoint Specification
> Project". In the Viewpoint Specification Project, section tool is also
> built.
> But how do I deploy the whole things as a desktop application to let
> end-user just double-click on the desktop application icon and then
> directly use the section tool to build model and representation diagram?
>
It seems that you are not on the right forum because that forum is
focussed on sirius and not on eclipse platform.
If I am not mistaken, you would like to deploy you "Viewpoint
Specification Project" as a plugin. To do so, you can export your VSP as
"Deployable plug-ins and fragments" and then choose "Install into host".
Then just restart your eclipse to benefit from that plugin. Also, if you
just want to test your VSP, you can launch an eclipse runtime(Run
configuration/Eclipse application)

> I have read the following resources for 2 days, which makes me loose
> direction:
> [1]Extending the Eclipse IDE - Plug-in development - Tutorial:
> http://www.vogella.com/tutorials/EclipsePlugIn/article.html#firstplugin
> (Only know how to deploy Hello world plugin in Eclipse's dropin file)
> [2]Eclipse 4 RCP - Tutorial:
> http://www.vogella.com/tutorials/EclipseRCP/article.html#tutorial_installation
> (Can't install Eclipse e4 tool in my Eclipse Lunar SR2 4.4.2)
> [3] Eclipse Tycho for building Eclipse Plugins and RCP applications -
> Tutorial:
> http://www.vogella.com/tutorials/EclipseTycho/article.html#deploy (Still
> don't understand after reading chapter 1 ~4 )
> [4] Java Deployment - Creating a JAR:
> filehttps://www.youtube.com/watch?v=E93o15Yf2QE (It teaches how to make
> a jar file as a desktop application icon. But in my Viewpoint
> Specification Project exported as a plugin, it has no main manifest
> attribute.)
>
> Can anyone suggest any better tutorials fitted to my problem or just
> tell me how to do?
>
> Thanks & Regards,
>
> Shin-Yi

Regards
Laurent


Laurent Fasani - Obeo
Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
Re: Deploy the "Ecore Model Project" and "Viewpoint Specification Project [message #1699417 is a reply to message #1699411] Wed, 24 June 2015 08:10 Go to previous messageGo to next message
Laurent Fasani is currently offline Laurent FasaniFriend
Messages: 174
Registered: October 2014
Senior Member
For an example of an RCP application with complete modeler based on
sirius, you can look into Uml Designer [1] and Arduino designer [2]

[1] https://github.com/ObeoNetwork/UML-Designer
[2] https://github.com/mbats/arduino

Regards
Laurent

Le 24/06/2015 09:40, Laurent Fasani a écrit :
> Le 22/06/2015 23:27, Shin-Yi Lin a écrit :
>> Hi All,
> Hello
>> I have developed "Ecore Model Project" and "Viewpoint Specification
>> Project". In the Viewpoint Specification Project, section tool is also
>> built.
>> But how do I deploy the whole things as a desktop application to let
>> end-user just double-click on the desktop application icon and then
>> directly use the section tool to build model and representation diagram?
>>
> It seems that you are not on the right forum because that forum is
> focussed on sirius and not on eclipse platform.
> If I am not mistaken, you would like to deploy you "Viewpoint
> Specification Project" as a plugin. To do so, you can export your VSP as
> "Deployable plug-ins and fragments" and then choose "Install into host".
> Then just restart your eclipse to benefit from that plugin. Also, if you
> just want to test your VSP, you can launch an eclipse runtime(Run
> configuration/Eclipse application)
>
>> I have read the following resources for 2 days, which makes me loose
>> direction:
>> [1]Extending the Eclipse IDE - Plug-in development - Tutorial:
>> http://www.vogella.com/tutorials/EclipsePlugIn/article.html#firstplugin
>> (Only know how to deploy Hello world plugin in Eclipse's dropin file)
>> [2]Eclipse 4 RCP - Tutorial:
>> http://www.vogella.com/tutorials/EclipseRCP/article.html#tutorial_installation
>>
>> (Can't install Eclipse e4 tool in my Eclipse Lunar SR2 4.4.2)
>> [3] Eclipse Tycho for building Eclipse Plugins and RCP applications -
>> Tutorial:
>> http://www.vogella.com/tutorials/EclipseTycho/article.html#deploy (Still
>> don't understand after reading chapter 1 ~4 )
>> [4] Java Deployment - Creating a JAR:
>> filehttps://www.youtube.com/watch?v=E93o15Yf2QE (It teaches how to make
>> a jar file as a desktop application icon. But in my Viewpoint
>> Specification Project exported as a plugin, it has no main manifest
>> attribute.)
>>
>> Can anyone suggest any better tutorials fitted to my problem or just
>> tell me how to do?
>>
>> Thanks & Regards,
>>
>> Shin-Yi
>
> Regards
> Laurent


Laurent Fasani - Obeo
Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
Re: Deploy the "Ecore Model Project" and "Viewpoint Specification Project [message #1699505 is a reply to message #1699417] Wed, 24 June 2015 16:14 Go to previous messageGo to next message
Shin-Yi Lin is currently offline Shin-Yi LinFriend
Messages: 34
Registered: June 2015
Member
Hi Laurent,

Thank you for replying me.

From your suggestion I guess I have to use RCP application to make a new selection in open perspective.
index.php/fa/22277/0/

Then, press this new selection and the Representation Diagram and Palette will both show up, right?
index.php/fa/22279/0/


I had exported my VSP as Deployable Plug-ins and Fragments and restarted the Eclipse. Then I dropped the plugin in the original Eclipse dropins file folder. But after that I don't know how to do? Moreover, I thought I have to export both VSP and Modeling Project because they're inter-dependent.

The UML Designer and Arduino are good examples, but I think it is hard to modified their code into my case. Is it better to start from RCP application tutorial or do you have any better suggestion?

Thanks & Regards,

Shin-Yi
  • Attachment: t.jpg
    (Size: 52.39KB, Downloaded 846 times)
  • Attachment: tt.jpg
    (Size: 52.63KB, Downloaded 809 times)

[Updated on: Wed, 24 June 2015 16:16]

Report message to a moderator

Re: Deploy the "Ecore Model Project" and "Viewpoint Specification Project [message #1699710 is a reply to message #1699411] Fri, 26 June 2015 05:41 Go to previous messageGo to next message
Shin-Yi Lin is currently offline Shin-Yi LinFriend
Messages: 34
Registered: June 2015
Member
sorry, I don't know how to delete this msg. Please ignore it.

[Updated on: Fri, 26 June 2015 05:56]

Report message to a moderator

Re: Deploy the "Ecore Model Project" and "Viewpoint Specification Project [message #1699823 is a reply to message #1699417] Fri, 26 June 2015 21:15 Go to previous messageGo to next message
Shin-Yi Lin is currently offline Shin-Yi LinFriend
Messages: 34
Registered: June 2015
Member
Hi Laurent,

Sorry to bother you again. I am not sure if this question is ok to ask in this forum. If it's not ok, please tell me which forum I can go to.

Problems:
I made a RCP application and try to add pugin org.eclipse.sirius.ui (where the business.api is in) in Dependency of MANIFEST.MF, but it failed.
index.php/fa/22332/0/

However, it succeed when just only adding plugin *.project.design which is exported from Viewpoint Specification Project.
index.php/fa/22333/0/

Questions:
First,is it right to add pugin org.eclipse.sirius.ui for showing representation diagram and palette?
If it's right, how to use the functions inside this plugin?
If not, I will remove this plugin and which one should I use?

I guess these plugins are used inside the widgetSelected block of E4view1.java, which makes reaction when pressing the button.
index.php/fa/22334/0/

Second, I saw an article posted in this forum which mentioned plugin org.eclipse.sirius.ui.business.api. Is there any resource telling how to use it?
index.php/fa/22335/0/

Best Regards,

Shin-Yi

[Updated on: Fri, 26 June 2015 21:18]

Report message to a moderator

Re: Deploy the "Ecore Model Project" and "Viewpoint Specification Project [message #1727289 is a reply to message #1699823] Mon, 21 March 2016 18:47 Go to previous messageGo to next message
Jakub Kitaj is currently offline Jakub KitajFriend
Messages: 8
Registered: February 2016
Junior Member
I have the same problem. @Shin-Yi Lin, did you find resolve?
Re: Deploy the "Ecore Model Project" and "Viewpoint Specifica [message #1728052 is a reply to message #1699823] Wed, 30 March 2016 16:01 Go to previous message
Maxime Porhel is currently offline Maxime PorhelFriend
Messages: 500
Registered: July 2009
Location: Nantes, France
Senior Member
Hi,

You might find usefull information in this thread [1]




Le 26/06/2015 23:15, Shin-Yi Lin a écrit :
> Hi Laurent,
>
> Sorry to bother you again. I am not sure if this question is ok to ask in this forum. If it's not ok, please tell me which forum I can go to.
>
> Problems:
> I made a RCP application and try to add pugin org.eclipse.sirius.ui (where the business.api is in) in Dependency of MANIFEST.MF, but it failed.
>
>
> However, it succeed when just only adding plugin *.project.design which is exported from Viewpoint Specification Project.
>
>
> Questions:
> First,is it right to add pugin org.eclipse.sirius.ui for showing representation diagram and palette?
Diagram and diagram palette are in the diagram plugins
(org.eclipse.sirius.diagram org.eclipse.sirius.diagram.ui which requires
the core plugins)

> If it's right, how to use the functions inside this plugin?
> If not, I will remove this plugin and which one should I use?

The links mentionned in [1] points to two products and RCP applications
which contain some modelers made with Sirius.

>
> I guess these plugins are used inside the widgetSelected block of E4view1.java, which makes reaction when pressing the button.
>
>
> Second, I saw an article posted here which mentioned plugin org.eclipse.sirius.ui.business.api. Is there any resource telling how to use it and its source code?

The code source is available here [2]
The documentation is here [3]
>
> Best Regards,
>
> Shin-Yi
>


Regards

--
Maxime - Obeo

Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
--
[1] https://www.eclipse.org/forums/index.php/t/1075207/
[2] http://git.eclipse.org/c/sirius/org.eclipse.sirius.git
[3] https://www.eclipse.org/sirius/doc/


Maxime Porhel - Obeo

Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
Previous Topic:Sirius editor with Kieler/KLay layouter resizes nodes
Next Topic:Strange rendering of scrollbars
Goto Forum:
  


Current Time: Wed Jan 20 04:55:03 GMT 2021

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

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

Back to the top