Map data = ( Map )selected[ 0 ].getData();
if( isFolderItem( selected[ 0 ] ) )
{
Set dataSet = new HashSet();
MPromptDialog dialog = new MPromptDialog( shell, dataSet, "Rename Folder", "Name :", ( String )data.get( "name" ) );
dialog.open();
if( dataSet.size() > 0 )
{
data.put( "name", dataSet.iterator().next() );
drawItem( selected[ 0 ] );
}