Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Extending palette(Same class, different default values)
Extending palette [message #649485] Wed, 19 January 2011 12:48 Go to next message
Adrian Civil is currently offline Adrian CivilFriend
Messages: 10
Registered: January 2011
Junior Member
Hi,

In my model I have a class BuildingBlock that is used to model a certain process. Now there are quite a number of building blocks with different attribute values. I would like to extend the palette in such a way that these different building blocks can be added without having to manually set the attributes. Obviously without adding the different building blocks to the domain model.

This topic discusses a similar problem, but is unclear and does not have any responses...

Any help on how to achieve this are appreciated!
Re: Extending palette [message #649670 is a reply to message #649485] Thu, 20 January 2011 08:53 Go to previous message
Aurélien Pupier is currently offline Aurélien PupierFriend
Messages: 637
Registered: July 2009
Location: Grenoble, FRANCE
Senior Member

Hi,

you can use Feature seq initializer see http://wiki.eclipse.org/GMF_Tutorial_Part_2#Feature_Initiali zers

Regards,


Aurélien Pupier - Red Hat
Senior Software Engineer in Fuse Tooling team
Previous Topic:GMF Xpand templates
Next Topic:Get mouse location
Goto Forum:
  


Current Time: Sat Apr 20 02:01:46 GMT 2024

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

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

Back to the top