[RFC] Workingstyle of different VCS systems

Andras Mantia amantia at kde.org
Fri Apr 13 16:34:32 UTC 2007


On Friday 13 April 2007, Matthew Woehlke wrote:
> I think we are talking about the same thing. If the interface with
> diff() is implemented, the objective is for KDevelop to add that to
> the context menu, right? So in this instance the plug-in says "I
> implement diff()", and KDevelop asks if it does and then adds
> "Diff...", yes? IIUC things that don't have an interface are added
> explicitly by the plugin.

I think you missunderstood how the KDevelop platform works. Here it is 
not "KDevelop" who asks the plugins what do they support and add menus 
based on them, but the plugins are the ones who fill up the menus! And 
this is one of the reasons why there shouldn't be everything in the 
interface. If your vcs plugin has an entry called "Cool" and no other 
vcs plugin supports this "cool" action, the plugin could still provide 
it in the context menu.

Andras

-- 
Quanta Plus developer - http://quanta.kdewebdev.org
K Desktop Environment - http://www.kde.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20070413/e80c9923/attachment.sig>


More information about the KDevelop-devel mailing list