Skip to main content



      Home
Home » Newcomers » Newcomers » Problem with matchingStrategy when registering an Editor in my own Plugin
Problem with matchingStrategy when registering an Editor in my own Plugin [message #93194] Mon, 08 August 2005 07:22
Eclipse UserFriend
Originally posted by: carsten_michel.stercomm.com

Hello!
I would like to use the matchingStrategy Feature when registering my
Editor to my Plugin to be able to use it only on some specific files.
I implemented the Interface for that and registered the Class in
Plugin.xml but the code does not get executed. I put a breakpoint on it
while using the Debugger but still the same.
here is how my plugin.xml looks like. As you can see I am trying to bind
the Editor only to a specific kind of XML Files

<editor
class="com.bla.BlaEditor"
filenames="*.xml"
icon="icons/propEd.gif"
id="com.bla.BlaEditor"
matchingStrategy="com.bla.BlaEditorMatchingStrategy"
name="Bla Editor">
</editor>

I also tried using the
default="true" attribute, but it did not make any difference

Many thanks for having a look
Carsten
Previous Topic:Class not found exception - how to understand why
Next Topic:Any Idea about this screen shot
Goto Forum:
  


Current Time: Sat Jun 07 13:24:03 EDT 2025

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

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

Back to the top