[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.modeling.gmf] Using images for nodes

Is it possible to use for example a gif-image for a node in GMF? We want to create the initial and final state for a statechart and thought it would be much easier to use image-files rather than creating them in the gmfgraph. Also, is it possible to "load" the image into the .gmfgraph or do we have to manipulate any code to make it work? The first option would of course be the best...

And, we want our nodes to have a fixed size. Even though we set both max, min and preferred size, it doesn't seem to matter, the node can be created in any size in the diagram anyways. We have tried to use the DefaultSizeFacet-option too, but that didn't seem to make any difference...perhaps we used it in the wrong way?

/Linda & Anna