# US 2018/0024819 A1 · Method for supporting development of user interface for application in gui environment and server using the same

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2018/0024819 A1
- Document ID: US20180024819A1
- Status: Published application
- Kind: A1
- Application number: 15/657,414
- Filed: 2017-07-24
- Published: 2018-01-25
- Earliest claimed: 2016-07-25
- Assignees: Tmaxsoft Co., Ltd.
- Applicants: Tmaxsoft. Co., Ltd.
- Inventors: Jong Yun Hwang; Ji Won Kim
- Web page: https://patentgrep.com/patent/US20180024819A1

## CPC

- G06F 8/38: for implementing user interfaces
- G06F 8/34: Graphical or visual programming
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A method for supporting UI development of an application in a graphical user interface environment is provided. The method includes steps of: (a) a server, if an intention of a user to start editing an action which is a set of UI changes is detected through GUI environment, acquiring a previous state of the UI model, wherein the previous state is a state before editing the action; and (b) the server, if an intention of the user to finish editing the action is detected through the GUI environment, comparing a changed state of the UI model with the previous state thereof to acquire a comparison result, where information on the action having been completely edited is reflected on the previous state of the UI model to acquire the changed state thereof; and recording the information on the action having been completely edited by referring to the comparison result.

## Claims

### Claim 1

A method for supporting UI development of an application in a graphical user interface environment, where a UI model includes at least one of UI elements and the UI elements are at least part of widgets or layouts, comprising steps of:
(a) a server, if an intention of a user to start editing an action which is a set of UI changes is detected through the GUI environment, acquiring or instructing another device to acquire a previous state of the UI model, wherein the previous state is a state before editing the action; and
(b) the server, if an intention of the user to finish editing the action is detected through the GUI environment, comparing or instructing another device to compare a changed state of the UI model with the previous state thereof to thereby acquire a comparison result, where information on the action having been completely edited is reflected on the previous state of the UI model to thereby acquire the changed state thereof; and recording or instructing another device to record the information on the action having been completely edited by referring to the comparison result, wherein the UI changes include a creation or a deletion of the UI elements and changes of attribute values thereof.

### Claim 2 (depends on 1)

The method of claim 1, further comprising a step of: (c) the server, if an intention of the user to apply the recorded action to a specific UI element included in the UI model is detected through the GUI environment, applying or instructing another device to apply the recorded action to the specific UI element by modifying the UI changes included in the recorded action to be UI changes for the specific UI element.

### Claim 3 (depends on 1)

The method of claim 1, further comprising a step of: storing or instructing other device to store, as a log, acts of the user changing the UI model detected through the GUI environment,
wherein, at the step of (b), if an intention of the user to finish editing the action is detected through the GUI environment, the server records or instructs another device to record the action having been edited by referring to the comparison result and the log.

### Claim 4 (depends on 2)

The method of claim 2, wherein the recorded action further includes information on an identifier for identifying the specific UI element to which the UI changes included in the recorded action are going to be applied.

### Claim 5 (depends on 2)

The method of claim 2, wherein, at the step of (c), only if, for each of the UI changes included in the recorded action, each of the UI changes corresponds to each of changes in the attribute values and the attribute values are related to the specific UI element, the server applies or instructs another device to apply each of the UI changes to the specific UI element.

### Claim 6 (depends on 1)

The method of claim 1, wherein types of the layouts include at least one of the following:
AbsoluteLayout which is a layout where a position of each of the widgets is determined from upper left of the layout by layoutTop and layoutLeft which are individual attribute values of the widgets included in the layouts;
LinearLayout which is a layout where each of the widgets included in the layouts is placed in an order of top to bottom or left to right according to an orientation being an attribute value of the layout;
DockLayout which is a layout where each of the widgets is arranged with respect to top, left, right, bottom, or center of the layout according to such values as top, left, right, bottom and center acceptable as an attribute value for each of the widgets included in the layouts by layoutAlignParent;
GridLayout which is a layout in which the layout is divided into a pattern of checkerboard by attribute values, row and column, of the layouts and where each of the widgets included in the layouts is placed on a selected position in the checkerboard pattern according to attribute values, layoutRow and layoutColumn, of each of the widgets;
FrameLayout which is a layout where each of the widgets included in the layouts is placed to be overlapped in a predetermined order;
TabLayout which is a layout including at least one tab on the top of the layout and in which each of the widgets is disposed in the layout if the at least one tab corresponding to attribute value layoutTabName of each of the widgets included in the layouts is pressed;
ScrollLayout which is a layout displaying a scroll bar if a total dimension summed up by a dimension of each of the widgets included in the layouts is larger than a dimension of the layout; and
ConditionalLayout which is a layout in which each of the widgets is displayed in the layout according to information on corresponding order, where the information on corresponding order is a result value of a function binding to layoutSwitchCase which is an attribute value of each of the widgets included in the layouts.

### Claim 7

A method for supporting UI development of an application in a graphical user interface environment, where a UI model includes at least one of UI elements and the UI elements are at least part of widgets or layouts, comprising steps of:
(a) a server, on the condition that (i) a previous state of the UI model is acquired, wherein the previous state is a state before editing an action which is a set of UI changes; (ii) if an intention of a user to finish editing the action is detected through the GUI environment, a changed state of the UI model is compared with the previous state thereof to thereby acquire a comparison result, where information on the action having been completely edited is reflected on the previous state of the UI model to thereby acquire the changed state thereof; and (iii) the information on the action having been completely edited by referring to the comparison result is recorded; if an intention of the user to bind the recorded action to a specific event or a specific logic capable of being handled through the application is detected through the GUI environment, acquiring or instructing another device to acquire the recorded action; and
(b) the server generating or instructing another device to generate information on codes by referring to information on the recorded action, wherein the information on codes is information used for implementing functions of the UI model,
wherein the UI changes include creation or deletion of the UI elements, and changes of attribute values thereof.

### Claim 8 (depends on 7)

The method of claim 7, wherein, at the step of (a), the server further acquires or instructs another device to acquire information on an identifier for identifying a specific UI element to which the UI changes included in the recorded action are going to be applied, and
wherein, at the step of (b), the server generates or instructs another device to generate the information on the codes by referring to the information on the identifier and the recorded action.

### Claim 9 (depends on 7)

The method of claim 7, further comprising a step of:
(c) the server, if an intention of the user to generate UI codes which are program codes for implementing functions of the UI model of the application is detected through the GUI environment, converting or instructing another device to convert the information on the codes to the UI codes.

### Claim 10 (depends on 7)

The method of claim 7, wherein the application further includes a library which is a module for implementing the functions of the UI model based on the information on the codes.

### Claim 11 (depends on 7)

The method of claim 7, wherein types of the layouts include at least one of the following:
AbsoluteLayout which is a layout where a position of each of the widgets is determined from upper left of the layout by layoutTop and layoutLeft which are individual attribute values of the widgets included in the layouts;
LinearLayout which is a layout where each of the widgets included in the layouts is placed in an order of top to bottom or left to right according to an orientation being an attribute value of the layout;
DockLayout which is a layout where each of the widgets is arranged with respect to top, left, right, bottom, or center of the layout according to such values as top, left, right, bottom and center acceptable as an attribute value for each of the widgets included in the layouts by layoutAlignParent;
GridLayout which is a layout in which the layout is divided into a pattern of checkerboard by attribute values, row and column, of the layouts and where each of the widgets included in the layouts is placed on a selected position in the checkerboard pattern according to attribute values, layoutRow and layoutColumn, of each of the widgets;
FrameLayout which is a layout where each of the widgets included in the layouts is placed to be overlapped in a predetermined order;
TabLayout which is a layout including at least one tab on the top of the layout and in which each of the widgets is disposed in the layout if the at least one tab corresponding to attribute value layoutTabName of each of the widgets included in the layouts is pressed;
ScrollLayout which is a layout displaying a scroll bar if a total dimension summed up by a dimension of each of the widgets included in the layouts is larger than a dimension of the layout; and
ConditionalLayout which is a layout in which each of the widgets is displayed in the layout according to information on corresponding order, where the information on corresponding order is a result value of a function binding to layoutSwitchCase which is an attribute value of each of the widgets included in the layouts.

### Claim 12

A server for supporting UI development of an application in a graphical user interface environment, where a UI model includes at least one of UI elements and the UI elements are at least part of widgets or layouts, comprising:
a communication part for detecting an intention of a user to start editing an action which is a set of UI changes through the GUI environment; and
a processor for (i) acquiring or instructing another device to acquire a previous state of the UI model, wherein the previous state is a state before editing the action; (ii) if an intention of the user to finish editing the action is detected through the GUI environment, comparing or instructing another device to compare a changed state of the UI model with the previous state thereof to thereby acquire a comparison result, where information on the action having been completely edited is reflected on the previous state of the UI model to thereby acquire the changed state thereof; and (iii) recording or instructing another device to record the information on the action having been completely edited by referring to the comparison result,
wherein the UI changes include creation or deletion of the UI elements and changes of attribute values thereof.

### Claim 13 (depends on 12)

The server of claim 12, wherein, if an intention of the user to apply the recorded action to a specific UI element included in the UI model is detected through the GUI environment, the processor applies or instructs another device to apply the recorded action to the specific UI element by modifying the UI changes included in the recorded action to be UI changes for the specific UI element.

### Claim 14 (depends on 12)

The server of claim 12, wherein the processor stores or instructs another device to store, as a log, acts of the user changing the UI model detected through the GUI environment, and if an intention of the user to finish editing the action is detected through the GUI environment, the processor records or instructs another device to record the action having been edited by referring to the comparison result and the log.

### Claim 15 (depends on 13)

The server of claim 13, wherein the recorded action further includes information on an identifier for identifying the specific UI element to which the UI changes included in the recorded action are going to be applied.

### Claim 16 (depends on 13)

The server of claim 13, wherein, only if, for each of the UI changes included in the recorded action, each of the UI changes corresponds to each of changes in the attribute values and the attribute values are related to the specific UI element, the processor applies or instructs another device to apply each of the UI changes to the specific UI element.

### Claim 17

A server for supporting UI development of an application in a graphical user interface environment, where a UI model includes at least one of UI elements and the UI elements are at least part of widgets or layouts, comprising:
a communication part for, on the condition that (i) a previous state of the UI model is acquired, wherein the previous state is a state before editing an action which is a set of UI changes; (ii) if an intention of a user to finish editing the action is detected through the GUI environment, a changed state of the UI model is compared with the previous state thereof to thereby acquire a comparison result where information on the action having been completely edited is reflected on the previous state of the UI model to thereby acquire the changed state thereof; and (iii) the information on the action having been completely edited by referring to the comparison result is recorded, detecting through the GUI environment an intention of the user to bind the recorded action to a specific event or a specific logic capable of being handled through the application; and
a processor for acquiring or instructing another device to acquire the recorded action and generating or instructing another device to generate information on codes by referring to information on the recorded action, wherein the information on codes is information used for implementing functions of the UI model,
wherein the UI changes include creation or deletion of the UI elements, and changes of attribute values thereof.

### Claim 18 (depends on 17)

The server of claim 17, wherein the processor further acquires or instructs another device to acquire information on an identifier for identifying a specific UI element to which the UI changes included in the recorded action are going to be applied and generates or instruct another device to generate the information on the codes by referring to the information on the identifier and the recorded action.

### Claim 19 (depends on 17)

The server of claim 17, wherein, if an intention of the user to generate UI codes which are program codes for implementing functions of the UI model of the application is detected through the GUI environment, the processor converts or instructs another device to convert the information on the codes to the UI codes.

### Claim 20 (depends on 17)

The server of claim 17, wherein the application further includes a library which is a module for implementing the functions of the UI model based on the information on the codes.
