if ( !( newSelection instanceof IStructuredSelection ) ) return;
setSelection( newSelection, true );
	public void setSelection( ISelection newSelection, boolean dispatch )	{		if ( !( newSelection instanceof IStructuredSelection ) )			return;		List editparts = ( (IStructuredSelection) newSelection ).toList( );		List selection = primGetSelectedEditParts( );		setFocus( null );		for ( int i = 0; i < selection.size( ); i++ )			( (EditPart) selection.get( i ) ).setSelected( EditPart.SELECTED_NONE );		selection.clear( );		editparts = flitterEditpart( editparts );		// for create handle		selection.addAll( editparts );		for ( int i = 0; i < editparts.size( ); i++ )		{			EditPart part = (EditPart) editparts.get( i );			if ( i == editparts.size( ) - 1 )				part.setSelected( EditPart.SELECTED_PRIMARY );			else				part.setSelected( EditPart.SELECTED );		}		if ( dispatch )		{			fireSelectionChanged( );		}	}