Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Creating a new Resource Marker
Creating a new Resource Marker [message #323706] Mon, 07 January 2008 02:46 Go to next message
Eclipse UserFriend
I am trying to create a new Resource marker and view the same in Problems
View.

I have defined the marker in my plugin .xml as



<extension

id="docproblem"

name="Javadoc Problem"

point="org.eclipse.core.resources.markers">

<super type="org.eclipse.core.resources.problemmarker"/>

<super type="com.iflex.fcr.tools.plugin.flexcubeapi"/>



<persistent value="false"/>

<attribute name="operation"/>

</extension>

IMarker marker = resource.createMarker(“XXXXXX”);



Can anyone please tell me what should I use in the place of “XXXXXX”??
Re: Creating a new Resource Marker [message #323709 is a reply to message #323706] Mon, 07 January 2008 04:48 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: merks.ca.ibm.com

Vallabh,

You'd use "<plugin-id>.docproblem" where plugin-id is (not surprisingly)
the ID of the plugin that contains the plugin.xml below. BTW, is
"com.iflex.fcr.tools.plugin.flexcubeapi" the ID of another registered
marker type?


Vallabh wrote:
> I am trying to create a new Resource marker and view the same in
> Problems View.
>
> I have defined the marker in my plugin .xml as
>
>
>
> <extension
>
> id="docproblem"
>
> name="Javadoc Problem"
>
> point="org.eclipse.core.resources.markers">
>
> <super type="org.eclipse.core.resources.problemmarker"/>
>
> <super type="com.iflex.fcr.tools.plugin.flexcubeapi"/>
>
>
> <persistent value="false"/>
>
> <attribute name="operation"/>
>
> </extension>
>
> IMarker marker = resource.createMarker(�XXXXXX�);
>
>
>
> Can anyone please tell me what should I use in the place of �XXXXXX�??
>
>
Re: Creating a new Resource Marker [message #323711 is a reply to message #323709] Mon, 07 January 2008 05:21 Go to previous messageGo to next message
Eclipse UserFriend
Hi,
thanks a lot for your reply.

No you can ignore the
<super type="com.iflex.fcr.tools.plugin.flexcubeapi"/> It has no
significance in this context.

Regards,
Re: Creating a new Resource Marker [message #323712 is a reply to message #323706] Mon, 07 January 2008 05:24 Go to previous messageGo to next message
Eclipse UserFriend
Vallabh wrote:

> I am trying to create a new Resource marker and view the same in Problems
> View.

> I have defined the marker in my plugin .xml as



> <extension

> id="docproblem"

> name="Javadoc Problem"

> point="org.eclipse.core.resources.markers">

> <super type="org.eclipse.core.resources.problemmarker"/>

> <super type="com.iflex.fcr.tools.plugin.flexcubeapi"/>



> <persistent value="false"/>

> <attribute name="operation"/>

> </extension>

> IMarker marker = resource.createMarker(“XXXXXX”);



> Can anyone please tell me what should I use in the place of “XXXXXX”??
Hi,

Thanks a lot for ur valuable reply.

You can ignore the other super tag. It has no significance in this context.

REgards,
Re: Creating a new Resource Marker [message #323714 is a reply to message #323709] Mon, 07 January 2008 05:26 Go to previous message
Eclipse UserFriend
Hi,

thanks a lot for your valuable reply.

No you can ignore the "com.iflex.fcr.tools.plugin.flexcubeapi" it has not
significance.
Previous Topic:Mac OS X specific problem reading @WebService annotation
Next Topic:Using Reflect API in JDT
Goto Forum:
  


Current Time: Wed Jul 16 05:25:10 EDT 2025

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

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

Back to the top