Blogs

Gary's Blog

XAF – Model Editor Enhancements (Now Available in V2010 Vol 1.6)

     

Remember how we re-wrote the Model Editor for V2010 Vol 1? Remember how you loved all those new features: categories in property grids; the description panel, etc? Remember how you hated lack of usability features? Well we’ve made a start at fixing that with a few usability enhancements and, because of your input on the subject, we’ve decided to rush those new features to you in V2010 V1.6 which is available from the client centre now!

So, let’s take a look at what we added:

Nodes Tree Usability Improvements

You can now clone a detail view:

ME_Enhancements_01

Doing so results in a copy of the current node, at the same hierarchy level. Note that the Id property is appended with “_Copy”, all the other properties remain the same as the original.

ME_Enhancements_02

What’s this good for? Well, mainly for implementing view variants. Now you can quickly create several copies of the same view, and make minor changes in each of them, there is no need to scroll up to the parent node just to paste new node.

Drag-and-drop is now supported in the nodes tree:

You can move a child node from one parent node to another using drag-and-drop, convenient when moving an Action to another action container, moving navigation item to another group, modifying the Detail View layout etc.

ME_Enhancements_03

When dragging, you can place a pointer over the target node, and it will be expanded automatically, after a small delay. To create a copy of the node instead of moving it, just hold down the CTRL key when dragging. If the target node already has a child with the same ID, the “_Copy” suffix will be added.

You can rearrange child items, of a certain parent node, using drag-and-drop, convenient when reordering list view columns or navigation items. Hold down the SHIFT key, and drag a child node up or down the list within the bounds of its parent node.

ME_Enhancements_04

The indexes of child nodes will be automatically modified to correspond the rearrangement.

Search Panel Speed and Look and Feel

What have we changed with the Search Panel? Well, its performance is improved and a new smart search behavior is provided. Now you can type something in the search box and the search results will be updated while you type.

ME_Enhancements_05

In the MainDemo, the delay between typing a character and updating the results is about half a second.

Custom Editors in the Property Grid

When creating complex XAF applications, you probably extend the Application Model with custom nodes and properties. Now you can bind custom editors to properties. To do this, implement the required UITypeEditor descendant and set it for the property via the EditorAttribute. If you have read the Pivot Grid & Chart List Editors post, you may notice that the PivotGridSettingsEditor is bound to the PivotSettings node's Settings property using this feature.

ME_Enhancements_06

Well, that’s all for this post. Until next time, happy XAF’ing! :-)

Published Aug 16 2010, 05:20 PM by Gary Short (DevExpress)
Filed under: ,
Technorati tags: v2010.2, XAF
Bookmark and Share

Comments

 

Steven Rasmussen said:

These enhancements are a great!  Just as a suggestion you may want to update the 'What's included and New' document of 10.1.6 to include these items.

August 16, 2010 12:51 PM
 

Dennis (DevExpress Support) said:

Hi Steven,

We're glad to hear that you like these features.

As for your suggestion, this is already in the works. Actually, these improvements were planned for 10.2, but we have decided to include them in 10.1 (as an exception, because of a great deal of feedback in this regard).

August 16, 2010 2:26 PM
 

Robert Fuchs said:

A wise decision to include these much wanted model editor enhancements in 10.1.6 - thanks.

BTW, there seem to be no enhancements to the Conditional Appearance Module in 10.1.6.

Kind of contraproductive for a CTP, isn't it?

August 16, 2010 7:25 PM
 

Dennis (DevExpress Support) said:

@Robert:

We appreciate your feedback. However, I can't agree with you on the ConditionalAppearance module.

There are at least several fixed issues listed in the What's New document (note that only public items are included into this list).

Also, I have checked our internal tracker and I can say that about 15 bugs have been fixed, plus about 10 suggestions have been registered based on our customer feedback since the module's first version - 10.15. Some of these suggestions should be available in version 10.2.

So, I think these are good results for such a new module, aren't they?

August 17, 2010 2:32 AM
More from DevExpress
Live Chat
Have a pre-sales question?
Need assistance with your evaluation?
We are here to help.
Chat is one of the many ways you can contact members of the DevExpress Team. We are available Monday-Friday between 8:30am and 5:00pm Pacific Time.
If you need additional product information, require pre-sales assistance, or want help with your order, write to us at info@devexpress.com or call us at
+1 (818) 844-3383.