App: extend Document::findObject to allow to search by label

This commit is contained in:
wmayer
2020-06-27 15:58:23 +02:00
parent 1f741aa511
commit 79e11ce8a1
4 changed files with 40 additions and 27 deletions

View File

@@ -158,11 +158,11 @@ object of this document.
NOTE: It's possible that several objects have the same label name.</UserDocu>
</Documentation>
</Methode>
<Methode Name="findObjects">
<Methode Name="findObjects" Keyword="true">
<Documentation>
<UserDocu>findObjects([string (type)], [string (name)]) -&gt; list
Return a list of objects that match the specified type and name.
Both parameters are optional.</UserDocu>
<UserDocu>findObjects([string (type)], [string (name)], [string (label)]) -&gt; list
Return a list of objects that match the specified type, name or label.
All parameters are optional.</UserDocu>
</Documentation>
</Methode>
<Methode Name="getLinksTo">