ArchipelProject/Archipel — pull request #779 by CyrilPeponnet (2013-04-22 13:18:20+00:00)
Title: Refactoring and update modules : Right click Contextual menu added

On all modules :
* removed the **Modules** menu and Items (useless) in the MenuBar
* added a new way to add controls on modules (ButtonBarButtons and contextual MenuItem)
* handle right click on items in tableView and OutlineView whenever it's possible (FIX #666)
* allow action on multiples items whenever it's possible (FIX #757)
* bind the delete key to remove action

In all the code : (except libraries)
* replace [[CPImage alloc] initWithContentsOfFile:[bundle pathForResource:size:]] by CPImageInBundle(@"path", CPSizeMake(…), bundle)
* replace [[CPColor alloc] initWithPatternImage] by CPColorWithImages(...)
* replace [CPDictionary dictionaryWithObjectsAndKeys:object, @"key"] by @{@"key": object}

Some UI improvements :
* Agent-ActionScheduler : Display minutes and seconds on 2 digits
* HypervisorVMScheduler : Better alignment of the status cell
* Agent-VMCasting : Fix bad name when attaching an appliance and bad status if vm was indefined before attachment.
* Toolbar XMPPServer : Autocompletion when adding a new user based on the current selected domain.

This PR need some cappuccino fixes :
* Drag/drop crash when selecting empty row : https://github.com/cappuccino/cappuccino/issues/1857
* ~~highlight status is not reseted https://github.com/cappuccino/cappuccino/issues/1899~~
* ~~The ghosting menu issue : https://github.com/cappuccino/cappuccino/issues/1887~~