Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Create Markers not on IResource/IFile
Create Markers not on IResource/IFile [message #336636] Thu, 25 June 2009 12:15 Go to next message
Eclipse UserFriend
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 01:48 Go to previous message
Eclipse UserFriend
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: Thu May 08 13:17:50 EDT 2025

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

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

Back to the top