Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » How to define a content provider for graph containers?
How to define a content provider for graph containers? [message #1385495] Sat, 07 June 2014 09:40 Go to next message
keynne Belle is currently offline keynne BelleFriend
Messages: 30
Registered: January 2013
Member
Hello.
I have created a graph comprising GraphContainers. I want to display this graph in a view but I need to specify a content provider and a label provider for that view. Can you give me an example of such providers?
Thank you in advance.
Re: How to define a content provider for graph containers? [message #1385509 is a reply to message #1385495] Sun, 08 June 2014 05:28 Go to previous messageGo to next message
keynne Belle is currently offline keynne BelleFriend
Messages: 30
Registered: January 2013
Member

[Updated on: Sun, 08 June 2014 07:11]

Report message to a moderator

Re: How to define a content provider for graph containers? [message #1385510 is a reply to message #1385495] Sun, 08 June 2014 05:37 Go to previous message
keynne Belle is currently offline keynne BelleFriend
Messages: 30
Registered: January 2013
Member
I finally found a solution that does not involve providers. In fact, to display my graph, I had created a view and used a GraphViewer to hold the content of my graph. This requires to specify the providers of the GraphViewer. I finally deleted all the code related to the GraphViever and used a Graph instead. Now, it's working Smile Smile .
Previous Topic:When are a Figure's bounds available with getBounds()?
Next Topic:How to select figures in a ViewPart?
Goto Forum:
  


Current Time: Tue Mar 19 05:48:04 GMT 2024

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

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

Back to the top