Home » Eclipse Projects » Sirius » Deploy the "Ecore Model Project" and "Viewpoint Specification Project"
|
Re: Deploy the "Ecore Model Project" and "Viewpoint Specification Project [message #1699411 is a reply to message #1699237] |
Wed, 24 June 2015 07:40 |
|
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 |
|
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 |
Shin-Yi Lin 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.
Then, press this new selection and the Representation Diagram and Palette will both show up, right?
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 1002 times) -
Attachment: tt.jpg
(Size: 52.63KB, Downloaded 931 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 #1699823 is a reply to message #1699417] |
Fri, 26 June 2015 21:15 |
Shin-Yi Lin 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.
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?
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.
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?
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 Specifica [message #1728052 is a reply to message #1699823] |
Wed, 30 March 2016 16:01 |
|
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
|
|
|
Goto Forum:
Current Time: Sat Apr 20 00:16:59 GMT 2024
Powered by FUDForum. Page generated in 0.04197 seconds
|