Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Epsilon » GMF-Epsilon transformation
GMF-Epsilon transformation [message #516819] Thu, 25 February 2010 09:46 Go to next message
Zied is currently offline ZiedFriend
Messages: 26
Registered: February 2010
Junior Member
hi,
I'm working to realise an advanced flowchart editor.
my problem is that I want to Construct my nodes from an XML schema when the editor is in initialisation phase.
it's too difficult to do Confused , but I'm asking if there are a M2M tool like EOL or whatever other tool to resolve this problem. Sad

[Updated on: Thu, 25 February 2010 09:49]

Report message to a moderator

Re: GMF-Epsilon transformations [message #516826 is a reply to message #516819] Thu, 25 February 2010 09:54 Go to previous messageGo to next message
Dimitrios Kolovos is currently offline Dimitrios KolovosFriend
Messages: 1776
Registered: July 2009
Senior Member
Hi Zied,

Just to clarify this, do you need to transform an XML Schema (.xsd file)
or an XML file that conforms to this schema into an instance of your
flowchart metamodel?

Cheers,
Dimitris

Zied wrote:
> hi,
> I'm working to realise an advanced flowchart editor.
> my problem is that I want to Construct my nodes from an XML schema when
> the editor is in initialisation phase.
> it's too difficult to do :? , but I'm asking if there are a M2M tool
> like EOL or whatever other tool to resolve this problem. :(


--
Spread the word: http://www.eclipse.org/gmt/epsilon/spreadtheword
Follow Epsilon on Twitter: http://twitter.com/epsilonews
Re: GMF-Epsilon transformations [message #516835 is a reply to message #516826] Thu, 25 February 2010 10:11 Go to previous messageGo to next message
Zied is currently offline ZiedFriend
Messages: 26
Registered: February 2010
Junior Member
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 #516845 is a reply to message #516835] Thu, 25 February 2010 11:02 Go to previous message
Dimitrios Kolovos is currently offline Dimitrios KolovosFriend
Messages: 1776
Registered: July 2009
Senior Member
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 10:11 Go to previous message
Zied is currently offline ZiedFriend
Messages: 26
Registered: February 2010
Junior Member
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 11:02 Go to previous message
Dimitrios Kolovos is currently offline Dimitrios KolovosFriend
Messages: 1776
Registered: July 2009
Senior Member
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
Previous Topic:GMF-Epsilon transformations
Next Topic:[EuGENia] Compartment gets list layout for not annotated elements.
Goto Forum:
  


Current Time: Thu Apr 25 01:34:55 GMT 2024

Powered by FUDForum. Page generated in 0.24839 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top