Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » losed elements when displayed diagram into view
losed elements when displayed diagram into view [message #628703] Thu, 23 September 2010 17:56 Go to next message
mjid is currently offline mjidFriend
Messages: 34
Registered: April 2010
Member
Hello,

I would like to visualize an activity diagram into view.

So i get activity diagram by this code:
diagram = ViewService.createDiagram(ModelElement,PackageEditPart.MODEL _ID,UMLDiagramEditorPlugin.DIAGRAM_PREFERENCES_HINT);
and i passed it to viewer wich is type of GraphicalViewer: viewer.setContents(diagram).

So the diagram result was displayed fine on EditorPart
but not in view.
for example it added two lines for one connector between activities and labels are not showned ...

how can i resolve this?

Cheers,
mjid

[Updated on: Thu, 23 September 2010 17:57]

Report message to a moderator

Re: losed elements when displayed diagram into view [message #628820 is a reply to message #628703] Fri, 24 September 2010 10:01 Go to previous messageGo to next message
mjid is currently offline mjidFriend
Messages: 34
Registered: April 2010
Member
No idea?
Re: losed elements when displayed diagram into view [message #629238 is a reply to message #628820] Mon, 27 September 2010 14:47 Go to previous message
mjid is currently offline mjidFriend
Messages: 34
Registered: April 2010
Member
Is there something to make for viewer to display diagram correctly?
Previous Topic:GMF Editor: Several XSD schema files to on ecore model?
Next Topic:Generate text/html file from gmf-domainmodel
Goto Forum:
  


Current Time: Thu Apr 25 15:58:20 GMT 2024

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

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

Back to the top