Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Graphiti » Newbie Question(Graphiti and Master/Details)
Newbie Question [message #1007404] Tue, 05 February 2013 18:22 Go to next message
Iain Wilson is currently offline Iain WilsonFriend
Messages: 3
Registered: February 2013
Junior Member
I have an RCP based editor where the editor page uses the master-details pattern. I currently have a page-flow editor for web based wizard definition implemented using Zest but would like to upgrade to use Graphiti. Can a Graphiti editor be implemented within an IDetailsPage - documentation I have sen suggests not but I wondered whether anyone in the wider community had done this?
Re: Newbie Question [message #1007561 is a reply to message #1007404] Wed, 06 February 2013 13:37 Go to previous messageGo to next message
Michael Wenz is currently offline Michael WenzFriend
Messages: 1931
Registered: July 2009
Location: Walldorf, Germany
Senior Member
Iain,

well, I would rather sort this in under "advanced questions"... ;-)

Graphiti currently offers an editor to embed only (there's currently work
starting on providing diagrams in views, but that is still in an early
stage). So you would need to use the DiagramEditor and its interface to
embed the editor as a form page. This means you have to map the lifecycle
events but also care about the right environment (e.g. EMF editiong domain,
command stack) for using the Graphiti DiagramEditor inside your editor as a
inner part of.

That will definitely not be easy and I haven't tried that. I would guess
that it could be possible that there will be many traps and issues you will
need to work through.

An alternative would be to wait for the availability of diagrams in views
(which would provide probably some kind of diagram composite you could
embed). See https://bugs.eclipse.org/bugs/show_bug.cgi?id=352120 for
details.

Michael
Re: Newbie Question [message #1007592 is a reply to message #1007561] Wed, 06 February 2013 15:57 Go to previous messageGo to next message
Iain Wilson is currently offline Iain WilsonFriend
Messages: 3
Registered: February 2013
Junior Member
Thanks Michael. I know it's a fairly complex question, the newbie part was about me! That change looks like it could be just what I need. Do you know whether these changes will be compatible with Eclipse 3.7 - this is the version our application is based upon. Also, do you have any idea when a new version of Graphiti would be made available that includes this bug fix?

Sorry - I'm not normally this demanding!

Cheers.
Re: Newbie Question [message #1008283 is a reply to message #1007592] Mon, 11 February 2013 07:49 Go to previous messageGo to next message
Michael Wenz is currently offline Michael WenzFriend
Messages: 1931
Registered: July 2009
Location: Walldorf, Germany
Senior Member
Iain,

that's ok, at least these are just question and I can try to answer them...
;-)

The next release of Graphiti will happen in June together with Eclipse
Kepler, that's the part that is for sure. I do not yet know if the diagrams
in views feature will become part of that, because the thing just started
and there is still quite some work involved to get that sorted out with e.g.
respect to compatibility. And feature freeze is soon, M6 is the milestone
for this and it is due March 22nd.

Regarding compatibility with Eclipse 3.7, the answer is also I'm not sure:
usually we support the current Eclipse version and the one before with a new
release of Graphiti. For the Graphiti Kepler release that would mean Kepler
(4.3) and Juno (4.2/3.8). So far there were no changes in the APIs of the
projects we use that forced us to require a higher version than what's in
Eclipse 3.7 and actually we didn't increase the required version numbers so
far. So, currently the upcoming Graphiti version for Kepler would still be
compatible with 3.7. But that might still change and we usually do not test
against a 2 version back Eclipse.

HTH,
Michael
Re: Newbie Question [message #1008597 is a reply to message #1008283] Wed, 13 February 2013 09:05 Go to previous message
Iain Wilson is currently offline Iain WilsonFriend
Messages: 3
Registered: February 2013
Junior Member
Thanks for your help Michael.
Previous Topic:Problem with rendering of elements
Next Topic:Connection Decorator with Text
Goto Forum:
  


Current Time: Thu Mar 28 20:06:33 GMT 2024

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

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

Back to the top