Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 329515

Summary: Add API to provide CommitDialog proposals/templates
Product: [Technology] EGit Reporter: Markus Kuppe <bugs.eclipse.org>
Component: MylynAssignee: Project Inbox <egit.mylyn-inbox>
Status: NEW --- QA Contact:
Severity: enhancement    
Priority: P3 CC: nepomuk.seiler, rene.samselnig, wbecker
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
ICommitDialogProposal interface
none
mylyn/context/zip none

Description Markus Kuppe CLA 2010-11-05 03:36:16 EDT
In order to implement Mylyn's commit message proposals/templates in egit [0] some sort of API is required on the egit end.

[0] https://bugs.eclipse.org/bugs/show_bug.cgi?id=306001#c4
Comment 1 Markus Kuppe CLA 2010-11-05 05:01:30 EDT
Created attachment 182459 [details]
ICommitDialogProposal interface
Comment 2 Markus Kuppe CLA 2010-11-05 05:01:32 EDT
Created attachment 182460 [details]
mylyn/context/zip
Comment 3 Markus Kuppe CLA 2010-11-05 05:05:50 EDT
If a service instance of type ICommitDialogProposal is found in the OSGi service registry by org.eclipse.egit.ui, it gets used to pre-format the CommitDialog in the CommitActionHandler class.
If no ICDP can be retrieved, no proposal will be given.

A (mylyn) consumer for this service can be found at Github [0].

[0] https://github.com/lemmy/mylyn-git