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.
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