[MonoDevelop] Task Class Wizard

dave knottnhupfer at gmail.com
Wed Sep 24 00:46:28 EDT 2008


Hello,

2008/9/22 Michael Hutchinson <m.j.hutchinson at gmail.com>:

> Take a look at
> http://anonsvn.mono-project.com/viewvc/trunk/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Dialogs/OverridesImplementsDialog.cs?view=markup
>
> Maybe you could refactor that into a widget that the class wizard could re-use.

I took a look at this class. It's possible that I can only reuse the
TreeView and the TreeStorage?
So I thought about to create a functional method in a new utility
class which takes a reference of the TreeView and TreeStore and builds
the view.
Furthermore this class owns also a method ( or more ) to add the data.
So both classes (ClassWizard and OverridesImplementDialog) can use the
same code.
Is it ok so?

Sorry for all this questions but I don't will start with the
refactoring before I'm not sure that I'm on the right way :)

cheers,

david
-- 
"Zwei Dinge sind unendlich: das Universum und die menschliche
Dummheit; aber bei dem Universum bin ich mir noch nicht ganz sicher
(Albert Einstein)."


More information about the Monodevelop-list mailing list