record.sendNotifcations( );
record.sendNotifcations( true );
	public void undo( )	{		// Should only be called when there is a record to redo.		assert canUndo( );		// Redo the record.		ActivityRecord record = (ActivityRecord) undoStack.pop( );		assert record.getState( ) == ActivityRecord.DONE_STATE				|| record.getState( ) == ActivityRecord.REDONE_STATE;		record.undo( );		record.setState( ActivityRecord.UNDONE_STATE );		// Push the record onto the redo stack.		redoStack.push( record );		// Send notifications.		record.sendNotifcations( );		sendNotifcations( new ActivityStackEvent( this,				ActivityStackEvent.UNDONE ) );	}