Robot Framework Integrated Development Environment (RIDE)
robotide.editor.clipboard._ClipboardHandler Class Reference
Inheritance diagram for robotide.editor.clipboard._ClipboardHandler:
robotide.editor.clipboard._WindowsClipboardHandler

Public Member Functions

def __init__ (self, grid)
 
def clipboard_content (self)
 
def copy (self)
 Copy the contents of the selected cell(s). More...
 
def cut (self)
 Cuts the contents of the selected cell(s). More...
 
def paste (self)
 Paste the contents of the clipboard. More...
 

Private Member Functions

def _add_selected_data_to_clipboard (self)
 
def _edit_control_shown (self)
 
def _get_edit_control (self)
 
def _get_starting_cell (self)
 
def _paste_to_cell_editor (self)
 
def _paste_to_grid (self)
 
def _write_cell (self, row, col, value)
 

Private Attributes

 _clipboard
 
 _grid
 

Detailed Description

Definition at line 23 of file clipboard.py.

Constructor & Destructor Documentation

◆ __init__()

def robotide.editor.clipboard._ClipboardHandler.__init__ (   self,
  grid 
)

Definition at line 25 of file clipboard.py.

Member Function Documentation

◆ _add_selected_data_to_clipboard()

def robotide.editor.clipboard._ClipboardHandler._add_selected_data_to_clipboard (   self)
private

Definition at line 48 of file clipboard.py.

◆ _edit_control_shown()

def robotide.editor.clipboard._ClipboardHandler._edit_control_shown (   self)
private

Definition at line 89 of file clipboard.py.

◆ _get_edit_control()

def robotide.editor.clipboard._ClipboardHandler._get_edit_control (   self)
private

Definition at line 86 of file clipboard.py.

◆ _get_starting_cell()

def robotide.editor.clipboard._ClipboardHandler._get_starting_cell (   self)
private

Definition at line 80 of file clipboard.py.

◆ _paste_to_cell_editor()

def robotide.editor.clipboard._ClipboardHandler._paste_to_cell_editor (   self)
private

Reimplemented in robotide.editor.clipboard._WindowsClipboardHandler.

Definition at line 58 of file clipboard.py.

◆ _paste_to_grid()

def robotide.editor.clipboard._ClipboardHandler._paste_to_grid (   self)
private

Definition at line 64 of file clipboard.py.

◆ _write_cell()

def robotide.editor.clipboard._ClipboardHandler._write_cell (   self,
  row,
  col,
  value 
)
private

Definition at line 83 of file clipboard.py.

◆ clipboard_content()

def robotide.editor.clipboard._ClipboardHandler.clipboard_content (   self)

Definition at line 29 of file clipboard.py.

◆ copy()

def robotide.editor.clipboard._ClipboardHandler.copy (   self)

Copy the contents of the selected cell(s).

This does a normal copy action if the user is editing a cell, otherwise it places the selected range of cells on the data.

Reimplemented in robotide.editor.clipboard._WindowsClipboardHandler.

Definition at line 36 of file clipboard.py.

◆ cut()

def robotide.editor.clipboard._ClipboardHandler.cut (   self)

Cuts the contents of the selected cell(s).

This does a normal cut action if the user is editing a cell, otherwise it places the selected range of cells on the clipboard.

Reimplemented in robotide.editor.clipboard._WindowsClipboardHandler.

Definition at line 45 of file clipboard.py.

◆ paste()

def robotide.editor.clipboard._ClipboardHandler.paste (   self)

Paste the contents of the clipboard.

If a cell is being edited just do a normal paste. If a cell is not being edited, paste whole rows.

Reimplemented in robotide.editor.clipboard._WindowsClipboardHandler.

Definition at line 54 of file clipboard.py.

Member Data Documentation

◆ _clipboard

robotide.editor.clipboard._ClipboardHandler._clipboard
private

Definition at line 27 of file clipboard.py.

◆ _grid

robotide.editor.clipboard._ClipboardHandler._grid
private

Definition at line 26 of file clipboard.py.


The documentation for this class was generated from the following file: