<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _move_focused_item_into_viewport(self, view, focused_item):
 """Called when an item is focused, moves the item into the viewport :param view: :param StateView | ConnectionView | PortView focused_item: The focused item """

        self.view.editor.handler_block(self.drag_motion_handler_id)
        self.move_item_into_viewport(focused_item)
        self.view.editor.handler_unblock(self.drag_motion_handler_id)