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 05:40 Go to next message
keynne Belle is currently offline keynne Belle
Messages: 21
Registered: January 2013
Junior 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 01:28 Go to previous messageGo to next message
keynne Belle is currently offline keynne Belle
Messages: 21
Registered: January 2013
Junior Member

[Updated on: Sun, 08 June 2014 03: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 01:37 Go to previous message
keynne Belle is currently offline keynne Belle
Messages: 21
Registered: January 2013
Junior 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: Wed Jul 30 19:37:34 EDT 2014

Powered by FUDForum. Page generated in 0.02355 seconds