src/eric7/Documentation/Source/eric7.Project.ProjectBrowserModel.html

branch
eric7
changeset 10845
bbcad422aea7
parent 10784
521fd465b048
equal deleted inserted replaced
10844:a7c73526f336 10845:bbcad422aea7
428 <tr> 428 <tr>
429 <td><a href="#ProjectBrowserModel.entryDeleted">entryDeleted</a></td> 429 <td><a href="#ProjectBrowserModel.entryDeleted">entryDeleted</a></td>
430 <td>Public method to handle the deletion of a file or directory.</td> 430 <td>Public method to handle the deletion of a file or directory.</td>
431 </tr> 431 </tr>
432 <tr> 432 <tr>
433 <td><a href="#ProjectBrowserModel.entryMoved">entryMoved</a></td>
434 <td>Public slot handling the renaming of a non-managed file.</td>
435 </tr>
436 <tr>
433 <td><a href="#ProjectBrowserModel.findChildItem">findChildItem</a></td> 437 <td><a href="#ProjectBrowserModel.findChildItem">findChildItem</a></td>
434 <td>Public method to find a child item given some text.</td> 438 <td>Public method to find a child item given some text.</td>
435 </tr> 439 </tr>
436 <tr> 440 <tr>
437 <td><a href="#ProjectBrowserModel.findItem">findItem</a></td> 441 <td><a href="#ProjectBrowserModel.findItem">findItem</a></td>
587 flag indicating a recursive update 591 flag indicating a recursive update
588 </dd> 592 </dd>
589 </dl> 593 </dl>
590 <a NAME="ProjectBrowserModel.addNewItem" ID="ProjectBrowserModel.addNewItem"></a> 594 <a NAME="ProjectBrowserModel.addNewItem" ID="ProjectBrowserModel.addNewItem"></a>
591 <h4>ProjectBrowserModel.addNewItem</h4> 595 <h4>ProjectBrowserModel.addNewItem</h4>
592 <b>addNewItem</b>(<i>typeString, name, additionalTypeStrings=None</i>) 596 <b>addNewItem</b>(<i>typeString, name, additionalTypeStrings=None, simple=False</i>)
593 <p> 597 <p>
594 Public method to add a new item to the model. 598 Public method to add a new item to the model.
595 </p> 599 </p>
596 600
597 <dl> 601 <dl>
602 </dd> 606 </dd>
603 <dt><i>name</i> (str)</dt> 607 <dt><i>name</i> (str)</dt>
604 <dd> 608 <dd>
605 name of the new item 609 name of the new item
606 </dd> 610 </dd>
607 <dt><i>additionalTypeStrings</i> (list of str)</dt> 611 <dt><i>additionalTypeStrings</i> (list of str (optional))</dt>
608 <dd> 612 <dd>
609 names of additional types 613 names of additional types (defaults to None)
614 </dd>
615 <dt><i>simple</i> (bool (optional))</dt>
616 <dd>
617 flag indicating to create a simple directory item and/or not
618 highlight the entry (defaults to False)
610 </dd> 619 </dd>
611 </dl> 620 </dl>
612 <a NAME="ProjectBrowserModel.changeVCSStates" ID="ProjectBrowserModel.changeVCSStates"></a> 621 <a NAME="ProjectBrowserModel.changeVCSStates" ID="ProjectBrowserModel.changeVCSStates"></a>
613 <h4>ProjectBrowserModel.changeVCSStates</h4> 622 <h4>ProjectBrowserModel.changeVCSStates</h4>
614 <b>changeVCSStates</b>(<i>statesList</i>) 623 <b>changeVCSStates</b>(<i>statesList</i>)
698 <dt><i>isDir</i> (bool (optional))</dt> 707 <dt><i>isDir</i> (bool (optional))</dt>
699 <dd> 708 <dd>
700 flag indicating a deleted directory (defaults to False) 709 flag indicating a deleted directory (defaults to False)
701 </dd> 710 </dd>
702 </dl> 711 </dl>
712 <dl>
713 <dt>Return:</dt>
714 <dd>
715 flag indicating a deletion
716 </dd>
717 </dl>
718 <dl>
719 <dt>Return Type:</dt>
720 <dd>
721 bool
722 </dd>
723 </dl>
724 <a NAME="ProjectBrowserModel.entryMoved" ID="ProjectBrowserModel.entryMoved"></a>
725 <h4>ProjectBrowserModel.entryMoved</h4>
726 <b>entryMoved</b>(<i>srcPath, tgtPath</i>)
727 <p>
728 Public slot handling the renaming of a non-managed file.
729 </p>
730
731 <dl>
732
733 <dt><i>srcPath</i> (str)</dt>
734 <dd>
735 original name
736 </dd>
737 <dt><i>tgtPath</i> (str)</dt>
738 <dd>
739 new name
740 </dd>
741 </dl>
703 <a NAME="ProjectBrowserModel.findChildItem" ID="ProjectBrowserModel.findChildItem"></a> 742 <a NAME="ProjectBrowserModel.findChildItem" ID="ProjectBrowserModel.findChildItem"></a>
704 <h4>ProjectBrowserModel.findChildItem</h4> 743 <h4>ProjectBrowserModel.findChildItem</h4>
705 <b>findChildItem</b>(<i>text, column, parentItem=None</i>) 744 <b>findChildItem</b>(<i>text, column, parentItem=None</i>)
706 <p> 745 <p>
707 Public method to find a child item given some text. 746 Public method to find a child item given some text.

eric ide

mercurial