ListGroupHandle handle = part.insertGroup( ); GroupDialog dialog = new GroupDialog( PlatformUI.getWorkbench( ) .getDisplay( ) .getActiveShell( ) ); dialog.setInput( handle ); dialog.setDataSetList( DEUtil.getDataSetList( handle ) ); if ( dialog.open( ) == Window.OK )
if ( part.insertGroup( ) )
	public void run( )	{		CommandStack stack = SessionHandleAdapter.getInstance( )				.getActivityStack( );		stack.startTrans( STACK_MSG_INSERT_GROUP );		ListEditPart part = (ListEditPart) getListEditParts( ).get( 0 );		ListGroupHandle handle = part.insertGroup( );		GroupDialog dialog = new GroupDialog( PlatformUI.getWorkbench( )				.getDisplay( )				.getActiveShell( ) );		dialog.setInput( handle );		dialog.setDataSetList( DEUtil.getDataSetList( handle ) );		if ( dialog.open( ) == Window.OK )		{			stack.commit( );		}		else		{			stack.rollbackAll( );		}	}