Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDani Megert2008-01-25 10:31:18 +0000
committerDani Megert2008-01-25 10:31:18 +0000
commit3387ec3f7020aaf318225e89d9fa59e02d82026d (patch)
treec56b0f413827adf7958fc468aab3160fd4307b1d /org.eclipse.core.filebuffers.tests/plugin.xml
parentd408b8f6601b47a0f9ba12dd55026410c2612a89 (diff)
downloadeclipse.platform.text-3387ec3f7020aaf318225e89d9fa59e02d82026d.tar.gz
eclipse.platform.text-3387ec3f7020aaf318225e89d9fa59e02d82026d.tar.xz
eclipse.platform.text-3387ec3f7020aaf318225e89d9fa59e02d82026d.zip
Committed Andrew's patch to fix 208881: [api] enable document setup participants to customize behaviour based on resource being opened
Diffstat (limited to 'org.eclipse.core.filebuffers.tests/plugin.xml')
-rw-r--r--org.eclipse.core.filebuffers.tests/plugin.xml71
1 files changed, 71 insertions, 0 deletions
diff --git a/org.eclipse.core.filebuffers.tests/plugin.xml b/org.eclipse.core.filebuffers.tests/plugin.xml
new file mode 100644
index 00000000000..0179c9a7b9a
--- /dev/null
+++ b/org.eclipse.core.filebuffers.tests/plugin.xml
@@ -0,0 +1,71 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?eclipse version="3.2"?>
+<plugin>
+<!-- Register IDocumentSetupParticipants against names and extensions that won't interfere with normal operation. -->
+
+<!-- IDocumentSetupParticipant -->
+ <extension point="org.eclipse.core.filebuffers.documentSetup">
+ <participant
+ class="org.eclipse.core.filebuffers.tests.MockDocumentSetupParticipants$TestDSP1"
+ extensions="111foo">
+ </participant>
+ </extension>
+ <extension point="org.eclipse.core.filebuffers.documentSetup">
+ <participant
+ class="org.eclipse.core.filebuffers.tests.MockDocumentSetupParticipants$TestDSP2"
+ fileNames="111fooname,111fooname.111foo">
+ </participant>
+ </extension>
+ <extension point="org.eclipse.core.filebuffers.documentSetup">
+ <participant
+ class="org.eclipse.core.filebuffers.tests.MockDocumentSetupParticipants$TestDSP3"
+ extensions="111foo"
+ fileNames="111fooname,111fooname.111foo">
+ </participant>
+ </extension>
+
+ <!-- IDocumentSetupParticipantExtension ignoring hint -->
+ <extension point="org.eclipse.core.filebuffers.documentSetup">
+ <participant
+ class="org.eclipse.core.filebuffers.tests.MockDocumentSetupParticipants$TestDSP4"
+ extensions="222foo">
+ </participant>
+ </extension>
+ <extension point="org.eclipse.core.filebuffers.documentSetup">
+ <participant
+ class="org.eclipse.core.filebuffers.tests.MockDocumentSetupParticipants$TestDSP5"
+ fileNames="222fooname,222fooname.222foo">
+ </participant>
+ </extension>
+ <extension point="org.eclipse.core.filebuffers.documentSetup">
+ <participant
+ class="org.eclipse.core.filebuffers.tests.MockDocumentSetupParticipants$TestDSP6"
+ extensions="222foo"
+ fileNames="222fooname,222fooname.222foo">
+ </participant>
+ </extension>
+
+ <!-- IDocumentSetupPartcipantExtension selectively picking up hint -->
+ <extension point="org.eclipse.core.filebuffers.documentSetup">
+ <participant
+ class="org.eclipse.core.filebuffers.tests.MockDocumentSetupParticipants$TestDSP7"
+ extensions="333foo"
+ fileNames="333fooname,333fooname.333foo">
+ </participant>
+ </extension>
+ <extension point="org.eclipse.core.filebuffers.documentSetup">
+ <participant
+ class="org.eclipse.core.filebuffers.tests.MockDocumentSetupParticipants$TestDSP8"
+ extensions="444foo"
+ fileNames="444fooname,444fooname.444foo">
+ </participant>
+ </extension>
+ <extension point="org.eclipse.core.filebuffers.documentSetup">
+ <participant
+ class="org.eclipse.core.filebuffers.tests.MockDocumentSetupParticipants$TestDSP9"
+ extensions="555foo"
+ fileNames="555fooname,555fooname.555foo">
+ </participant>
+ </extension>
+</plugin>
+

Back to the top