Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeff Johnston2009-02-21 00:03:22 +0000
committerJeff Johnston2009-02-21 00:03:22 +0000
commit22c622739601a84d69b77ea28730a738e7bbc7a6 (patch)
tree01f9430e2926c4f419f27dd3baf203fc0d5f811c /changelog/org.eclipse.linuxtools.changelog.core/plugin.xml
parent896d819d1fa8c914579690b31ff8f58b449ee254 (diff)
downloadorg.eclipse.linuxtools-22c622739601a84d69b77ea28730a738e7bbc7a6.tar.gz
org.eclipse.linuxtools-22c622739601a84d69b77ea28730a738e7bbc7a6.tar.xz
org.eclipse.linuxtools-22c622739601a84d69b77ea28730a738e7bbc7a6.zip
2009-02-20 Jeff Johnston <jjohnstn@redhat.com>
Resolves #264343 * src/org/eclipse/linuxtools/changelog/core/editors/ChangeLogDocumentSetupParticipant.java: New file. * src/org/eclipse/linuxtools/changelog/core/editors/GNUFileEntryDamagerRepairer.java: New file. * src/org/eclipse/linuxtools/changelog/core/editors/GNUFileEntryRule.java: New file. * src/org/eclipse/linuxtools/changelog/core/editors/GNUPartitionScanner.java: New file. * src/org/eclipse/linuxtools/changelog/core/editors/MultilineRuleDamagerRepairer.java: New file. * src/org/eclipse/linuxtools/changelog/core/IEditorChangeLogContrib2.java: New file. * build.properties: Add schema directory. * plugin.xml: Add DocumentSetupParticipant extension to point to ChangeLogDocumentSetupParticipant. * src/org/eclipse/linuxtools/changelog/core/editors/GNUEditorConfiguration.java (getPresentationReconciler): (setup): New method to set up partitioning. From IEditorChangeLogContrib2 interface. (getConfiguredDocumentPartitioning): Return CHANGELOG_PARTITIONING string. (getConfiguredContentTypes): Return the various content types of GNU Partition scanner. * src/org/eclipse/linuxtools/changelog/core/editors/GNUElementScanner.java (getOffset): (getDefaultToken): New. (GNUElementScanner): Add new GNUFileEntryRule to find file entries. * src/org/eclipse/linuxtools/changelog/core/editors/GNUHyperlinkDetector.java (detectHyperlinks): Change to set range to current partition to allow for multiple file entries in a single ChangeLog entry. Also be prepared to strip off trailing colon if needed.
Diffstat (limited to 'changelog/org.eclipse.linuxtools.changelog.core/plugin.xml')
-rw-r--r--changelog/org.eclipse.linuxtools.changelog.core/plugin.xml9
1 files changed, 9 insertions, 0 deletions
diff --git a/changelog/org.eclipse.linuxtools.changelog.core/plugin.xml b/changelog/org.eclipse.linuxtools.changelog.core/plugin.xml
index e47449d407..3b4a62874b 100644
--- a/changelog/org.eclipse.linuxtools.changelog.core/plugin.xml
+++ b/changelog/org.eclipse.linuxtools.changelog.core/plugin.xml
@@ -108,6 +108,7 @@
</formatter>
</extension>
<extension
+ id="org.eclipse.linuxtools.changelog.core.editor"
point="org.eclipse.ui.editors">
<editor
class="org.eclipse.linuxtools.changelog.core.editors.ChangeLogEditor"
@@ -199,4 +200,12 @@
class="org.eclipse.linuxtools.changelog.core.actions.FormatChangeLogAction"
commandId="org.eclipse.linuxtools.changelog.core.formatChangeLog"/>
</extension>
+ <extension
+ id="org.eclipse.linuxtools.changelog.documentSetup"
+ point="org.eclipse.core.filebuffers.documentSetup">
+ <participant
+ class="org.eclipse.linuxtools.changelog.core.editors.ChangeLogDocumentSetupParticipant"
+ fileNames="ChangeLog">
+ </participant>
+ </extension>
</plugin>

Back to the top