Robot Framework Integrated Development Environment (RIDE)
robotide.controller.macrocontrollers._WithStepsController Class Reference
Inheritance diagram for robotide.controller.macrocontrollers._WithStepsController:
robotide.controller.basecontroller.ControllerWithParent robotide.controller.basecontroller.WithUndoRedoStacks robotide.controller.basecontroller._BaseController robotide.controller.macrocontrollers.TestCaseController robotide.controller.macrocontrollers.UserKeywordController robotide.editor.texteditor.DummyController

Public Member Functions

def __init__ (self, parent_controller, data)
 
def add_step (self, index, step=None)
 
def copy (self, name)
 
def create_keyword (self, name, argstr)
 
def create_test (self, name)
 
def delete (self)
 
def extract_keyword (self, name, argstr, step_range)
 
def get_cell_info (self, row, col)
 
def get_empty_rows (self)
 
def get_keyword_info (self, kw_name)
 
def get_local_namespace (self)
 
def get_local_namespace_for_row (self, row)
 
def get_raw_steps (self)
 
def has_template (self)
 
def index_of_step (self, step)
 
def is_library_keyword (self, value)
 
def is_user_keyword (self, value)
 
def move_step_down (self, index)
 
def move_step_up (self, index)
 
def notify_keyword_removed (self)
 
def notify_name_changed (self, old_name=None)
 
def notify_settings_changed (self)
 
def notify_steps_changed (self)
 
def recreate (self)
 
def remove_step (self, index)
 
def rename (self, new_name)
 
def replace_step (self, index, new_step)
 
def set_parent (self, new_parent)
 
def set_raw_steps (self, steps)
 
def set_steps (self, steps)
 
def step (self, index)
 
def update_namespace (self)
 
def validate_name (self, name)
 
- Public Member Functions inherited from robotide.controller.basecontroller.ControllerWithParent
def is_modifiable (self)
 
def mark_dirty (self)
 
- Public Member Functions inherited from robotide.controller.basecontroller._BaseController
def execute (self, command)
 
def is_excluded (self)
 
- Public Member Functions inherited from robotide.controller.basecontroller.WithUndoRedoStacks
def clear_redo (self)
 
def clear_undo (self)
 
def is_redo_empty (self)
 
def is_undo_empty (self)
 
def pop_from_redo (self)
 
def pop_from_undo (self)
 
def push_to_redo (self, command)
 
def push_to_undo (self, command)
 

Public Attributes

 data
 

Properties

 max_columns = property
 
 name = property
 
 source = property
 
 steps = property
 
- Properties inherited from robotide.controller.basecontroller.ControllerWithParent
 datafile = property
 
 datafile_controller = property
 
 datafiles = property
 
 dirty = property
 
 parent = property
 
- Properties inherited from robotide.controller.basecontroller._BaseController
 display_name = property
 
- Properties inherited from robotide.controller.basecontroller.WithUndoRedoStacks
 _redo = property
 
 _undo = property
 

Private Member Functions

def _clear_cached_steps (self)
 
def _create_extracted_kw (self, name, argstr, extracted_steps)
 
def _extract_steps (self, step_range)
 
def _is_empty_step (self, step)
 
def _notify (self, messageclass)
 
def _recreate_steps (self)
 
def _remove_bdd_prefix (self, name)
 
def _remove_step (self, step)
 
def _replace_steps_with_kw (self, name, step_range)
 
def max_columns (self)
 
def name (self)
 
def source (self)
 
def steps (self)
 

Static Private Member Functions

def _convert_controller_to_steps (step_controllers)
 

Private Attributes

 _has_steps_changed
 
 _parent
 
 _steps_cached
 

Detailed Description

Definition at line 84 of file macrocontrollers.py.

Constructor & Destructor Documentation

◆ __init__()

def robotide.controller.macrocontrollers._WithStepsController.__init__ (   self,
  parent_controller,
  data 
)

Definition at line 86 of file macrocontrollers.py.

Member Function Documentation

◆ _clear_cached_steps()

def robotide.controller.macrocontrollers._WithStepsController._clear_cached_steps (   self)
private

Definition at line 131 of file macrocontrollers.py.

◆ _convert_controller_to_steps()

def robotide.controller.macrocontrollers._WithStepsController._convert_controller_to_steps (   step_controllers)
staticprivate

Definition at line 283 of file macrocontrollers.py.

◆ _create_extracted_kw()

def robotide.controller.macrocontrollers._WithStepsController._create_extracted_kw (   self,
  name,
  argstr,
  extracted_steps 
)
private

Definition at line 295 of file macrocontrollers.py.

◆ _extract_steps()

def robotide.controller.macrocontrollers._WithStepsController._extract_steps (   self,
  step_range 
)
private

Definition at line 277 of file macrocontrollers.py.

◆ _is_empty_step()

def robotide.controller.macrocontrollers._WithStepsController._is_empty_step (   self,
  step 
)
private

Definition at line 221 of file macrocontrollers.py.

◆ _notify()

def robotide.controller.macrocontrollers._WithStepsController._notify (   self,
  messageclass 
)
private

Definition at line 321 of file macrocontrollers.py.

◆ _recreate_steps()

def robotide.controller.macrocontrollers._WithStepsController._recreate_steps (   self)
private

Definition at line 119 of file macrocontrollers.py.

◆ _remove_bdd_prefix()

def robotide.controller.macrocontrollers._WithStepsController._remove_bdd_prefix (   self,
  name 
)
private

Definition at line 253 of file macrocontrollers.py.

◆ _remove_step()

def robotide.controller.macrocontrollers._WithStepsController._remove_step (   self,
  step 
)
private

Definition at line 231 of file macrocontrollers.py.

◆ _replace_steps_with_kw()

def robotide.controller.macrocontrollers._WithStepsController._replace_steps_with_kw (   self,
  name,
  step_range 
)
private

Definition at line 286 of file macrocontrollers.py.

◆ add_step()

def robotide.controller.macrocontrollers._WithStepsController.add_step (   self,
  index,
  step = None 
)

Definition at line 235 of file macrocontrollers.py.

◆ copy()

def robotide.controller.macrocontrollers._WithStepsController.copy (   self,
  name 
)

Definition at line 209 of file macrocontrollers.py.

◆ create_keyword()

def robotide.controller.macrocontrollers._WithStepsController.create_keyword (   self,
  name,
  argstr 
)

Definition at line 246 of file macrocontrollers.py.

◆ create_test()

def robotide.controller.macrocontrollers._WithStepsController.create_test (   self,
  name 
)

Definition at line 260 of file macrocontrollers.py.

◆ delete()

def robotide.controller.macrocontrollers._WithStepsController.delete (   self)

Definition at line 199 of file macrocontrollers.py.

◆ extract_keyword()

def robotide.controller.macrocontrollers._WithStepsController.extract_keyword (   self,
  name,
  argstr,
  step_range 
)

Definition at line 263 of file macrocontrollers.py.

◆ get_cell_info()

def robotide.controller.macrocontrollers._WithStepsController.get_cell_info (   self,
  row,
  col 
)

Definition at line 184 of file macrocontrollers.py.

◆ get_empty_rows()

def robotide.controller.macrocontrollers._WithStepsController.get_empty_rows (   self)

Definition at line 217 of file macrocontrollers.py.

◆ get_keyword_info()

def robotide.controller.macrocontrollers._WithStepsController.get_keyword_info (   self,
  kw_name 
)

Definition at line 190 of file macrocontrollers.py.

◆ get_local_namespace()

def robotide.controller.macrocontrollers._WithStepsController.get_local_namespace (   self)

Definition at line 176 of file macrocontrollers.py.

◆ get_local_namespace_for_row()

def robotide.controller.macrocontrollers._WithStepsController.get_local_namespace_for_row (   self,
  row 
)

Definition at line 180 of file macrocontrollers.py.

◆ get_raw_steps()

def robotide.controller.macrocontrollers._WithStepsController.get_raw_steps (   self)

Definition at line 268 of file macrocontrollers.py.

◆ has_template()

def robotide.controller.macrocontrollers._WithStepsController.has_template (   self)

◆ index_of_step()

def robotide.controller.macrocontrollers._WithStepsController.index_of_step (   self,
  step 
)

Definition at line 147 of file macrocontrollers.py.

◆ is_library_keyword()

def robotide.controller.macrocontrollers._WithStepsController.is_library_keyword (   self,
  value 
)

Definition at line 196 of file macrocontrollers.py.

◆ is_user_keyword()

def robotide.controller.macrocontrollers._WithStepsController.is_user_keyword (   self,
  value 
)

Definition at line 193 of file macrocontrollers.py.

◆ max_columns()

def robotide.controller.macrocontrollers._WithStepsController.max_columns (   self)
private

Definition at line 138 of file macrocontrollers.py.

◆ move_step_down()

def robotide.controller.macrocontrollers._WithStepsController.move_step_down (   self,
  index 
)

Definition at line 165 of file macrocontrollers.py.

◆ move_step_up()

def robotide.controller.macrocontrollers._WithStepsController.move_step_up (   self,
  index 
)

Definition at line 158 of file macrocontrollers.py.

◆ name()

def robotide.controller.macrocontrollers._WithStepsController.name (   self)
private

Definition at line 104 of file macrocontrollers.py.

◆ notify_keyword_removed()

def robotide.controller.macrocontrollers._WithStepsController.notify_keyword_removed (   self)

Definition at line 308 of file macrocontrollers.py.

◆ notify_name_changed()

def robotide.controller.macrocontrollers._WithStepsController.notify_name_changed (   self,
  old_name = None 
)

Definition at line 303 of file macrocontrollers.py.

◆ notify_settings_changed()

def robotide.controller.macrocontrollers._WithStepsController.notify_settings_changed (   self)

Definition at line 313 of file macrocontrollers.py.

◆ notify_steps_changed()

def robotide.controller.macrocontrollers._WithStepsController.notify_steps_changed (   self)

Definition at line 317 of file macrocontrollers.py.

◆ recreate()

def robotide.controller.macrocontrollers._WithStepsController.recreate (   self)

Definition at line 228 of file macrocontrollers.py.

◆ remove_step()

def robotide.controller.macrocontrollers._WithStepsController.remove_step (   self,
  index 
)

Definition at line 224 of file macrocontrollers.py.

◆ rename()

def robotide.controller.macrocontrollers._WithStepsController.rename (   self,
  new_name 
)

Definition at line 205 of file macrocontrollers.py.

◆ replace_step()

def robotide.controller.macrocontrollers._WithStepsController.replace_step (   self,
  index,
  new_step 
)

Definition at line 150 of file macrocontrollers.py.

◆ set_parent()

def robotide.controller.macrocontrollers._WithStepsController.set_parent (   self,
  new_parent 
)

Reimplemented from robotide.controller.basecontroller.ControllerWithParent.

Definition at line 115 of file macrocontrollers.py.

◆ set_raw_steps()

def robotide.controller.macrocontrollers._WithStepsController.set_raw_steps (   self,
  steps 
)

Definition at line 273 of file macrocontrollers.py.

◆ set_steps()

def robotide.controller.macrocontrollers._WithStepsController.set_steps (   self,
  steps 
)

Definition at line 169 of file macrocontrollers.py.

◆ source()

def robotide.controller.macrocontrollers._WithStepsController.source (   self)
private

Definition at line 98 of file macrocontrollers.py.

◆ step()

def robotide.controller.macrocontrollers._WithStepsController.step (   self,
  index 
)

Definition at line 144 of file macrocontrollers.py.

◆ steps()

def robotide.controller.macrocontrollers._WithStepsController.steps (   self)
private

Definition at line 110 of file macrocontrollers.py.

◆ update_namespace()

def robotide.controller.macrocontrollers._WithStepsController.update_namespace (   self)

Definition at line 173 of file macrocontrollers.py.

◆ validate_name()

def robotide.controller.macrocontrollers._WithStepsController.validate_name (   self,
  name 
)

Definition at line 300 of file macrocontrollers.py.

Member Data Documentation

◆ _has_steps_changed

robotide.controller.macrocontrollers._WithStepsController._has_steps_changed
private

Definition at line 90 of file macrocontrollers.py.

◆ _parent

robotide.controller.macrocontrollers._WithStepsController._parent
private

Definition at line 87 of file macrocontrollers.py.

◆ _steps_cached

robotide.controller.macrocontrollers._WithStepsController._steps_cached
private

Definition at line 91 of file macrocontrollers.py.

◆ data

robotide.controller.macrocontrollers._WithStepsController.data

Definition at line 88 of file macrocontrollers.py.

Property Documentation

◆ max_columns

robotide.controller.macrocontrollers._WithStepsController.max_columns = property
static

Definition at line 136 of file macrocontrollers.py.

◆ name

robotide.controller.macrocontrollers._WithStepsController.name = property
static

Definition at line 102 of file macrocontrollers.py.

◆ source

robotide.controller.macrocontrollers._WithStepsController.source = property
static

Definition at line 96 of file macrocontrollers.py.

◆ steps

robotide.controller.macrocontrollers._WithStepsController.steps = property
static

Definition at line 108 of file macrocontrollers.py.


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