|Re: Opening XText Editor Programmatically [message #1051099 is a reply to message #1042819]
||Sun, 28 April 2013 07:38
|| Lorenzo Bettini
Registered: July 2009
Location: Firenze, Italy
On 04/17/2013 01:16 AM, Roza Ghamari wrote:|
> I have a related question. I'd like to use the Xtext editor, but I am
> not creating any IProject or IWorkspace in my application. Does this
> mean that I cannot get the Xtext editor? Is there any way to mock
> iproject or create a dummy iproject?
> Thanks for your help in advance.
I once did that by creating automatically a project in the workspace
(hidden) and then create a file in that project with some specific
contents and then open the Xtext editor on that file.
The scenario was using Xtext editors in the Bpel designer.
That was the solution I found at that time (see this old project
Since Xtext introduced the embedded xtext editor, I switched to that
solution (embeddable Xtext editors in the bpel designer is going to be
part of the bpel designer, it's already in the git repo of bpel project,
see the discussion here
hope this helps
Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino
Powered by FUDForum
. Page generated in 0.02487 seconds