Home » Eclipse Projects » Sirius » How to run xtext-sirius-integration
| | | |
Re: How to run xtext-sirius-integration [message #1706902 is a reply to message #1706898] |
Mon, 31 August 2015 13:34   |
Eclipse User |
|
|
|
Update: I put the org.eclipse.siritus.example.fowler.design project in my eclipse workspace (and not the run-time workspace), and if I right click on a command or a state, I get a context-menu option to open the embedded editor. The embedded editor displays the contents of the node. However, it is read-only and there is no way to close the embedded editor. Additionally, if you open a top most node in the diagram, the embedded editor opens partially outside the diagram area, and cannot be moved or closed.
As I understand, the normal way to develop with Sirius is to create your design project in a run-time workspace so that you can preview your changes quickly. However, if I load the design project within my runtime workspace, I no longer have the context menu option to open the embedded editor.
I would just like to clarify if what I've described above are currently limitations of the xtext/sirius integration, and not related to my Eclipse Platform version (4.5 Mars).
|
|
|
Re: How to run xtext-sirius-integration [message #1707088 is a reply to message #1706902] |
Wed, 02 September 2015 04:31   |
Eclipse User |
|
|
|
Hi Elvis,
Le 31/08/2015 19:34, Elvis Dowson a écrit :
> Update: I put the org.eclipse.siritus.example.fowler.design project in
> my eclipse workspace (and not the run-time workspace), and if I right
> click on a command or a state, I get a context-menu option to open the
> embedded editor. The embedded editor displays the contents of the node.
> However, it is read-only and there is no way to close the embedded
> editor. Additionally, if you open a top most node in the diagram, the
> embedded editor opens partially outside the diagram area, and cannot be
> moved or closed.
>
> As I understand, the normal way to develop with Sirius is to create your
> design project in a run-time workspace so that you can preview your
> changes quickly. However, if I load the design project within my runtime
> workspace, I no longer have the context menu option to open the embedded
> editor.
If you have your project in your runtime, Sirius will be able to use
your modeler from its description in the workspace, it will also be able
to use your java services (might depend on the version) but the eclipse
standard extensions (menus, view, ...) requires to deploy the plugin
that is why you can only see them if the plugin project is in your IDE
workspace as it will be deployed for your runtime.
>
> I would just like to clarify if what I've described above are currently
> limitations of the xtext/sirius integration, and not related to my
> Eclipse Platform version (4.5 Mars).
This Xtext/Sirius integration has been developped has a proof of
concept, therefore it is hosted on github instead of being directly
integrated in the Sirius/XText bridge.
The POC allowed to test several ways to integrate both tools but as you
mentionned there are some limitations or improvements to adress in order
to industrialize it.
Regards,
--
Maxime - Obeo
Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
|
|
| | |
Re: How to run xtext-sirius-integration [message #1716673 is a reply to message #1716276] |
Mon, 07 December 2015 07:56   |
Eclipse User |
|
|
|
Le 02/12/2015 19:22, George Gao a écrit :
> Hi Maxime,
Hi.
> I am a beginner to Sirius and Xtext. I try to find the plug in
> "Sirius-xtext bridge plugin" at Sirius update site, but only find
> "Sirius Integration with Xtext". Is this the one that is needed?
Yes. The feature is org.eclipse.sirius.runtime.ide.xtext, and contains a
single plug-in, org.eclipse.sirius.common.xtext.
> Also for the "fowlerdsl example plugins", do I need to import all four
> examples?
> (. org.eclipse.sirius.example.fowlerdsl
> org.eclipse.sirius.example.fowlerdsl.edit
> org.eclipse.sirius.example.fowlerdsl.ui
> org.eclipse.sirius.example.fowlerdsl.design)
I'm not familiar with this specific example, but yes you probably need
all of these.
> When I import these four examples and the
> org.obeonetwork.dsl.viewpoint.xtext.support, should I import them as
> "Existing projects into Workspace"?
As a first step, yes, but they are Eclipse plug-ins, so if you want to
actually use them you'll need to either build and install them into your
Eclipse instance, or (simpler) launch a runtime from that instance.
Regards,
Pierre-Charles
--
Pierre-Charles David - Obeo
Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
|
|
| |
Re: How to run xtext-sirius-integration [message #1726377 is a reply to message #1717195] |
Fri, 11 March 2016 19:37  |
Eclipse User |
|
|
|
Hi,
It seems that Sirius Xtext integration on Transitions does not work. i.e. Let's say we need to show the Embedded Xtext Viewer for a transition double click in the same way that we double click on an State on the diagram. It does not work on transitions (Edges). Do you have any idea what to do ? Obviously, I have set the double click action of the transition edge to OpenEmbeddedEditor (external java action call).
Thanks,
Bests,
Parsa
[Updated on: Fri, 11 March 2016 19:37] by Moderator
|
|
|
Goto Forum:
Current Time: Wed Jul 16 07:55:24 EDT 2025
Powered by FUDForum. Page generated in 0.46298 seconds
|