|
Re: Using Xtext code in an Eclipse Plugin [message #998199 is a reply to message #998001] |
Wed, 09 January 2013 14:48 |
Henrik Lindberg Messages: 2509 Registered: July 2009 |
Senior Member |
|
|
Since it seems like you are going to be installing your bundles into an
IDE, you really do not need to do much. Sounds like you need an Eclipse
Feature that includes your other bundles. This is the thing users
install into their IDE.
There is nothing Xtext specific about that BTW.
Regards
- henrik
On 2013-09-01 14:24, Mohammad Javad Dousti wrote:
> I have written two plugins:
>
> 1- A text editor based on Xtext 2.3.1 which comprises of four projects.
> First is the source project, second is the UI, third is SDK, and last is
> the test. I know how to export this project as a plugin and use it
> inside Eclipse 4.2 (Juno). This editor works on the extensions of 'myDSL'.
>
> 2- A wizard which is triggered from File->Menu and creates a file with
> the extension 'myDSL'.
>
> I would like to combine these two plugin projects into one. I have read
> the following section of Xtext documentation:
> http://www.eclipse.org/Xtext/documentation.html#equinoxSetup.
> Unfortunately, I could not get it to work. First of all, I am not sure
> if I need to combine the files of two projects or just add the Xtext
> project as the dependency of the other project. In either case, which
> one of the Xtext project should I consider? The main project or the UI
> project? (Actually, I do not know the exact difference between them).
> Second, I do not know what <MyDsl>ExecutableExtensionFactory should be
> replaced with.
|
|
|
Powered by
FUDForum. Page generated in 0.03172 seconds