I search for way to automatically generate class body from interface definition, I found on SO: http://stackoverflow.com/questions/5770200/delphi-keystroke-or-ide-option-to-populate-interface-elements-on-a-class
I search for way to automatically generate class body from interface definition, I found on SO: http://stackoverflow.com/questions/5770200/delphi-keystroke-or-ide-option-to-populate-interface-elements-on-a-class
In answers Jeroen Wiert Pluimers wrote:
"Delphi itself doesn't have a shortcut for this, but Modelmaker Code Explorer allows you to have a class implement an interface including generating all the empty method stubs.
shareedit"
...but I don't know how to do this in MMX, please help.
btw maybe this feature is possible to add to gexperts (Thomas Mueller) ? ;-)
http://stackoverflow.com/questions/5770200/delphi-keystroke-or-ide-option-to-populate-interface-elements-on-a-class
In answers Jeroen Wiert Pluimers wrote:
"Delphi itself doesn't have a shortcut for this, but Modelmaker Code Explorer allows you to have a class implement an interface including generating all the empty method stubs.
shareedit"
...but I don't know how to do this in MMX, please help.
btw maybe this feature is possible to add to gexperts (Thomas Mueller) ? ;-)
http://stackoverflow.com/questions/5770200/delphi-keystroke-or-ide-option-to-populate-interface-elements-on-a-class
Implementing interface with MMX is easy. Just drag the required interface in the MMX explorer panel over the class (you will see the cursor change) and a wizard will pop up. There you can customize the implementation detail.
ReplyDeleteJacek Laskowski Here is how you do it with MMX: http://modelmakertools.com/movies/mmx-interface-wizard.htm
ReplyDeletemodelmakertools.com - ModelMaker Tools: ModelMaker Code Explorer - Interface Wizard demo
Carlos Tré thx
ReplyDelete