DZone Forums
Go Back   DZone Forums > Community > Tools & IDEs > Eclipse
Reload this Page [EMF-RCP] Create Marker on a EObject
Notices
Reply
 
LinkBack Thread Tools Display Modes
  (#1 (permalink)) Old
Member
 
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Join Date: Sep 2008
Default [EMF-RCP] Create Marker on a EObject - 09-16-2008, 05:27 AM

hello,

I spent lot of time for resolving my problem and unfortunately nothing was good.

In fact, I have my editor which contains a collection of EObject. I would like when i load a file in this editor, to check it and add some notifications in my problem view if there are some errors.

My problem is for creating the IMarker. For getting the "createMarker" function I need to have a IResource. And until now, the only way i found for getting a IResource is :"ResourcesPlugin.getWorkspace().getRoot()"
But if i click on my marker on the problem view, the resource is not filled, and the link with my object in my editor is not realised. My marker is free and not linked to a "real" resource.

I would like to add a marker, where when i click on it, select automatically my object in my editor. I believe that it can be done with the attribute resource of my Marker no ?

Have you got an idea about the creation of a marker ?

Thanks you for your help, i'm getting crazy with this problem !

Best regards
Reply With Quote
  (#2 (permalink)) Old
Member
 
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Join Date: Jan 2009
Default 01-08-2009, 09:24 PM

I know the answer to this but I am missing one important detail, I will try to get back to you.
Reply With Quote
  (#3 (permalink)) Old
Member
 
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Join Date: Nov 2008
Default 02-03-2009, 03:59 AM

Hi,

I have the same problem.

@bythabay: Could you please post the solution?

Thank You very much.

Gretz
Matthias
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Developing a custom annotation for a marker jasFrank Eclipse 0 02-02-2009 05:18 AM
Create modalpopup in javascript ashfk .NET 0 10-31-2008 02:00 AM
Create new row in TableViewer by tabbing CBMMelb Eclipse 0 09-13-2008 11:40 PM
Show marker on specific view kaprasanna Eclipse 0 07-24-2008 09:20 AM
Marker doesn't show up. kaprasanna Eclipse 0 07-22-2008 08:31 AM


Copyright 1997-2009, DZone, Inc.
vBulletin Skin developed by: vBStyles.com