Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Create Markers not on IResource/IFile
Create Markers not on IResource/IFile [message #336636] Thu, 25 June 2009 16:15 Go to next message
Enduro Opus is currently offline Enduro OpusFriend
Messages: 2
Registered: July 2009
Junior Member
Hi,

I've created an editor plug-in.
The editor creates markers for certain errors via MarkerUtilies.create().

My problem is that the markers are shown on the given IResource (IFile
icon in Package Explorer) and in my editor.

Just like in the Java Editor for Eclipse I only want my markers to appear
in the editor while typing. Only if I save a file the markers should be
created on the IFile.

So how can it be done that my markers are created on my editor view only?

Thanks
Re: Create Markers not on IResource/IFile [message #336652 is a reply to message #336636] Fri, 26 June 2009 05:48 Go to previous message
Dani Megert is currently offline Dani MegertFriend
Messages: 3801
Registered: July 2009
Senior Member
Enduro Opus wrote:
> Hi,
>
> I've created an editor plug-in. The editor creates markers for certain
> errors via MarkerUtilies.create().
>
> My problem is that the markers are shown on the given IResource (IFile
> icon in Package Explorer) and in my editor.
> Just like in the Java Editor for Eclipse I only want my markers to
> appear in the editor while typing. Only if I save a file the markers
> should be created on the IFile.
>
> So how can it be done that my markers are created on my editor view only?
Use org.eclipse.jface.text.source.Annotation. This has been explained
many times in this newsgroup, I suggest to search the archive.

Dani
>
> Thanks
>
Previous Topic:Accessing a file from a plugin Project.
Next Topic:Why some items aren't uninstallable with galileo?
Goto Forum:
  


Current Time: Tue Dec 23 02:24:32 GMT 2014

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

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