|
|
|
Re: GMF-Epsilon transformations [message #516845 is a reply to message #516835] |
Thu, 25 February 2010 06:02  |
Eclipse User |
|
|
|
Hi Zied,
So what you really need is your palette to be configured by this XML
file. I'm not aware of any built-in support for this in GMF (let alone
in EuGENia) so my guess is that you'll have to code your way through
this (i.e. modify/extend the generated GMF code). Unfortunately, I don't
have much experience with this so I can't provide any more detailed
hints as to how you should go about doing this.
Cheers,
Dimitris
Zied wrote:
> Hi Dimitris,
> I want to add custom nodes to my editor so I need to generate new types
> that implement a basic type "IShape" , the new types are defined in an
> XML file.
> I'm not using XSD file yet.
>
> portion of the XML file
>
> <Nodes>
> <Action alt="Action.png" type="IShape"> </Action>
> </Nodes>
>
--
Spread the word: http://www.eclipse.org/gmt/epsilon/spreadtheword
Follow Epsilon on Twitter: http://twitter.com/epsilonews
|
|
|
Re: GMF-Epsilon transformations [message #586806 is a reply to message #516826] |
Thu, 25 February 2010 05:11  |
Eclipse User |
|
|
|
Hi Dimitris,
I want to add custom nodes to my editor so I need to generate new types that implement a basic type "IShape" , the new types are defined in an XML file.
I'm not using XSD file yet.
portion of the XML file
<Nodes>
<Action alt="Action.png" type="IShape"> </Action>
</Nodes>
|
|
|
Re: GMF-Epsilon transformations [message #586816 is a reply to message #516835] |
Thu, 25 February 2010 06:02  |
Eclipse User |
|
|
|
Hi Zied,
So what you really need is your palette to be configured by this XML
file. I'm not aware of any built-in support for this in GMF (let alone
in EuGENia) so my guess is that you'll have to code your way through
this (i.e. modify/extend the generated GMF code). Unfortunately, I don't
have much experience with this so I can't provide any more detailed
hints as to how you should go about doing this.
Cheers,
Dimitris
Zied wrote:
> Hi Dimitris,
> I want to add custom nodes to my editor so I need to generate new types
> that implement a basic type "IShape" , the new types are defined in an
> XML file.
> I'm not using XSD file yet.
>
> portion of the XML file
>
> <Nodes>
> <Action alt="Action.png" type="IShape"> </Action>
> </Nodes>
>
--
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.05060 seconds