src/eric7/Documentation/Source/eric7.ViewManager.ViewManager.html

branch
eric7
changeset 10784
521fd465b048
parent 10692
9becf9ca115c
--- a/src/eric7/Documentation/Source/eric7.ViewManager.ViewManager.html	Fri Jun 14 11:18:10 2024 +0200
+++ b/src/eric7/Documentation/Source/eric7.ViewManager.ViewManager.html	Fri Jun 14 11:23:45 2024 +0200
@@ -568,6 +568,10 @@
 <td>Private slot to open some files.</td>
 </tr>
 <tr>
+<td><a href="#ViewManager.__openRemoteFiles">__openRemoteFiles</a></td>
+<td>Private slot to open some files.</td>
+</tr>
+<tr>
 <td><a href="#ViewManager.__openSourceFile">__openSourceFile</a></td>
 <td>Private method to open a file from the list of recently opened files.</td>
 </tr>
@@ -868,6 +872,10 @@
 <td>Public method to close an arbitrary source editor.</td>
 </tr>
 <tr>
+<td><a href="#ViewManager.closeRemoteEditors">closeRemoteEditors</a></td>
+<td>Public slot to close all editors related to a connected eric-ide server.</td>
+</tr>
+<tr>
 <td><a href="#ViewManager.closeViewManager">closeViewManager</a></td>
 <td>Public method to shutdown the viewmanager.</td>
 </tr>
@@ -1104,6 +1112,10 @@
 <td>Public slot to handle received editor commands.</td>
 </tr>
 <tr>
+<td><a href="#ViewManager.remoteConnectionChanged">remoteConnectionChanged</a></td>
+<td>Public slot handling a change of the connection state to an eric-ide server.</td>
+</tr>
+<tr>
 <td><a href="#ViewManager.removeSplit">removeSplit</a></td>
 <td>Public method used to remove the current split view or a split view by index.</td>
 </tr>
@@ -1124,6 +1136,14 @@
 <td>Public slot to save the contents of an editor to a new file.</td>
 </tr>
 <tr>
+<td><a href="#ViewManager.saveAsRemoteCurrentEditor">saveAsRemoteCurrentEditor</a></td>
+<td>Public slot to save the contents of the current editor to a new file on a connected eric-ide server.</td>
+</tr>
+<tr>
+<td><a href="#ViewManager.saveAsRemoteEditorEd">saveAsRemoteEditorEd</a></td>
+<td>Public slot to save the contents of an editor to a new file on a connected eric-ide server.</td>
+</tr>
+<tr>
 <td><a href="#ViewManager.saveCopyCurrentEditor">saveCopyCurrentEditor</a></td>
 <td>Public slot to save the contents of the current editor to a new copy of the file.</td>
 </tr>
@@ -2172,6 +2192,13 @@
         Private slot to open some files.
 </p>
 
+<a NAME="ViewManager.__openRemoteFiles" ID="ViewManager.__openRemoteFiles"></a>
+<h4>ViewManager.__openRemoteFiles</h4>
+<b>__openRemoteFiles</b>(<i></i>)
+<p>
+        Private slot to open some files.
+</p>
+
 <a NAME="ViewManager.__openSourceFile" ID="ViewManager.__openSourceFile"></a>
 <h4>ViewManager.__openSourceFile</h4>
 <b>__openSourceFile</b>(<i>act</i>)
@@ -2671,7 +2698,7 @@
 </dl>
 <a NAME="ViewManager._getOpenStartDir" ID="ViewManager._getOpenStartDir"></a>
 <h4>ViewManager._getOpenStartDir</h4>
-<b>_getOpenStartDir</b>(<i></i>)
+<b>_getOpenStartDir</b>(<i>forRemote=False</i>)
 <p>
         Protected method to return the starting directory for a file open
         dialog.
@@ -2681,9 +2708,18 @@
         using the following search order, until a match is found:<br />
             1: Directory of currently active editor<br />
             2: Directory of currently active Project<br />
-            3: CWD
-</p>
-
+            3: Directory defined as the workspace (only for local access)<br />
+            4: CWD
+</p>
+
+<dl>
+
+<dt><i>forRemote</i> (bool (optional))</dt>
+<dd>
+flag indicating to get the start directory for a remote
+            operation (defaults to False)
+</dd>
+</dl>
 <dl>
 <dt>Return:</dt>
 <dd>
@@ -3206,6 +3242,13 @@
 editor to be closed
 </dd>
 </dl>
+<a NAME="ViewManager.closeRemoteEditors" ID="ViewManager.closeRemoteEditors"></a>
+<h4>ViewManager.closeRemoteEditors</h4>
+<b>closeRemoteEditors</b>(<i></i>)
+<p>
+        Public slot to close all editors related to a connected eric-ide server.
+</p>
+
 <a NAME="ViewManager.closeViewManager" ID="ViewManager.closeViewManager"></a>
 <h4>ViewManager.closeViewManager</h4>
 <b>closeViewManager</b>(<i></i>)
@@ -4387,6 +4430,20 @@
 command string
 </dd>
 </dl>
+<a NAME="ViewManager.remoteConnectionChanged" ID="ViewManager.remoteConnectionChanged"></a>
+<h4>ViewManager.remoteConnectionChanged</h4>
+<b>remoteConnectionChanged</b>(<i>connected</i>)
+<p>
+        Public slot handling a change of the connection state to an eric-ide server.
+</p>
+
+<dl>
+
+<dt><i>connected</i> (bool)</dt>
+<dd>
+flag indicating the connection state
+</dd>
+</dl>
 <a NAME="ViewManager.removeSplit" ID="ViewManager.removeSplit"></a>
 <h4>ViewManager.removeSplit</h4>
 <b>removeSplit</b>(<i>index=-1</i>)
@@ -4457,6 +4514,29 @@
 editor to be saved
 </dd>
 </dl>
+<a NAME="ViewManager.saveAsRemoteCurrentEditor" ID="ViewManager.saveAsRemoteCurrentEditor"></a>
+<h4>ViewManager.saveAsRemoteCurrentEditor</h4>
+<b>saveAsRemoteCurrentEditor</b>(<i></i>)
+<p>
+        Public slot to save the contents of the current editor to a new file on a
+        connected eric-ide server.
+</p>
+
+<a NAME="ViewManager.saveAsRemoteEditorEd" ID="ViewManager.saveAsRemoteEditorEd"></a>
+<h4>ViewManager.saveAsRemoteEditorEd</h4>
+<b>saveAsRemoteEditorEd</b>(<i>ed</i>)
+<p>
+        Public slot to save the contents of an editor to a new file on a
+        connected eric-ide server.
+</p>
+
+<dl>
+
+<dt><i>ed</i> (Editor)</dt>
+<dd>
+editor to be saved
+</dd>
+</dl>
 <a NAME="ViewManager.saveCopyCurrentEditor" ID="ViewManager.saveCopyCurrentEditor"></a>
 <h4>ViewManager.saveCopyCurrentEditor</h4>
 <b>saveCopyCurrentEditor</b>(<i></i>)
@@ -4662,7 +4742,7 @@
 </dl>
 <a NAME="ViewManager.setReferences" ID="ViewManager.setReferences"></a>
 <h4>ViewManager.setReferences</h4>
-<b>setReferences</b>(<i>ui, dbs</i>)
+<b>setReferences</b>(<i>ui, dbs, remoteServerInterface</i>)
 <p>
         Public method to set some references needed later on.
 </p>
@@ -4677,6 +4757,10 @@
 <dd>
 reference to the debug server object
 </dd>
+<dt><i>remoteServerInterface</i> (EricServerInterface)</dt>
+<dd>
+reference to the 'eric-ide' server interface
+</dd>
 </dl>
 <a NAME="ViewManager.setSbInfo" ID="ViewManager.setSbInfo"></a>
 <h4>ViewManager.setSbInfo</h4>

eric ide

mercurial