Problem with matchingStrategy when registering an Editor in my own Plugin [message #93194] |
Mon, 08 August 2005 07:22 |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.08267 seconds