Is it possible customize EMF Tree Editor programmatically ? [message #515262] |
Thu, 18 February 2010 05:03  |
Eclipse User |
|
|
|
Hello!
I'm developing EMF editor and I have customized it manually, to do it
I have to modify over 30 java files, now I would want to do this customization
programmatically using only a file.
For GMF, I use EuGENia to customize editors, for EMF I know Epsilon Exeed but
It works with Reflective editors and I need to do it with Tree Editors and
I don't know any tool that let me this.
Does Anyone know a tool to customize EMF tree editor such as EuGENia for GMF?
Thanks, Regards
Álvaro
|
|
|
|
|
Re: Is it possible customize EMF Tree Editor programmatically ? [message #515984 is a reply to message #515950] |
Mon, 22 February 2010 06:52  |
Eclipse User |
|
|
|
Hi Alvaro,
To store the output in a file, in the launch configuration you can
select the "Generate text to a file" option.
Cheers,
Dimitris
ajimenezr wrote:
> Hi Dimitris,
>
> I'll develop your idea, so now I'm practising with EGL.
> I want launch an EGL file which its target is the console but I want to
> generate the same code to a file(output.txt).
>
> I have seen examples that using severals EGL files to write to a file, eg.:
> driver.egl:
> [%
> for (i in Sequence{1..10}) {
> var delegate : Template;
> -- Pass parameters to the template
> delegate := TemplateFactory.load('delegate.egl');
> delegate.populate('foo', i);
> delegate.store(i+'.txt', true);
> }
> %]
>
> delegate.egl:
> [%=foo%]
>
> but I would like do it using only one EGL file. It is possible?
>
> Thanks for your help,
> Álvaro
--
Spread the word: http://www.eclipse.org/gmt/epsilon/spreadtheword
Follow Epsilon on Twitter: http://twitter.com/epsilonews
|
|
|
Re: Is it possible customize EMF Tree Editor programmatically ? [message #586553 is a reply to message #515264] |
Mon, 22 February 2010 05:33  |
Eclipse User |
|
|
|
Hi Dimitris,
I'll develop your idea, so now I'm practising with EGL.
I want launch an EGL file which its target is the console but
I want to generate the same code to a file(output.txt).
I have seen examples that using severals EGL files to write to a file, eg.:
driver.egl:
[%
for (i in Sequence{1..10}) {
var delegate : Template;
-- Pass parameters to the template
delegate := TemplateFactory.load('delegate.egl');
delegate.populate('foo', i);
delegate.store(i+'.txt', true);
}
%]
delegate.egl:
[%=foo%]
but I would like do it using only one EGL file. It is possible?
Thanks for your help,
Álvaro
|
|
|
Re: Is it possible customize EMF Tree Editor programmatically ? [message #586608 is a reply to message #586553] |
Mon, 22 February 2010 06:52  |
Eclipse User |
|
|
|
Hi Alvaro,
To store the output in a file, in the launch configuration you can
select the "Generate text to a file" option.
Cheers,
Dimitris
ajimenezr wrote:
> Hi Dimitris,
>
> I'll develop your idea, so now I'm practising with EGL.
> I want launch an EGL file which its target is the console but I want to
> generate the same code to a file(output.txt).
>
> I have seen examples that using severals EGL files to write to a file, eg.:
> driver.egl:
> [%
> for (i in Sequence{1..10}) {
> var delegate : Template;
> -- Pass parameters to the template
> delegate := TemplateFactory.load('delegate.egl');
> delegate.populate('foo', i);
> delegate.store(i+'.txt', true);
> }
> %]
>
> delegate.egl:
> [%=foo%]
>
> but I would like do it using only one EGL file. It is possible?
>
> Thanks for your help,
> Álvaro
--
Spread the word: http://www.eclipse.org/gmt/epsilon/spreadtheword
Follow Epsilon on Twitter: http://twitter.com/epsilonews
|
|
|
Powered by
FUDForum. Page generated in 0.03488 seconds