Skip to main content



      Home
Home » Modeling » GMF (Graphical Modeling Framework) » Creating a diagram programmatically based on editor id
Creating a diagram programmatically based on editor id [message #124870] Tue, 08 May 2007 11:22 Go to next message
Eclipse UserFriend
Originally posted by: james.willans.xactium.com

I would like to programmtically create a GMF editor based on a handle to
the Resource model to diagram, and the id of the GMF editor to do the
diagramming. How might I go about doing this?

Thanks,

James
Re: Creating a diagram programmatically based on editor id [message #124896 is a reply to message #124870] Wed, 09 May 2007 05:14 Go to previous message
Eclipse UserFriend
Hello James,

You can create FileEditorInput around the diagram file and pass it to the
IWorkbenchPage.openEditor().

-----------------
Alex Shatalin
Previous Topic:GMF and SWT widgets
Next Topic:Labeled Container
Goto Forum:
  


Current Time: Tue Jul 29 06:54:08 EDT 2025

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

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

Back to the top