Skip to main content



      Home
Home » Modeling » GMF (Graphical Modeling Framework) » Fill/Font/Line styles added on View creation
Fill/Font/Line styles added on View creation [message #237563] Mon, 27 July 2009 08:29 Go to next message
Eclipse UserFriend
Hello,

I would like to have created Nodes with automatically applied FillStyle,
FontStyle and LineStyle.

I saw in the generated code that to add this feature, I only have to
modify the createFoo_1000 (for instance) generated method, to add the new
styles. But I would like to make this feature appear in the
gmfgraph/gmfmap/gmfgen model, so the code generation is automatically
taking this in consideration.

Is this possible ? How can I do that ?

Thanks in advance,

Maxence
Re: Fill/Font/Line styles added on View creation [message #237568 is a reply to message #237563] Mon, 27 July 2009 08:38 Go to previous messageGo to next message
Eclipse UserFriend
Oops... I forgot to mention that this createFoo_1000() method was located
in the XXXViewProvider class...

sorry for the inconvenience.

Maxence
Re: Fill/Font/Line styles added on View creation [message #237634 is a reply to message #237563] Mon, 27 July 2009 10:38 Go to previous message
Eclipse UserFriend
Hello Maxence,

Try setting Font/Colof for the corresponding figure in .gmfgraph model.

-----------------
Alex Shatalin
Previous Topic:GMF Propsheet Customization
Next Topic:save as. How can I make a copy from the model and diagram file?
Goto Forum:
  


Current Time: Fri Jul 04 18:25:59 EDT 2025

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

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

Back to the top