Robot Framework Integrated Development Environment (RIDE)
robotide.controller.ctrlcommands.RenameKeywordOccurrences Class Reference
Inheritance diagram for robotide.controller.ctrlcommands.RenameKeywordOccurrences:
robotide.controller.ctrlcommands._ReversibleCommand robotide.controller.ctrlcommands._Command

Public Member Functions

def __init__ (self, original_name, new_name, observer, keyword_info=None)
 
- Public Member Functions inherited from robotide.controller.ctrlcommands._ReversibleCommand
def execute (self, context)
 
- Public Member Functions inherited from robotide.controller.ctrlcommands._Command
def __str__ (self)
 

Private Member Functions

def _check_gherkin (self, new_name, original_name)
 
def _execute (self, context)
 
def _find_occurrences (self, context)
 
def _get_gherkin (self, original_name)
 
def _get_undo_command (self)
 
def _notify_values_changed (self, occurrences)
 
def _params (self)
 
def _replace_keywords_in (self, occurrences)
 

Private Attributes

 _keyword_info
 
 _new_name
 
 _observer
 
 _occurrences
 

Static Private Attributes

 _gherkin_prefix
 

Additional Inherited Members

- Static Public Attributes inherited from robotide.controller.ctrlcommands._Command
bool modifying = True
 
- Properties inherited from robotide.controller.ctrlcommands._ReversibleCommand
 _get_undo_command = property
 

Detailed Description

Definition at line 307 of file ctrlcommands.py.

Constructor & Destructor Documentation

◆ __init__()

def robotide.controller.ctrlcommands.RenameKeywordOccurrences.__init__ (   self,
  original_name,
  new_name,
  observer,
  keyword_info = None 
)

Definition at line 314 of file ctrlcommands.py.

Member Function Documentation

◆ _check_gherkin()

def robotide.controller.ctrlcommands.RenameKeywordOccurrences._check_gherkin (   self,
  new_name,
  original_name 
)
private

Definition at line 324 of file ctrlcommands.py.

◆ _execute()

def robotide.controller.ctrlcommands.RenameKeywordOccurrences._execute (   self,
  context 
)
private

Definition at line 350 of file ctrlcommands.py.

◆ _find_occurrences()

def robotide.controller.ctrlcommands.RenameKeywordOccurrences._find_occurrences (   self,
  context 
)
private

Definition at line 363 of file ctrlcommands.py.

◆ _get_gherkin()

def robotide.controller.ctrlcommands.RenameKeywordOccurrences._get_gherkin (   self,
  original_name 
)
private

Definition at line 341 of file ctrlcommands.py.

◆ _get_undo_command()

def robotide.controller.ctrlcommands.RenameKeywordOccurrences._get_undo_command (   self)
private

Reimplemented from robotide.controller.ctrlcommands._ReversibleCommand.

Definition at line 382 of file ctrlcommands.py.

◆ _notify_values_changed()

def robotide.controller.ctrlcommands.RenameKeywordOccurrences._notify_values_changed (   self,
  occurrences 
)
private

Definition at line 377 of file ctrlcommands.py.

◆ _params()

def robotide.controller.ctrlcommands.RenameKeywordOccurrences._params (   self)
private

Reimplemented from robotide.controller.ctrlcommands._Command.

Definition at line 346 of file ctrlcommands.py.

◆ _replace_keywords_in()

def robotide.controller.ctrlcommands.RenameKeywordOccurrences._replace_keywords_in (   self,
  occurrences 
)
private

Definition at line 372 of file ctrlcommands.py.

Member Data Documentation

◆ _gherkin_prefix

robotide.controller.ctrlcommands.RenameKeywordOccurrences._gherkin_prefix
staticprivate

Definition at line 312 of file ctrlcommands.py.

◆ _keyword_info

robotide.controller.ctrlcommands.RenameKeywordOccurrences._keyword_info
private

Definition at line 321 of file ctrlcommands.py.

◆ _new_name

robotide.controller.ctrlcommands.RenameKeywordOccurrences._new_name
private

Definition at line 315 of file ctrlcommands.py.

◆ _observer

robotide.controller.ctrlcommands.RenameKeywordOccurrences._observer
private

Definition at line 320 of file ctrlcommands.py.

◆ _occurrences

robotide.controller.ctrlcommands.RenameKeywordOccurrences._occurrences
private

Definition at line 322 of file ctrlcommands.py.


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