Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Graphiti » Show a diagram in read-only in a view (IViewPart) (Find a solution to view a diagram made with graphiti in a regular Eclipse View without edition capabilities)
Show a diagram in read-only in a view (IViewPart) [message #822201] Fri, 16 March 2012 09:42 Go to next message
Sylvain Dudoit is currently offline Sylvain DudoitFriend
Messages: 5
Registered: August 2011
Junior Member
Hi all,

I made a diagram editor based on Graphiti 0.81 (Indigo).

Now I would like to view my diagrams made with this editor in an Eclipse View.

Could you tell me if it is possible to implement such a case ? (Even by using internal code until this code would be in the API)

Thanks a lot,
Re: Show a diagram in read-only in a view (IViewPart) [message #825998 is a reply to message #822201] Wed, 21 March 2012 14:18 Go to previous message
Michael Wenz is currently offline Michael WenzFriend
Messages: 1921
Registered: July 2009
Location: Walldorf, Germany
Senior Member
Hi Sylvain,

sure, it is possible to implement such a thing, but it is definitely not
trivial. We have this as a requirement in

Basically you should have a close look into the class DiagramEditor and its
superclasses. We very much use the example GEF editor implementations as
basis for our editor. Since GEF does not offer such an integration for
ViewParts you would need to write that for yourself. Sounds like a rather
big topic... Please let us know in case you get something to work.

Previous Topic:Show anchor shapes when connection tool enabled
Next Topic:Would it be possible to set a node background image from project navigator?
Goto Forum:

Current Time: Fri Aug 07 17:38:12 GMT 2020

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

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

Back to the top