RefactoringRope/Documentation/source/Plugin_Refactoring_Rope.RefactoringRope.RefactoringDialogBase.html

Sat, 09 Feb 2013 11:31:54 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sat, 09 Feb 2013 11:31:54 +0100
changeset 44
8aa985c8dee5
parent 24
e18b36080a37
child 55
d501156be247
permissions
-rw-r--r--

Fixed an issue causing failures for files with Windows end-of-line indicators.

<!DOCTYPE html>
<html><head>
<title>Plugin_Refactoring_Rope.RefactoringRope.RefactoringDialogBase</title>
<meta charset="UTF-8">
<style>
body {
    background: #EDECE6;
    margin: 0em 1em 10em 1em;
    color: black;
}

h1 { color: white; background: #85774A; }
h2 { color: white; background: #85774A; }
h3 { color: white; background: #9D936E; }
h4 { color: white; background: #9D936E; }
    
a { color: #BA6D36; }

</style>
</head>
<body><a NAME="top" ID="top"></a>
<h1>Plugin_Refactoring_Rope.RefactoringRope.RefactoringDialogBase</h1>
<p>
Module implementing the Refactoring dialog base class.
</p>
<h3>Global Attributes</h3>
<table>
<tr><td>None</td></tr>
</table>
<h3>Classes</h3>
<table>
<tr>
<td><a href="#RefactoringDialogBase">RefactoringDialogBase</a></td>
<td>Class implementing the Refactoring dialog base class.</td>
</tr>
</table>
<h3>Functions</h3>
<table>
<tr><td>None</td></tr>
</table>
<hr /><hr />
<a NAME="RefactoringDialogBase" ID="RefactoringDialogBase"></a>
<h2>RefactoringDialogBase</h2>
<p>
    Class implementing the Refactoring dialog base class.
</p>
<h3>Derived from</h3>
QDialog
<h3>Class Attributes</h3>
<table>
<tr><td>None</td></tr>
</table>
<h3>Class Methods</h3>
<table>
<tr><td>None</td></tr>
</table>
<h3>Methods</h3>
<table>
<tr>
<td><a href="#RefactoringDialogBase.__init__">RefactoringDialogBase</a></td>
<td>Constructor</td>
</tr><tr>
<td><a href="#RefactoringDialogBase.__createProgressHandle">__createProgressHandle</a></td>
<td>Private method to create a TaskHandle to update a progress dialog.</td>
</tr><tr>
<td><a href="#RefactoringDialogBase.__getChanges">__getChanges</a></td>
<td>Private method to build the Changes object.</td>
</tr><tr>
<td><a href="#RefactoringDialogBase._calculateChanges">_calculateChanges</a></td>
<td>Protected method to calculate the changes.</td>
</tr><tr>
<td><a href="#RefactoringDialogBase.applyChanges">applyChanges</a></td>
<td>Public method to apply the changes.</td>
</tr><tr>
<td><a href="#RefactoringDialogBase.previewChanges">previewChanges</a></td>
<td>Public method to preview the changes.</td>
</tr>
</table>
<h3>Static Methods</h3>
<table>
<tr><td>None</td></tr>
</table>
<a NAME="RefactoringDialogBase.__init__" ID="RefactoringDialogBase.__init__"></a>
<h4>RefactoringDialogBase (Constructor)</h4>
<b>RefactoringDialogBase</b>(<i>refactoring, title, parent=None</i>)
<p>
        Constructor
</p><dl>
<dt><i>refactoring</i></dt>
<dd>
reference to the main refactoring object
            (Refactoring)
</dd><dt><i>title</i></dt>
<dd>
title of the dialog (string)
</dd><dt><i>parent</i></dt>
<dd>
reference to the parent widget (QWidget)
</dd>
</dl><a NAME="RefactoringDialogBase.__createProgressHandle" ID="RefactoringDialogBase.__createProgressHandle"></a>
<h4>RefactoringDialogBase.__createProgressHandle</h4>
<b>__createProgressHandle</b>(<i>interruptable=True</i>)
<p>
        Private method to create a TaskHandle to update a progress dialog.
</p><dl>
<dt><i>interruptable</i></dt>
<dd>
flag indicating, that the task may be
            interrupted (boolean)
</dd>
</dl><a NAME="RefactoringDialogBase.__getChanges" ID="RefactoringDialogBase.__getChanges"></a>
<h4>RefactoringDialogBase.__getChanges</h4>
<b>__getChanges</b>(<i></i>)
<p>
        Private method to build the Changes object.
</p><dl>
<dt>Returns:</dt>
<dd>
reference to the Changes object (rope.base.change.ChangeSet)
</dd>
</dl><a NAME="RefactoringDialogBase._calculateChanges" ID="RefactoringDialogBase._calculateChanges"></a>
<h4>RefactoringDialogBase._calculateChanges</h4>
<b>_calculateChanges</b>(<i>handle</i>)
<p>
        Protected method to calculate the changes.
</p><dl>
<dt><i>handle</i></dt>
<dd>
reference to the task handle
            (rope.base.taskhandle.TaskHandle)
</dd>
</dl><dl>
<dt>Returns:</dt>
<dd>
reference to the Changes object (rope.base.change.ChangeSet)
</dd>
</dl><a NAME="RefactoringDialogBase.applyChanges" ID="RefactoringDialogBase.applyChanges"></a>
<h4>RefactoringDialogBase.applyChanges</h4>
<b>applyChanges</b>(<i>changes=None</i>)
<p>
        Public method to apply the changes.
</p><dl>
<dt><i>reference</i></dt>
<dd>
to the Changes object (rope.base.change.ChangeSet)
</dd>
</dl><a NAME="RefactoringDialogBase.previewChanges" ID="RefactoringDialogBase.previewChanges"></a>
<h4>RefactoringDialogBase.previewChanges</h4>
<b>previewChanges</b>(<i></i>)
<p>
        Public method to preview the changes.
</p>
<div align="right"><a href="#top">Up</a></div>
<hr />
</body></html>

eric ide

mercurial