summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Sawicki2011-04-14 16:56:26 (EDT)
committer Chris Aniszczyk2011-04-14 16:58:54 (EDT)
commit7e4c93060b6ad4f107032e110e7c0e8656aa35bf (patch)
tree77d8e57516d3f240372a975635c6050f4ce2fbda
parent47548208a571625df8ae14167d0922f91b0aebbb (diff)
downloadegit-github-7e4c93060b6ad4f107032e110e7c0e8656aa35bf.zip
egit-github-7e4c93060b6ad4f107032e110e7c0e8656aa35bf.tar.gz
egit-github-7e4c93060b6ad4f107032e110e7c0e8656aa35bf.tar.bz2
Register Gist core and UI repository connector extension pointsrefs/changes/24/3124/3
Change-Id: If976f0206002bcb6506f42b92f566646b4c28373 Signed-off-by: Kevin Sawicki <kevin@github.com> Signed-off-by: Chris Aniszczyk <caniszczyk@gmail.com>
-rw-r--r--org.eclipse.mylyn.github.ui/plugin.properties4
-rw-r--r--org.eclipse.mylyn.github.ui/plugin.xml19
2 files changed, 22 insertions, 1 deletions
diff --git a/org.eclipse.mylyn.github.ui/plugin.properties b/org.eclipse.mylyn.github.ui/plugin.properties
index da94029..5ada5ce 100644
--- a/org.eclipse.mylyn.github.ui/plugin.properties
+++ b/org.eclipse.mylyn.github.ui/plugin.properties
@@ -1,2 +1,4 @@
org.eclipse.mylyn.github.ui.internal.GitHubRepositoryConnector=GitHub repository connector
-org.eclipse.mylyn.github.ui.internal.GitHubRepositoryConnectorUI=GitHub repository connector UI \ No newline at end of file
+org.eclipse.mylyn.github.ui.internal.GitHubRepositoryConnectorUI=GitHub repository connector UI
+gistCoreConnectorName=GitHub Gist repository connector
+gistUiConnectorName=GitHub Gist repository connector UI \ No newline at end of file
diff --git a/org.eclipse.mylyn.github.ui/plugin.xml b/org.eclipse.mylyn.github.ui/plugin.xml
index b92fc81..fdb87c4 100644
--- a/org.eclipse.mylyn.github.ui/plugin.xml
+++ b/org.eclipse.mylyn.github.ui/plugin.xml
@@ -22,6 +22,10 @@
class="org.eclipse.mylyn.github.ui.internal.GitHubTaskEditorPageFactory"
id="org.eclipse.mylyn.github.ui.internal.GitHubTaskEditorPageFactory">
</pageFactory>
+ <pageFactory
+ class="org.eclipse.mylyn.internal.github.ui.gist.GistTaskEditorPageFactory"
+ id="org.eclipse.mylyn.internal.github.ui.gist.GistTaskEditorPageFactory">
+ </pageFactory>
</extension>
<extension
point="org.eclipse.ui.commands">
@@ -72,5 +76,20 @@
commandId="org.eclipse.mylyn.github.ui.command.createGist">
</handler>
</extension>
+ <extension
+ point="org.eclipse.mylyn.tasks.ui.repositories">
+ <connectorCore
+ class="org.eclipse.mylyn.internal.github.core.gist.GistConnector"
+ id="org.eclipse.mylyn.internal.github.core.gist.GistConnector"
+ name="%gistCoreConnectorName">
+ </connectorCore>
+ <connectorUi
+ brandingIcon="icons/obj16/github.png"
+ class="org.eclipse.mylyn.internal.github.ui.gist.GistConnectorUi"
+ id="org.eclipse.mylyn.internal.github.ui.gist.GistConnectorUi"
+ name="%gistUiConnectorName"
+ overlayIcon="icons/obj16/github_8x8.png">
+ </connectorUi>
+ </extension>
</plugin>