|Extension of Subversive-Plug-In [message #557924]
||Thu, 09 September 2010 08:40
| JC Temp
Registered: September 2010
Hi @ all,|
I'm using the Subversive-plugIn for Eclipse to check in/out code to and from my subversion-repository.
Beside the subversive-history I have got an own historyfile on a server (System i) which I have to edit everytime I commit a java-source. To improve the usability of the plugIn I've started to implemet a data-interchange into that plugIn, using the "commit" exit point.
Therefore I had to extend some classes and manipulate them. I don't like that solution because it is very rude. And finally I stuck at the point where I can retrieve information about comitted resources.
So here are my questions:
- I use the extension-point "commit". How can I write my own (initial) text into the comment-text-box?
- After hitting the OK-button to commit my sources to the repository I need to know which java-files were commited and wheather they were added/deleted/changed/... The version of the source is important too. How can I get this information?
The methods where I want to perform some "actions" are the implemented methods getCommitDialog and performAfterCommitTasks of the interface ICommitActionFactory (inside an own new class).
I've found out that the commit-panel (the text is transfered as parameter into the commit-panels constructor) is already created when the exit is called. And therefore it's to late to write an individual text into the comment-text-box.
Are there some other exits which I can use to continue my implementation?
Powered by FUDForum
. Page generated in 0.01781 seconds