Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 329515 - Add API to provide CommitDialog proposals/templates
Summary: Add API to provide CommitDialog proposals/templates
Status: NEW
Alias: None
Product: EGit
Classification: Technology
Component: Mylyn (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 enhancement with 2 votes (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-05 03:36 EDT by Markus Kuppe CLA
Modified: 2013-04-28 06:47 EDT (History)
3 users (show)

See Also:


Attachments
ICommitDialogProposal interface (7.17 KB, patch)
2010-11-05 05:01 EDT, Markus Kuppe CLA
no flags Details | Diff
mylyn/context/zip (3.69 KB, application/octet-stream)
2010-11-05 05:01 EDT, Markus Kuppe CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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