Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Modeling (top-level project) » Tagging model elements using toolbar
Tagging model elements using toolbar [message #761414] Tue, 06 December 2011 12:53 Go to next message
Frederik.Gailly is currently offline Frederik.GaillyFriend
Messages: 2
Registered: December 2011
Junior Member
Hi,

I am developing a modeling tool which must make it easier to annotate the elements of my diagram with some tags that are available in the tool bar. For every tag I have added a creation tool to my gmfTool model. When the modeler drags one of the tools to an entity the corresponding tag must be added to the entity in a similar way that stereotypes are added to an entity.

The problems that I am facing are:
- I cannot hard code a value when I use a feature label mapping
- I have a added the tags to a compartment. However because this compartment is used in combination with different children reference in my gmfmap, the model creates a compartment for every tag.

Thank you
Re: Tagging model elements using toolbar [message #761429 is a reply to message #761414] Tue, 06 December 2011 13:17 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 26287
Registered: July 2009
Senior Member
Please use eclipse.modeling.gmf for questions about GMF.

On 06/12/2011 4:53 AM, Frederik.Gailly wrote:
> Hi,
>
> I am developing a modeling tool which must make it easier to annotate
> the elements of my diagram with some tags that are available in the
> tool bar. For every tag I have added a creation tool to my gmfTool
> model. When the modeler drags one of the tools to an entity the
> corresponding tag must be added to the entity in a similar way that
> stereotypes are added to an entity.
>
> The problems that I am facing are:
> - I cannot hard code a value when I use a feature label mapping
> - I have a added the tags to a compartment. However because this
> compartment is used in combination with different children reference
> in my gmfmap, the model creates a compartment for every tag.
>
> Thank you
Previous Topic:serious help needed with EMF and JEt
Next Topic:Survey on Model Execution
Goto Forum:
  


Current Time: Sun Dec 21 10:12:52 GMT 2014

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

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