Archives

Next Archive Previous Archive

01 Sep - 30 Sep 2003
01 Oct - 31 Oct 2003
01 Nov - 30 Nov 2003
01 Jan - 31 Jan 2004
01 Feb - 28 Feb 2004
01 Mar - 31 Mar 2004
01 May - 31 May 2004
01 June - 30 June 2004
01 Jul - 31 Jul 2004
01 Nov - 30 Nov 2004
01 Jan - 31 Jan 2005
01 Apr - 30 Apr 2005
01 May - 31 May 2005
01 Jul - 31 Jul 2005
01 Aug - 31 Aug 2005
01 Sep - 30 Sep 2005
01 Oct - 31 Oct 2005
01 Nov - 30 Nov 2005
01 Dec - 31 Dec 2005
01 Jan - 31 Jan 2006
01 Feb - 28 Feb 2006
01 Mar - 31 Mar 2006
01 May - 31 May 2006
01 June - 30 June 2006
01 Aug - 31 Aug 2006
01 Sep - 30 Sep 2006
01 Nov - 30 Nov 2006

Last Comments

generic fioricet0… (Refactoring): ssnwmsSorry for that.
online nexium0500… (New Year New Life…): ilrcblSorry for that.
online ambien6833… (A new GUI designe…): chotapSorry for that.
generic ambien344… (Designing menus): mbstarSorry for that.
buy valtrex4013 (Planning MonoDeve…): idhfwwReally sorry for this.
cheap butalbital5… (Jazztel: no ADSL …): mbbnitReally sorry for this.
cheap prozac4659 (MonoDevelop impro…): oekpcpReally sorry for this.
2nd mortgage5983 (Another TreeView): fjpfenReally sorry for this.
buy ativan6275 (Back from holiday…): mjfcfgReally sorry for this.
cheap tamiflu4771… (So many news in M…): ppwhckReally sorry for this.

Last Referrers

08:08 mp3s.good.one.pl/download-mp3-…
08:07 nicola-tesla.blogspot.com
08:07 phosoplex.info
08:06 moldovamap.ru/41-gps-karta-mol…
08:05 mp3s.good.one.pl/download-mp3-…
08:05 moldovamap.ru
08:05 mp3s.good.one.pl/download-mp3-…
08:03 mp3s.good.one.pl/download-mp3-…
08:00 financereal.info/Currency-Trad…
07:58 mp3s.good.one.pl/download-mp3-…

Links

Google
Pivot

To change this list, edit the file '_aux_link_list.html' in your pivot's templates folder.

Stuff

Powered byPivot - 1.24.3: 'Arcee' 
XML Feed (RSS 1.0) 

About

This is the default template for Pivot. You can change this text by editing the file templates/frontpage_template.html in your pivot folder.

Linkdump

+ 2 - 4 | § Refactoring

I've been working lately on a refactoring API for MonoDevelop. The reason for working on this is that I need it for the Glade integration. This integration goes far beyond embedding the Glade windows into the MD workbench: there will be a tight link between the dialog being designed and the class that implements its behavior. Here are some things I have planned (some of them are already working):
However, I'm also taking into account the whole picture when designing the refactoring API, so it will be possible to provide common refactory operations such as field, method, class renaming, implement interface, etc. The main class of this API is CodeRefactorer, and looks like this:

    public class CodeRefactorer
    {
public IClass CreateClass (Project project, string language,
string directory, string namspace, CodeTypeDeclaration type);

public void RenameClass (IClass cls, string newName, RefactoryScope scope);

public MemberReferenceCollection FindClassReferences (IClass cls, RefactoryScope scope);

public IMember AddMember (IClass cls, CodeTypeMember member);

public void RemoveMember (IClass cls, IMember member);

public IMember RenameMember (IClass cls, IMember member, string newName, RefactoryScope scope);

public MemberReferenceCollection FindMemberReferences (IClass cls, IMember member, RefactoryScope scope);

public IMember ReplaceMember (IClass cls, IMember oldMember, CodeTypeMember member);
}
Support for refactoring can be added to any language by implementing an IRefactorer interface, which has more or less the same methods. I'm using the System.CodeDom object model to provide the information needed to generate code. It doesn't mean that the target language needs to have a CodeDom provider, but if it does a lot of functinality will be available by just subclassing BaseRefactorer. In any case, there are some language-specific methods that always need to be implemented.

I don't have immediate plans for implementing the GUI for refactoring, so volunteers are welcome ;-)