[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.modeling.gmf] Re: How does code generation and custom code co-exist in a normal project?

Hello RefuX,

p.s. If anyone can tell me how to define the center alignment on a
label in the gmpgraph, that would be great
You are right that this kind of modification should be done directly in .gmfgraph model. See org.eclipse.gmf.graphdef/models/basic.gmfgraph#NamedNode as an example of a node figure with centered label (FlowLayout with majorAlignment="CENTER", minorAlignment="CENTER" was used there).

-----------------
Alex Shatalin