From: ANZ1217 Date: Wed, 3 May 2023 05:14:06 +0000 (+0900) Subject: Update setXMLSync Command in Aurum document X-Git-Tag: accepted/tizen/7.0/unified/20230515.132826^2~4 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=69c27fd2cc18f284ba3f6fc93e6f691cd08b365d;p=platform%2Fcore%2Fuifw%2Faurum.git Update setXMLSync Command in Aurum document Change-Id: I90bf07ebf53e8f5e32b2062a6853041424dab08d --- diff --git a/docs/docs/commands/application/setxmlsync.md b/docs/docs/commands/application/setxmlsync.md new file mode 100644 index 0000000..d8a4a7b --- /dev/null +++ b/docs/docs/commands/application/setxmlsync.md @@ -0,0 +1,106 @@ +--- +layout: default +title: Set XML Sync +parent: Application Control +grand_parent: Commands +nav_order: 8 +--- +# Get Active App Tookit Name +Sets XML synchronization +## Example Usage + +
+
+{% capture code %} +{% highlight python linenos %} +response = stub.setXMLSync(ReqSetXMLSync(enable=True)) +{% endhighlight %} +{% endcapture %} +{% include fix_linenos.html code=code %} +{% assign code = nil %} +
+
+{% capture code %} +{% highlight js linenos %} +stub.setXMLSync({ enable: true }, (err, response) => { + if (err) console.log(err); + else console.log(response); +}); +{% endhighlight %} +{% endcapture %} +{% include fix_linenos.html code=code %} +{% assign code = nil %} +
+
+ +
+
+{% capture code %} +{% highlight csharp linenos %} +var response = client.setXMLSync(new ReqSetXMLSync{ enable = true, }); +{% endhighlight %} +{% endcapture %} +{% include fix_linenos.html code=code %} +{% assign code = nil %} +
+
+ +## Proto Definition + + + + + + + + + + + + + + + +
+ Name + + Requirement + + Response +
+ setXMLSync + +{% capture code %} +{% highlight ruby %} +message ReqSetXMLSync { + bool enable = 1; +} +{% endhighlight %} +{% endcapture %} +{% include fix_linenos.html code=code %} +{% assign code = nil %} + +{% capture code %} +{% highlight ruby %} +message RspSetXMLSync { + RspStatus status = 1; +} + +{% endhighlight %} +{% endcapture %} +{% include fix_linenos.html code=code %} +{% assign code = nil %} +
\ No newline at end of file diff --git a/docs/docs/commands/uiobject/setfocus.md b/docs/docs/commands/uiobject/setfocus.md new file mode 100644 index 0000000..2cde979 --- /dev/null +++ b/docs/docs/commands/uiobject/setfocus.md @@ -0,0 +1,114 @@ +--- +layout: default +title: Set Focus +parent: UI Object Control +grand_parent: Commands +nav_order: 17 +--- +# Set Focus +Set focus to specific UI Object +## Example Usage + +
+
+{% capture code %} +{% highlight python linenos %} +element = stub.findElement(ReqFindElement(isFocusable = True, isShowing = True)) +responses = stub.setFocus(ReqSetFocus(elementId = element.element.elementId)) +{% endhighlight %} +{% endcapture %} +{% include fix_linenos.html code=code %} +{% assign code = nil %} +
+
+{% capture code %} +{% highlight js linenos %} +stub.findElement({ isFocusable:true, isShowing: true }, (err, element) => { + if (err) console.log(err); + else + { + console.log(element); + stub.setFocus({ elementId: element.element.elementId }, (err2, response) => { + if (err2) console.log(err2); + else console.log(response); + }); + } +}); +{% endhighlight %} +{% endcapture %} +{% include fix_linenos.html code=code %} +{% assign code = nil %} +
+
+ +
+
+{% capture code %} +{% highlight csharp linenos %} +var element = client.findElement(new ReqFindElement{ IsFocusable = true, IsShowing = true }); +var response = client.setFocus(new ReqSetFocus{ ElementId = element.Element.ElementId }); +{% endhighlight %} +{% endcapture %} +{% include fix_linenos.html code=code %} +{% assign code = nil %} +
+
+ +## Proto Definition + + + + + + + + + + + + + + + +
+ Name + + Requirement + + Response +
+ setFocus + +{% capture code %} +{% highlight ruby %} +message ReqSetFocus { + string elementId = 1; +} +{% endhighlight %} +{% endcapture %} +{% include fix_linenos.html code=code %} +{% assign code = nil %} + +{% capture code %} +{% highlight ruby %} +message RspSetFocus { + RspStatus status = 1; +} +{% endhighlight %} +{% endcapture %} +{% include fix_linenos.html code=code %} +{% assign code = nil %} +
\ No newline at end of file diff --git a/docs/docs/commands/uiobject/setfous.md b/docs/docs/commands/uiobject/setfous.md deleted file mode 100644 index 2cde979..0000000 --- a/docs/docs/commands/uiobject/setfous.md +++ /dev/null @@ -1,114 +0,0 @@ ---- -layout: default -title: Set Focus -parent: UI Object Control -grand_parent: Commands -nav_order: 17 ---- -# Set Focus -Set focus to specific UI Object -## Example Usage - -
-
-{% capture code %} -{% highlight python linenos %} -element = stub.findElement(ReqFindElement(isFocusable = True, isShowing = True)) -responses = stub.setFocus(ReqSetFocus(elementId = element.element.elementId)) -{% endhighlight %} -{% endcapture %} -{% include fix_linenos.html code=code %} -{% assign code = nil %} -
-
-{% capture code %} -{% highlight js linenos %} -stub.findElement({ isFocusable:true, isShowing: true }, (err, element) => { - if (err) console.log(err); - else - { - console.log(element); - stub.setFocus({ elementId: element.element.elementId }, (err2, response) => { - if (err2) console.log(err2); - else console.log(response); - }); - } -}); -{% endhighlight %} -{% endcapture %} -{% include fix_linenos.html code=code %} -{% assign code = nil %} -
-
- -
-
-{% capture code %} -{% highlight csharp linenos %} -var element = client.findElement(new ReqFindElement{ IsFocusable = true, IsShowing = true }); -var response = client.setFocus(new ReqSetFocus{ ElementId = element.Element.ElementId }); -{% endhighlight %} -{% endcapture %} -{% include fix_linenos.html code=code %} -{% assign code = nil %} -
-
- -## Proto Definition - - - - - - - - - - - - - - - -
- Name - - Requirement - - Response -
- setFocus - -{% capture code %} -{% highlight ruby %} -message ReqSetFocus { - string elementId = 1; -} -{% endhighlight %} -{% endcapture %} -{% include fix_linenos.html code=code %} -{% assign code = nil %} - -{% capture code %} -{% highlight ruby %} -message RspSetFocus { - RspStatus status = 1; -} -{% endhighlight %} -{% endcapture %} -{% include fix_linenos.html code=code %} -{% assign code = nil %} -
\ No newline at end of file