Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 12:29 Go to next message
Maxence VANBÉSIEN is currently offline Maxence VANBÉSIENFriend
Messages: 40
Registered: July 2009
Location: Lille, France
Member
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 12:38 Go to previous messageGo to next message
Maxence VANBÉSIEN is currently offline Maxence VANBÉSIENFriend
Messages: 40
Registered: July 2009
Location: Lille, France
Member
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 14:38 Go to previous message
Alexander Shatalin is currently offline Alexander ShatalinFriend
Messages: 2928
Registered: July 2009
Senior Member
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 Apr 19 22:27:10 GMT 2024

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

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

Back to the top