Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » User-configurable icons and shapes
User-configurable icons and shapes [message #220046] Wed, 25 February 2009 19:26 Go to next message
Marcin Cylke is currently offline Marcin CylkeFriend
Messages: 61
Registered: July 2009
Member
Hello

Is it possible to create such an editor that would allow selection of
decoration icons and even shapes from a defined set? I would like to allow
users of my application to create objects of the same kind but with
different diagram figures, etc.

So, is it possible? If yes, is it trivial or extremally complicated and
not worthy of implementing?

Marcin
Re: User-configurable icons and shapes [message #220057 is a reply to message #220046] Thu, 26 February 2009 10:16 Go to previous messageGo to next message
Alexander Shatalin is currently offline Alexander ShatalinFriend
Messages: 2928
Registered: July 2009
Senior Member
Hello Marcin,

I think it is possible, but it is not an easy job - this use case is not
covered by GMF generator now, so you have to code it manually.

-----------------
Alex Shatalin
Re: User-configurable icons and shapes [message #220068 is a reply to message #220057] Thu, 26 February 2009 11:03 Go to previous messageGo to next message
Dimitrios Kolovos is currently offline Dimitrios KolovosFriend
Messages: 1776
Registered: July 2009
Senior Member
Hi Marcin,

We've needed to implement something similar recently: to allow users
select a custom image for each node in the diagram. I've scribbled some
instructions on how this can be done in
http://epsilonlabs.wiki.sourceforge.net/Nodes+with+user+defi ned+images+at+runtime
.. It may not be exactly what you need but can hopefully give you some
starting points.

Cheers,
Dimitris

Alex Shatalin wrote:
> Hello Marcin,
>
> I think it is possible, but it is not an easy job - this use case is not
> covered by GMF generator now, so you have to code it manually.
>
> -----------------
> Alex Shatalin
>
>
Re: User-configurable icons and shapes [message #220085 is a reply to message #220068] Thu, 26 February 2009 16:44 Go to previous message
Marcin Cylke is currently offline Marcin CylkeFriend
Messages: 61
Registered: July 2009
Member
Thank You, I will look into this code.
Previous Topic:modify duplicate action
Next Topic:How to store my workflow model to this structure
Goto Forum:
  


Current Time: Fri Mar 05 17:10:11 GMT 2021

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

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

Back to the top