JP5171574B2 - Screen creation display system - Google Patents

Screen creation display system Download PDF

Info

Publication number
JP5171574B2
JP5171574B2 JP2008303531A JP2008303531A JP5171574B2 JP 5171574 B2 JP5171574 B2 JP 5171574B2 JP 2008303531 A JP2008303531 A JP 2008303531A JP 2008303531 A JP2008303531 A JP 2008303531A JP 5171574 B2 JP5171574 B2 JP 5171574B2
Authority
JP
Japan
Prior art keywords
class
screen
property
display
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2008303531A
Other languages
Japanese (ja)
Other versions
JP2010128839A (en
Inventor
英聡 小山
浩子 蒔田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Azbil Corp
Original Assignee
Azbil Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Azbil Corp filed Critical Azbil Corp
Priority to JP2008303531A priority Critical patent/JP5171574B2/en
Publication of JP2010128839A publication Critical patent/JP2010128839A/en
Application granted granted Critical
Publication of JP5171574B2 publication Critical patent/JP5171574B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、画面作成表示システムに関する。   The present invention relates to a screen creation display system.

GUI(Graphical User Interface)を有するOS(Operating System)において動作するアプリケーションプログラム(以下、単に「アプリケーション」とする)は、データの表示やデータ入力のために、複数種類の画面を表示することができる。これらの画面は、表示するオブジェクトの種類や配置、表示する文字の内容や配置などが、画面のそれぞれで異なるため、画面を個別に作成しなければならず、また、画面において入出力されるデータとアプリケーションとの対応付けを個別に行わなければならない。そのため、画面作成およびその品質確保には多くのコストが必要となっている。   An application program (hereinafter simply referred to as “application”) that operates on an OS (Operating System) having a GUI (Graphical User Interface) can display a plurality of types of screens for data display and data input. . Since these screens have different types and layout of objects to be displayed and the content and layout of displayed characters, the screens must be created individually, and the data that is input and output on the screens. Must be individually associated with the application. Therefore, many costs are required for screen creation and quality assurance.

また、このようなコストを削減するために、リストや表などのデータの入出力のための定型要素の部品化が行われているが、これらの部品自体を表示する処理や部品と入出力されるデータとのハンドリングは作りこむ必要があり、画面作成のコストを劇的に削減するには至っていない。
さらに、画面を表示する処理と、画面に入出力するデータは別々に設計され、別々のコンポーネントとして作成されることが多く、データのコンポーネントが変更された場合に、それに合わせて複数の画面を修正する必要が生じたり、修正漏れが発生したりするなど、データと画面との整合性が崩れてしまうという問題が生じていた。
In addition, in order to reduce such costs, standardized elements for data input / output such as lists and tables have been made into parts. The handling of data that needs to be created must be made, and the cost of screen creation has not been dramatically reduced.
In addition, the process of displaying the screen and the data to be input and output to the screen are often designed separately and created as separate components. When the data component is changed, multiple screens are modified accordingly. There has been a problem that the consistency between the data and the screen has been lost, such as the necessity to do so, or the occurrence of correction omissions.

ところで、特許文献1では、全てのアプリケーションに共通するクラスを定義することで、新規アプリケーションの開発労力を軽減する技術が開示されている。特許文献1に開示されている画像形成装置は、全てのアプリケーションおよびメニュー画面に共通する共通メニュー画面のクラスからインスタンスを生成する操作フロー制御部と、操作フロー制御部がインスタンスを生成するときに参照する操作フローインスタンス生成情報を備える。操作フロー制御部は、遷移先画面の画面レイアウトに関する情報を、操作フローインスタンス生成情報から取得して、共通メニュー画面のクラスをインスタンス化して遷移先画面を表示する。   By the way, Patent Document 1 discloses a technique for reducing the development effort of a new application by defining a class common to all applications. The image forming apparatus disclosed in Patent Document 1 refers to an operation flow control unit that generates an instance from a common menu screen class common to all applications and menu screens, and a reference when the operation flow control unit generates an instance. Operation flow instance generation information is provided. The operation flow control unit acquires information related to the screen layout of the transition destination screen from the operation flow instance generation information, instantiates the class of the common menu screen, and displays the transition destination screen.

しかし、特許文献1では、一部の画面の仕様が変更されただけでも、それをサポートするために、共通メニュー画面のクラスを変更しなければならない。そのため、他の画面に影響を与えてしまうこととなり、影響を調査するためのリグレッションテストが必要となるなど、品質確保のためのコストがかかってしまう。
特開2005−117544号公報
However, in Japanese Patent Application Laid-Open No. H11-260260, even if the specifications of some screens are changed, the class of the common menu screen must be changed to support it. As a result, other screens are affected, and a regression test for investigating the effects is required, which incurs costs for ensuring quality.
JP 2005-117544 A

背景技術として説明したように、画面の作成においては、コストがかかってしまうという問題がある。   As described in the background art, there is a problem in that it takes a high cost to create a screen.

本発明の目的は、上述したような課題を解決するためになされたものであり、画面の作成において、画面作成のコストを削減することができる画面作成表示システムを提供することにある。   An object of the present invention is to solve the above-described problems and to provide a screen creation display system capable of reducing screen creation costs in screen creation.

本発明にかかる画面作成表示システムは、画面の構成要素を表示する処理を実行する複数の部品クラスを有する部品クラスライブラリと、コンバータと、ジェネレータを備え、前記コンバータは、クラスに含まれる付加情報を取得する付加情報取得手段と、前記クラスに含まれる付加情報が対応付けられたプロパティの型を取得するプロパティ情報取得手段と、取得したプロパティの型に基づいて、前記部品クラスライブラリから画面の表示に使用する部品クラスを選択し、当該部品クラスを示す部品クラス情報を生成する部品クラス選択手段と、取得した付加情報に基づいて、前記画面の構成を示すレイアウト情報を生成する画面レイアウト編集手段を有し、前記ジェネレータは、前記コンバータから前記部品クラス情報および前記レイアウト情報を取得する画面情報取得手段と、取得した部品クラス情報およびレイアウト情報に基づいて、前記部品クラスを使用して、前記画面を出力するインスタンス実行手段を有するものである。これにより、画面作成のコストを削減することができる。   A screen creation display system according to the present invention includes a component class library having a plurality of component classes for executing processing for displaying screen components, a converter, and a generator, and the converter stores additional information included in the class. Based on the acquired property type, the property information acquisition unit that acquires the additional information acquisition unit that acquires the property type associated with the additional information included in the class, and displays the screen from the component class library. A component class selection unit that selects a component class to be used and generates component class information indicating the component class, and a screen layout editing unit that generates layout information indicating the configuration of the screen based on the acquired additional information. The generator receives the component class information and the layer from the converter. A screen information acquisition means for acquiring the door information, based on the acquired component class information and the layout information, using said component class, those having an instance execution means for outputting the screen. Thereby, the cost of screen creation can be reduced.

また、前記画面は、前記プロパティのそれぞれに対応するオブジェクトが配置されるようにしてもよい。   The screen may be arranged with objects corresponding to the respective properties.

さらに、前記部品クラス選択手段は、前記プロパティの型がクラスである場合は、当該プロパティに対応するオブジェクトを入れ子の構成で表示するように前記部品クラス情報を生成してもよい。   Furthermore, when the property type is a class, the component class selection unit may generate the component class information so that an object corresponding to the property is displayed in a nested configuration.

さらにまた、前記部品クラス選択手段は、前記プロパティの型がクラスである場合は、当該プロパティに対応するオブジェクトをダイアログによって表示するように前記部品クラス情報を生成してもよい。   Furthermore, when the type of the property is a class, the part class selection unit may generate the part class information so that an object corresponding to the property is displayed by a dialog.

他方、前記部品クラス選択手段は、当該プロパティに対応するオブジェクトを表として表示するように前記部品クラス情報を生成してもよい。   On the other hand, the part class selection means may generate the part class information so as to display the object corresponding to the property as a table.

また、前記表は、前記プロパティの型が配列型である場合は、要素の追加及び削除をするとこができるようにしてもよい。   Further, the table may be configured such that elements can be added and deleted when the property type is an array type.

ここで、前記付加情報は、前記プロパティに対応するオブジェクトの表示形式を示す表示タイプを含み、前記部品クラス選択手段は、当該表示タイプに基づいて、前記部品クラス情報を生成するようにしてもよい。   Here, the additional information may include a display type indicating a display format of the object corresponding to the property, and the component class selection unit may generate the component class information based on the display type. .

他方、前記付加情報は、依存するプロパティを示す依存プロパティ情報を含み、前記インスタンス実行手段は、前記依存するプロパティのフィールドの値が変更された場合に、当該付加情報が対応付けられたプロパティのフィールドの値を、対応するオブジェクトに表示するようにしてもよい。   On the other hand, the additional information includes dependent property information indicating a dependent property, and the instance executing means, when the value of the dependent property field is changed, the property field associated with the additional information. May be displayed on the corresponding object.

さらに、前記クラスは、前記オブジェクトの表示に関する情報を返す表示制御メソッドを有し、前記インスタンス実行手段は、当該表示制御メソッドの戻り値に基づいて、当該オブジェクトを表示するようにしてもよい。   Furthermore, the class may have a display control method for returning information related to the display of the object, and the instance execution means may display the object based on a return value of the display control method.

本発明により、画面作成のコストを削減することができる画面作成表示システムを提供することができる。   According to the present invention, it is possible to provide a screen creation display system that can reduce the cost of screen creation.

以下、本発明の実施の形態について、図面を参照しながら説明する。
ここで、本発明の実施の形態の説明において使用する用語を説明する。
クラスとは、オブジェクト指向プログラミングにおいて、データおよびメソッドなどをまとめた構造を定義したものをいう。
インスタンスとは、クラスの構造に対応する記憶領域が割り当てられた実体をいう。
フィールドとは、クラスに含まれる変数などのデータをいう。
メソッドとは、一連の処理を定義したものである。
プロパティとは、クラスのフィールドにアクセスするメソッドである。
属性とは、クラス、プロパティもしくはメソッドに対する情報であり、コンパイルのときに生成されるプログラムに格納される情報である。属性は、属性クラスとしても機能する。
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
Here, terms used in the description of the embodiment of the present invention will be described.
A class is defined as a structure in which data and methods are grouped in object-oriented programming.
An instance is an entity to which a storage area corresponding to the class structure is allocated.
A field is data such as a variable included in a class.
A method defines a series of processes.
A property is a method that accesses a field of a class.
An attribute is information on a class, a property, or a method, and is information stored in a program generated at the time of compilation. Attributes also function as attribute classes.

オブジェクトとは、チェックボックス、テキストボックスまたはコンボボックスなどの画面を構成する要素である。
なお、実施の形態では、本発明をオブジェクト指向言語であるMicrosoft(登録商標)の.NET Framework(登録商標)によるプログラミング環境において実施した例を示す。
An object is an element constituting a screen such as a check box, text box, or combo box.
In the embodiment, an example is shown in which the present invention is implemented in a programming environment based on .NET Framework (registered trademark) of Microsoft (registered trademark) which is an object-oriented language.

発明の実施の形態1.
本発明の実施の形態1にかかる画面作成表示システムについて説明する。
図1は、本発明の実施の形態にかかる画面作成表示システムを示すブロック図である。
画面作成表示システム1は、画面作成部10、コンパイル部20、記憶部30および入力表示部40を備える。
Embodiment 1 of the Invention
A screen creation display system according to a first embodiment of the present invention will be described.
FIG. 1 is a block diagram showing a screen creation display system according to an embodiment of the present invention.
The screen creation display system 1 includes a screen creation unit 10, a compilation unit 20, a storage unit 30, and an input display unit 40.

画面作成部10は、コンパイル部20によって生成されたプログラムを実行して、表示する画面を作成する。そして、画面作成部10は、作成した画面を入力表示部40に出力する処理を行う。画面作成部10は、CPU(Central Processing Unit)およびメモリなど(図示せず)を有し、OS(Operating System)11および.NET Framework(登録商標)クラスライブラリ12などが動作可能である。
コンパイル部20は、ソースコードをコンパイルして画面を表示するプログラムを生成する。コンパイル部20は、CPU(Central Processing Unit)およびメモリなど(図示せず)を有し、OS(Operating System)21、コンパイラ22および.NET Framework(登録商標)クラスライブラリ23などが動作可能である。
The screen creation unit 10 executes the program generated by the compilation unit 20 and creates a screen to be displayed. Then, the screen creation unit 10 performs processing for outputting the created screen to the input display unit 40. The screen creation unit 10 includes a CPU (Central Processing Unit), a memory, and the like (not shown), and can operate an OS (Operating System) 11 and a .NET Framework (registered trademark) class library 12.
The compiling unit 20 compiles the source code and generates a program that displays a screen. The compiling unit 20 includes a CPU (Central Processing Unit), a memory, and the like (not shown), and can operate an OS (Operating System) 21, a compiler 22, a .NET Framework (registered trademark) class library 23, and the like.

記憶部30は、コンバータ100、ジェネレータ200および部品クラスライブラリ300を格納する。記憶部30は、例えば、メモリ、HDD(Hard Disk Drive)またはCD−ROM(Compact Disk Read Only Memory)などの記憶装置を含む。
入力表示部40は、画面作成部10から出力された画面を表示する処理を行う。また、ユーザにより入力された入力データを、画面作成部10に入力する処理を行う。入力表示部40は、例えば、CRT(Cathode Ray Tube)、プラズマディスプレイまたは液晶ディスプレイなどの表示装置、およびマウスやキーボードなどの入力装置を有する。
The storage unit 30 stores a converter 100, a generator 200, and a part class library 300. The storage unit 30 includes a storage device such as a memory, an HDD (Hard Disk Drive), or a CD-ROM (Compact Disk Read Only Memory).
The input display unit 40 performs processing for displaying the screen output from the screen creation unit 10. Moreover, the process which inputs the input data input by the user into the screen creation part 10 is performed. The input display unit 40 includes, for example, a display device such as a CRT (Cathode Ray Tube), a plasma display or a liquid crystal display, and an input device such as a mouse or a keyboard.

コンバータ100は、ソースコードに記述されたクラスの構成に基づいて、部品クラス情報およびレイアウト情報を生成する。コンバータ100は、部品クラスライブラリのうち画面の表示に使用する部品クラスを示す部品クラス情報を生成する。コンバータ100は、クラスをウィンドウとし、クラスに含まれるプロパティもしくはメソッドのそれぞれをウィンドウに含まれるオブジェクトとした画面となるように、部品クラス情報を生成する。なお、コンバータ100は、真理値、数値および文字列などのプロパティの型に基づいて、チェックボックス、テキストボックスまたはコンボボックスなどオブジェクトの種類を決定する。   The converter 100 generates part class information and layout information based on the class configuration described in the source code. The converter 100 generates component class information indicating a component class used for displaying a screen in the component class library. The converter 100 generates component class information so as to obtain a screen in which a class is a window and each property or method included in the class is an object included in the window. Note that the converter 100 determines the type of an object such as a check box, text box, or combo box based on a property type such as a truth value, a numerical value, and a character string.

また、コンバータ100は、付加情報に基づいて、表示する画面の構成を示すレイアウト情報を生成する。ここで、付加情報は、画面に表示するウィンドウもしくはオブジェクトの表示名、表示順序、表示タイプ(縦方向に並べて表示、横方向に並べて表示、表として表示など)および入力制約などの情報である。なお、コンバータ100は、付加情報が対応付けられたクラス、プロパティもしくはメソッドを、ウィンドウまたはオブジェクトなどの画面を構成する要素とする。   In addition, converter 100 generates layout information indicating the configuration of the screen to be displayed based on the additional information. Here, the additional information is information such as the display name of the window or object displayed on the screen, the display order, the display type (display in the vertical direction, display in the horizontal direction, display as a table, etc.) and input restrictions. Note that the converter 100 uses a class, property, or method associated with additional information as an element constituting a screen such as a window or an object.

ジェネレータ200は、コンバータ100が生成した部品クラス情報およびレイアウト情報に基づいて、部品クラスライブラリ300を使用して、入力表示部40に画面を出力する処理を行う
部品クラスライブラリ300は、表示する画面に含まれるオブジェクトなどの画面の構成要素を表示する処理を行う。また、部品クラスライブラリ300は、入力表示部40からのオブジェクトへの入力を処理する。部品クラスライブラリは、例えば、.NET Framework(登録商標)クラスライブラリに含まれるオブジェクトを表示するクラスを継承して作成したものであってもよい。
The generator 200 uses the component class library 300 based on the component class information and layout information generated by the converter 100 to perform a process of outputting a screen to the input display unit 40. The component class library 300 is displayed on the screen to be displayed. Processing to display screen elements such as included objects is performed. The component class library 300 processes input to the object from the input display unit 40. The part class library may be created by inheriting a class for displaying an object included in the .NET Framework (registered trademark) class library, for example.

ここで、コンバータ100、ジェネレータ200および部品クラスライブラリ300は、記憶部30にDLL(Dynamic Link Library)として格納されている。コンパイル部20がソースコードをコンパイルするとき、もしくは画面作成部10が画面を表示するときに、画面作成部10もしくはコンパイル部20にロードされて処理を実行する。
なお、コンバータ100、ジェネレータ200および部品クラスライブラリ300は、DLLとして用意せずに、それらの処理をコンパイルするソースコードに含めておき、コンパイル部20によって生成するプログラムに含めるようにしてもよい。
Here, the converter 100, the generator 200, and the component class library 300 are stored in the storage unit 30 as a DLL (Dynamic Link Library). When the compiling unit 20 compiles the source code, or when the screen creation unit 10 displays a screen, it is loaded into the screen creation unit 10 or the compilation unit 20 and executes processing.
The converter 100, the generator 200, and the component class library 300 may be included in a program generated by the compiling unit 20 by including these processes in a source code to be compiled without preparing them as DLLs.

ここで、画面作成表示システムの構成は、上述の構成要素に相当する機能が含まれていれば、どのような構成であってもよい。
例えば、画面作成部10、コンパイル部20、記憶部30および入力表示部40は、PC(Personal computer)もしくはサーバなどの複数の情報処理装置のそれぞれに分散して備えるようにしてもよく、1つの情報処理装置にまとめて備えるようにしてもよい。
Here, the configuration of the screen creation display system may be any configuration as long as the functions corresponding to the above-described components are included.
For example, the screen creation unit 10, the compilation unit 20, the storage unit 30, and the input display unit 40 may be provided in a distributed manner in each of a plurality of information processing apparatuses such as a PC (Personal computer) or a server. The information processing apparatus may be provided together.

続いて、本発明の実施の形態1にかかる画面作成表示システムの処理について、図2を用いて説明する。
図2は、本発明の実施の形態1にかかる画面作成表示システムの詳細を示す図である。
まず、コンパイル部20は、コンパイラ22によって、ソースコード410のコンパイルを行い、画面を表示するプログラム420を生成する。
コンバータ100のプロパティ情報取得手段110は、コンパイルのときに、ソースコード410に記述されたプロパティの型を取得する。
また、コンバータ100の付加情報取得手段120は、コンパイルのときに、ソースコード410に記述された付加情報を取得する。コンバータ110が取得したプロパティの型および付加情報は、プログラム420に含まれる。
Next, processing of the screen creation display system according to the first exemplary embodiment of the present invention will be described with reference to FIG.
FIG. 2 is a diagram showing details of the screen creation display system according to the first exemplary embodiment of the present invention.
First, the compiling unit 20 uses the compiler 22 to compile the source code 410 and generate a program 420 that displays a screen.
The property information acquisition unit 110 of the converter 100 acquires the property type described in the source code 410 during compilation.
Further, the additional information acquisition unit 120 of the converter 100 acquires additional information described in the source code 410 at the time of compilation. The property type and additional information acquired by the converter 110 are included in the program 420.

ここで、コンパイル部20における処理を具体的に説明する。本実施の形態では、ソースコード410として、図3に示すソースコードのコンパイルを行う。また、図3に示すソースコードのクラスの概念図を図4(a)に示す。
図3に示すソースコードの6行目から22行目に示すRectangleクラスにおいて、6行目、14行目、17行目および20行目に、属性の引数として指定されている情報が付加情報である。このように付加情報は、クラス、プロパティおよびメソッドに対応付けられる。
図3の6行目の属性は、第1引数が表示名、第3引数が表示タイプを示す。
図3の14行目の属性は、第1引数が表示名、第3引数が表示順、第4引数が入力制約を示す。
図3の17行目および20行目の属性は、第1引数が表示名、第3引数が表示順を示す。
Here, the processing in the compiling unit 20 will be specifically described. In the present embodiment, the source code shown in FIG. FIG. 4A shows a conceptual diagram of the source code class shown in FIG.
In the Rectangle class shown in the 6th to 22nd lines of the source code shown in FIG. 3, the information specified as the attribute argument is the additional information in the 6th, 14th, 17th and 20th lines. is there. In this way, the additional information is associated with the class, property, and method.
In the attribute of the sixth line in FIG. 3, the first argument indicates the display name, and the third argument indicates the display type.
The attributes on the 14th line in FIG. 3 indicate that the first argument is the display name, the third argument is the display order, and the fourth argument is the input constraint.
In the attributes on the 17th and 20th lines in FIG. 3, the first argument indicates the display name, and the third argument indicates the display order.

図3に示すソースコードの24行目から38行目に示すRectSizeクラスにおいて、24行目、32行目および36行目に、属性の引数として指定されている情報が付加情報である。
図3の24行目の属性は、第1引数が表示名、第3引数が表示タイプを示す。
図3の32行目および36行目の属性は、第1引数が表示名、第3引数が入力制約を示す。
なお、付加情報の詳細については、後に詳述する。また、第2引数は、最終的に表示した画面において、プロパティ・メソッドに対応するオブジェクトに、マウスポインタが重なったときに表示するメッセージを指定することができる。
In the RectSize class shown in the 24th to 38th lines of the source code shown in FIG. 3, the information specified as the attribute argument in the 24th, 32nd and 36th lines is the additional information.
In the attribute on the 24th line in FIG. 3, the first argument indicates the display name, and the third argument indicates the display type.
In the attributes on the 32nd and 36th lines in FIG. 3, the first argument indicates the display name, and the third argument indicates the input constraint.
Details of the additional information will be described later. The second argument can specify a message to be displayed when the mouse pointer is over the object corresponding to the property / method on the finally displayed screen.

ここで、図3のソースコードに示される"UIStack"、"UIString"、"UIPanelItem"、"UIMethod"および"UIDecimal"の属性は、クラスとして機能する(以下、属性クラスとする)。
プロパティ情報取得手段110は、属性クラスのコンストラクタにおける処理において、.NET Freamework(登録商標)ライブラリ23を使用することにより、対応するプロパティの型を取得することで実現する。
付加情報取得手段120は、付加情報を属性クラスのコンストラクタへの引数として取得することで実現する。
このようにして取得したプロパティの型および付加情報を含んだ属性クラスのインスタンスは、シリアライズされて生成するプログラム420に格納される。
このように、本実施の形態では、属性クラスがコンバータ100として機能する。
Here, the attributes “UIStack”, “UIString”, “UIPanelItem”, “UIMethod”, and “UIDecimal” shown in the source code of FIG. 3 function as classes (hereinafter referred to as attribute classes).
The property information acquisition unit 110 is realized by acquiring the corresponding property type by using the .NET Framework (registered trademark) library 23 in the processing of the attribute class constructor.
The additional information acquisition unit 120 is realized by acquiring additional information as an argument to the constructor of the attribute class.
An instance of the attribute class including the property type and additional information acquired in this manner is stored in the program 420 that is generated by serialization.
Thus, in this embodiment, the attribute class functions as the converter 100.

次に、画面作成部11は、生成されたプログラム420を実行して、画面の表示データを作成し、作成した画面を入力表示部40に表示する。
ここでの処理を図5に示すシーケンス図を用いて説明する。
まず、プログラム420は、画面作成部11によって実行されると、ジェネレータのインスタンスを生成する(S701)。
次に、プログラム420は、図3および図4に示すRctangleクラスのインスタンスを生成する(S702)。
次に、ジェネレータ200は、Rctangleクラスのインスタンスを取得する(S703)。
Next, the screen creation unit 11 executes the generated program 420 to create screen display data, and displays the created screen on the input display unit 40.
This process will be described with reference to the sequence diagram shown in FIG.
First, when the program 420 is executed by the screen creation unit 11, an instance of a generator is generated (S701).
Next, the program 420 generates an instance of the Rcangle class shown in FIGS. 3 and 4 (S702).
Next, the generator 200 acquires an instance of the Rcangle class (S703).

次に、ジェネレータ200の画面情報取得手段210は、コンバータ100の部品クラス情報およびレイアウト情報を取得するメソッドを呼び出す(S704)。
ジェネレータ200によりメソッドが呼び出されると、コンバータ100は、ソースコードに記述されたクラスの構成に基づいて、部品クラス情報およびレイアウト情報を生成する(S705)。
ここで、ステップS704、S705における処理について詳細に説明する。
まず、ジェネレータ200によりメソッドが呼び出されると、コンバータ100の部品クラス選択手段130は、コンバータ100が有するプロパティの型に基づいて、このプロパティに対応するオブジェクトを決定する。そして、決定したオブジェクトの表示に使用する部品クラスを選択し、この部品クラスを示す部品クラス情報を生成する。
Next, the screen information acquisition unit 210 of the generator 200 calls a method for acquiring the component class information and layout information of the converter 100 (S704).
When the method is called by the generator 200, the converter 100 generates part class information and layout information based on the class configuration described in the source code (S705).
Here, the processes in steps S704 and S705 will be described in detail.
First, when a method is called by the generator 200, the component class selection unit 130 of the converter 100 determines an object corresponding to this property based on the property type of the converter 100. Then, the component class used for displaying the determined object is selected, and component class information indicating the component class is generated.

具体的には、図4に示すRectangleクラスのプロパティ"Name"のように、型が文字列である場合は、対応するオブジェクトとしてテキストボックスを決定する。
また、プロパティ"Size"のように、型がクラスである場合は、この型であるRectSizeクラスに含まれるプロパティに対応するオブジェクトを入れ子の構成で表示するようにオブジェクトを決定する。
メソッド"Set"は、対応するオブジェクトとしてコマンドボタンを決定する。
Specifically, when the type is a character string as in the property “Name” of the Rectangle class shown in FIG. 4, the text box is determined as the corresponding object.
Further, when the type is a class like the property “Size”, the object is determined so that the object corresponding to the property included in the RectSize class that is the type is displayed in a nested configuration.
The method “Set” determines a command button as a corresponding object.

RectSizeクラスのプロパティ"Height"および"Width"のように、型が数値である場合は、対応するオブジェクトとしてテキストボックスを決定する。
なお、プロパティの型およびメソッドに対応するオブジェクトは、自由に定義することができ、本実施の形態に例示したものに限られない。
When the type is a numerical value, such as the properties “Height” and “Width” of the RectSize class, the text box is determined as the corresponding object.
Note that objects corresponding to property types and methods can be freely defined, and are not limited to those exemplified in the present embodiment.

さらに、コンバータ100の画面レイアウト編集手段140は、コンバータ100が有する付加情報に基づいて、レイアウト情報を生成する。
具体的には、図4に示すRectangleクラスのように、付加情報の表示名が"四角"、タイプが"StackLayout.LONG"である場合は、ウィンドウに"四角"を表示し、ウィンドウに含まれるオブジェクトのそれぞれを縦に並べて表示するようにレイアウト情報を生成する。
また、それぞれのオブジェクトに、付加情報の表示名において指定された表示名を表示するようにレイアウト情報を生成する。
さらに、それぞれのオブジェクトは、付加情報の表示順において指定された順序によって、上から順番に縦に並べて表示するようにレイアウト情報を生成する。
Furthermore, the screen layout editing unit 140 of the converter 100 generates layout information based on the additional information that the converter 100 has.
Specifically, when the display name of the additional information is “square” and the type is “StackLayout.LONG” as in the Rectangle class shown in FIG. 4, “square” is displayed in the window and included in the window. Layout information is generated so that each of the objects is displayed vertically.
In addition, layout information is generated so that the display name specified in the display name of the additional information is displayed on each object.
Furthermore, the layout information is generated so that each object is displayed in the vertical order from the top in the order specified in the display order of the additional information.

RectSizeクラスは、タイプが"StackLayout.LONG"であるため、入れ子の構成で表示されるオブジェクトのそれぞれを縦に並べて表示するようにレイアウト情報を生成する。
また、付加情報では、プロパティ"Name"のように、オブジェクトへの入力を不可とする入力制約や、プロパティ"Height"および"Width"のように、オブジェクトへ入力を制限する入力制約をレイアウト情報に含めることもできる。
Since the type of the RectSize class is “StackLayout.LONG”, the layout information is generated so that the objects displayed in the nested configuration are displayed side by side.
Further, in the additional information, layout information includes an input constraint that disables input to the object such as the property “Name”, and an input constraint that restricts input to the object such as the properties “Height” and “Width”. It can also be included.

ここで、さらに具体的には、本実施の形態では、前述のとおり、属性クラスがコンバータ100として機能するため、ステップS704およびS705の処理は、ジェネレータ200が、属性クラスの部品クラス情報およびレイアウト情報を取得するメソッドを呼び出すことにより行われる。つまり、クラス、プロパティおよびメソッドのそれぞれに対応する属性クラスのメソッドを呼び出すことで、部品クラス情報およびレイアウト情報を取得する。
なお、部品クラス選択手段130および画面レイアウト編集手段140における処理を、属性クラスのコンストラクタで実行するようにして、コンパイルしたときに、部品クラス情報およびレイアウト情報が生成されるようにしてもよい。
Here, more specifically, in the present embodiment, as described above, the attribute class functions as the converter 100. Therefore, in the processing of steps S704 and S705, the generator 200 performs component class information and layout information of the attribute class. This is done by calling the method that gets. That is, component class information and layout information are acquired by calling attribute class methods corresponding to classes, properties, and methods.
The processing in the component class selection unit 130 and the screen layout editing unit 140 may be executed by the attribute class constructor so that the component class information and the layout information are generated when compiling.

ジェネレータ200の画面情報取得手段210は、このようにして生成された部品クラス情報およびレイアウト情報を取得する(S706)。
次に、ジェネレータ200のインスタンス実行手段220は、部品クラスライブラリのうちの部品クラス情報が示す部品クラスのインスタンスを生成し、生成したインスタンスを取得する(S707,S708)。
そして、ジェネレータ200のインスタンス実行手段220は、インスタンスを生成した部品クラスのメソッドを実行する(S709)。例えば、インスタンス実行手段220は、レイアウト情報に基づいて、引数を指定するなどして、部品クラスのコンストラクタ、メソッドなどを実行する。
ステップS709により、部品クラスのメソッドは、入力表示部40に図4(b)に示す画面を表示する(S710)。
The screen information acquisition unit 210 of the generator 200 acquires the component class information and the layout information generated in this way (S706).
Next, the instance execution means 220 of the generator 200 generates an instance of the component class indicated by the component class information in the component class library, and acquires the generated instance (S707, S708).
Then, the instance execution means 220 of the generator 200 executes the method of the component class that generated the instance (S709). For example, the instance execution means 220 executes a component class constructor, method, and the like by specifying an argument based on the layout information.
In step S709, the component class method displays the screen shown in FIG. 4B on the input display unit 40 (S710).

このようにして、表示された画面において、プロパティに対応したフィールドに格納されるデータが、このプロパティに対応するオブジェクトに表示される。例えば、図4(a-1)のプロパティ"Name"に対応する図3に示すフィールド"name"に格納されている値が"Sample"である場合は、図4(b)のように、対応するテキストボックス"名称"にその値が表示される。   In this way, on the displayed screen, the data stored in the field corresponding to the property is displayed on the object corresponding to this property. For example, when the value stored in the field “name” shown in FIG. 3 corresponding to the property “Name” in FIG. 4A-1 is “Sample”, the correspondence is as shown in FIG. The value is displayed in the text box "Name".

また、入力表示部40からプロパティに対応したオブジェクトに値が入力されると、このプロパティに対応するフィールドに値が設定される。例えば、図4(a-2)のプロパティ"Height"および"Width"に対応するテキストボックス"高さ"および"幅"に値が入力されると、対応する図3に示すフィールド"height"および"width"に入力された値が格納される。この処理は、部品クラスがオブジェクトに入力された値をRectSizeクラスのプロパティによって、それぞれにフィールドに反映することで行うことができる。   When a value is input from the input display unit 40 to the object corresponding to the property, the value is set in the field corresponding to the property. For example, when values are entered in the text boxes “height” and “width” corresponding to the properties “Height” and “Width” in FIG. 4A-2, the corresponding fields “height” and “Height” shown in FIG. The value input in “width” is stored. This processing can be performed by reflecting the value of the component class input to the object in the field according to the property of the RectSize class.

発明の実施の形態2.
本発明の実施の形態2にかかる画面作成表示システムについて説明する。
なお、画面作成表示システムの構成および処理は、実施の形態1と同様であるため、説明を省略する。
図6に本発明の実施の形態2にかかるクラスの概念図および生成される画面を示す。
図6(a-1)(a-2)に示すクラスが記述されたソースコード410に基づいて、画面を生成した場合には、図6(b)に示す画面が作成され、表示される。
図6に示すプロパティ"Size"のように、付加情報の表示タイプが"Grid"である場合は、コンバータ100の部品クラス選択手段130は、プロパティ"Size"に対応するオブジェクトを表として表示するように、部品クラス情報を生成する。
Embodiment 2 of the Invention
A screen creation display system according to a second embodiment of the present invention will be described.
Note that the configuration and processing of the screen creation display system are the same as those in the first embodiment, and a description thereof will be omitted.
FIG. 6 shows a conceptual diagram of a class and a generated screen according to the second embodiment of the present invention.
When the screen is generated based on the source code 410 in which the classes shown in FIGS. 6A-1 and 6A-2 are described, the screen shown in FIG. 6B is created and displayed.
When the display type of the additional information is “Grid” like the property “Size” illustrated in FIG. 6, the component class selection unit 130 of the converter 100 displays the object corresponding to the property “Size” as a table. Next, component class information is generated.

また、このときに図6に示すように、プロパティ"Size"の型が配列もしくはコレクションである場合は、要素の追加・削除をすることができる表となるようにすることができる。例えば、プロパティの型が配列もしくはコレクションである場合に、要素の追加・削除をすることができる表を表示する部品クラスを選択してもよい。また、付加情報によって追加・削除のありなしを指定できるようにして、この付加情報に基づいて生成されたレイアウト情報で示された引数を、表を表示する部品クラスに指定によって、追加・削除することができる表のオブジェクトに切り替えを行うことができるようにしてもよい。   At this time, as shown in FIG. 6, if the type of the property “Size” is an array or a collection, a table in which elements can be added / deleted can be formed. For example, when the property type is an array or a collection, a part class that displays a table in which elements can be added or deleted may be selected. Addition / deletion can be specified by additional information, and the argument indicated by the layout information generated based on this additional information is added / deleted by specifying the part class that displays the table. It may be possible to switch to a table object that can be used.

発明の実施の形態3.
本発明の実施の形態3にかかる画面作成表示システムについて説明する。
なお、画面作成表示システムの構成および処理は、実施の形態1と同様であるため、説明を省略する。
図7に本発明の実施の形態3にかかるクラスの概念図および生成される画面を示す。
図7(a-1)(a-2)に示すクラスが記述されたソースコード410に基づいて、画面を生成した場合には、図7(b)に示す画面が作成され、表示される。
図7に示すプロパティ"Confirm"のように、付加情報のタイプが"Dialog"である場合は、コンバータ100の部品クラス選択手段130は、プロパティ"Confirm"に対応するオブジェクトをダイアログとして表示するように、部品クラス情報を生成する。
Embodiment 3 of the Invention
A screen creation display system according to a third embodiment of the present invention will be described.
Note that the configuration and processing of the screen creation display system are the same as those in the first embodiment, and a description thereof will be omitted.
FIG. 7 shows a conceptual diagram of a class and a generated screen according to the third embodiment of the present invention.
When the screen is generated based on the source code 410 in which the classes shown in FIGS. 7A-1 and 7A-2 are described, the screen shown in FIG. 7B is created and displayed.
When the type of additional information is “Dialog” as in the property “Confirm” shown in FIG. 7, the component class selection unit 130 of the converter 100 displays the object corresponding to the property “Confirm” as a dialog. Generate component class information.

発明の実施の形態4.
本発明の実施の形態4にかかる画面作成表示システムについて説明する。
なお、画面作成表示システムの構成および処理は、実施の形態1と同様であるため、説明を省略する。
図8に本発明の実施の形態4にかかるクラスの概念図および生成される画面を示す。
図8(a)に示すクラスが記述されたソースコード410に基づいて、画面を生成した場合には、図8(b-1)に示す画面が作成され、表示される。なお、図8(b−1)に示す値は、ユーザにより入力表示部40において入力されたものとする。
Embodiment 4 of the Invention
A screen creation display system according to a fourth embodiment of the present invention will be described.
Note that the configuration and processing of the screen creation display system are the same as those in the first embodiment, and a description thereof will be omitted.
FIG. 8 shows a conceptual diagram of a class and a generated screen according to the fourth embodiment of the present invention.
When the screen is generated based on the source code 410 describing the class shown in FIG. 8A, the screen shown in FIG. 8B-1 is created and displayed. Note that the values shown in FIG. 8B-1 are input by the user on the input display unit 40.

本実施の形態においては、図8(a)に示すように、付加情報には、依存するプロパティを示す依存プロパティを指定することができる。依存プロパティには、依存するプロパティの名称を指定する。ジェネレータ200は、依存するプロパティに対応するフィールドの値が変更された場合に、依存プロパティを指定しているプロパティに対応するフィールドの値を取得して、取得した値によりオブジェクトを表示する。
これにより、プロパティに対応するフィールドの値が、特定のプロパティのフィールドの値の変更に伴って変わる場合に、変更後のフィールドの値を取得して、表示することができる。
In the present embodiment, as shown in FIG. 8A, a dependency property indicating a dependent property can be designated in the additional information. In the dependency property, specify the name of the dependent property. When the value of the field corresponding to the dependent property is changed, the generator 200 acquires the value of the field corresponding to the property that specifies the dependent property, and displays the object by the acquired value.
Thereby, when the value of the field corresponding to the property changes with the change of the value of the field of the specific property, the value of the field after the change can be acquired and displayed.

ここで、図8(a)に示すプロパティ"Num2"に対応するフィールドの値は、プロパティ"Num1"に対応するフィールドの値を2倍した値となるものとする。また、プロパティ"Num2"の依存プロパティとして、プロパティ"Num1"が指定されている。
図8(b−1)に示す画面の状態において、図8(b−2)に示すように、プロパティ"Num1"に対応するオブジェクトの値に"2"が入力されると、このオブジェクトに対応する部品クラスは、プロパティ"Num1"のフィールドの値が2に変更する。それに伴って、プロパティ"Num2"のフィールドの値は、"2"を2倍した値である"4"に変更される。
Here, it is assumed that the value of the field corresponding to the property “Num2” illustrated in FIG. 8A is a value obtained by doubling the value of the field corresponding to the property “Num1”. Further, the property “Num1” is designated as the dependency property of the property “Num2”.
In the state of the screen shown in FIG. 8 (b-1), as shown in FIG. 8 (b-2), when “2” is input to the value of the object corresponding to the property “Num1”, this object is supported. In the part class to be changed, the field value of the property “Num1” is changed to 2. Along with this, the value of the field of the property “Num2” is changed to “4”, which is a value obtained by doubling “2”.

ジェネレータ200は、依存プロパティのフィールドの値が変更されると、プロパティ"Num2"のフィールドの値を取得して、対応するオブジェクトを取得した値により表示する。これにより、画面の表示は、図8(b−3)となる。この処理は、例えば、ジェネレータ200のメソッドの一つに実装しておき、このメソッドをプロパティ"Num1"に対応するオブジェクトの値が変更されたときに、呼び出されるイベントとして部品クラスに登録しておくことで実現することができる。   When the value of the dependent property field is changed, the generator 200 acquires the value of the field of the property “Num2” and displays the corresponding object by the acquired value. As a result, the screen display is as shown in FIG. For example, this process is implemented in one of the methods of the generator 200, and this method is registered in the component class as an event to be called when the value of the object corresponding to the property “Num1” is changed. Can be realized.

発明の実施の形態5.
本発明の実施の形態5にかかる画面作成表示システムについて説明する。
なお、画面作成表示システムの構成および処理は、実施の形態1と同様であるため、説明を省略する。
図9に本発明の実施の形態3にかかるソースコードを示す。また、図10に、図9に示すソースコードに記述されたクラスの概念図および生成される画面を示す。
図10(a)に示すクラスが記述されたソースコード410に基づいて、画面を生成した場合には、図10(b-1)もしくは図10(b-2)に示す画面が作成され、表示される。
Embodiment 5 of the Invention
A screen creation display system according to a fifth embodiment of the present invention will be described.
Note that the configuration and processing of the screen creation display system are the same as those in the first embodiment, and a description thereof will be omitted.
FIG. 9 shows source code according to the third embodiment of the present invention. FIG. 10 shows a conceptual diagram of a class described in the source code shown in FIG. 9 and a generated screen.
When the screen is generated based on the source code 410 describing the class shown in FIG. 10A, the screen shown in FIG. 10B-1 or FIG. 10B-2 is created and displayed. Is done.

本実施の形態のソースコード410に記述されたクラスは、表示制御メソッドを有する。
ジェネレータ200は、部品クラスライブラリ300を使用して、オブジェクトを表示するときに、表示制御メソッドの戻り値に従って、対応するオブジェクトの表示・非表示を切り替える。
図9に示すソースコードの26行目のメソッド"GetVisibleForName"および32行目のメソッド"GetVisibleForSet"が、表示制御メソッドである。表示制御メソッド"GetVisibleForName"は、プロパティ"Name"に対応するオブジェクトの表示・非表示を示す情報を返す。表示制御メソッド"GetVisibleForSet"は、メソッド"Set"に対応するオブジェクトの表示・非表示を示す情報を返す。
The class described in the source code 410 of this embodiment has a display control method.
When the generator 200 uses the component class library 300 to display an object, the generator 200 switches display / non-display of the corresponding object according to the return value of the display control method.
The method “GetVisibleForName” on line 26 and the method “GetVisibleForSet” on line 32 of the source code shown in FIG. 9 are display control methods. The display control method “GetVisibleForName” returns information indicating display / non-display of the object corresponding to the property “Name”. The display control method “GetVisibleForSet” returns information indicating the display / non-display of the object corresponding to the method “Set”.

まず、ジェネレータ200は、それぞれの表示制御メソッドが"false"を返す場合は、プロパティ"Name"およびメソッド"Set"に対応するオブジェクトを非表示として、図10(b-1)に示す画面を表示する。
次に、入力表示部40によって、チェックボックスがチェックされた場合、チェックボックスに対応する部品クラスは、図9に示すプロパティ"IsNameVisible"および"IsSetVisible"によって、これらのプロパティに対応するフィールドを"ture"に設定する。
First, when each display control method returns “false”, the generator 200 hides the object corresponding to the property “Name” and the method “Set” and displays the screen illustrated in FIG. To do.
Next, when the check box is checked by the input display unit 40, the component class corresponding to the check box uses the properties “IsNameVisual” and “IsSetVisual” shown in FIG. Set to ".

また、チェックボックスがチェックされたことにより、部品クラスは、対応するプロパティ"Input"のフィールドの値を変更する。そのため、ジェネレータ200は、依存プロパティを"Input"としているプロパティ"Name"およびメソッド"Set"に対応するオブジェクトの表示する処理を行う。
このときに、ジェネレータ200は、表示制御メソッドを呼び出し、戻り値が"ture"となっているため、プロパティ"Name"およびメソッド"Set"に対応するオブジェクトを表示する。
表示制御メソッドを用意することで、このようにして、プロパティに対応するメソッドの表示・非表示を制御することができる。
In addition, when the check box is checked, the component class changes the value of the field of the corresponding property “Input”. Therefore, the generator 200 performs processing for displaying objects corresponding to the property “Name” and the method “Set” whose dependency property is “Input”.
At this time, the generator 200 calls the display control method and displays the object corresponding to the property “Name” and the method “Set” because the return value is “true”.
By preparing the display control method, display / non-display of the method corresponding to the property can be controlled in this way.

また、表示・非表示を制御する表示制御メソッドの他に、選択肢取得用の表示制御メソッドを設けることもできる。例えば、コンボボックスに表示する項目を、戻り値によって返す表示制御メソッドを設けることもできる。また、コンバータ100の部品クラス選択手段130は、本来はテキストボックスで表示する型のプロパティであっても、このプロパティに対応する選択肢取得用の表示制御メソッドが存在する場合には、テキストボックスでなくコンボボックスを表示するように部品クラス情報を生成するようにすることもできる。   In addition to the display control method for controlling display / non-display, a display control method for obtaining options can be provided. For example, a display control method that returns an item to be displayed in the combo box by a return value may be provided. Further, the component class selection unit 130 of the converter 100 is not a text box when there is a display control method for obtaining an option corresponding to this property, even if it is a property of a type originally displayed in a text box. The part class information can be generated so as to display the combo box.

以上に説明した、本発明の実施の形態によれば、フィールドなどのデータと付加情報を記述したクラスを定義するだけで、画面を作成することができるため、画面を表示する処理の作成が画面作成のコストを削減することができる。
また、データに対応するプロパティを、画面を構成する要素としているため、画面の修正および変更などにより、データと画面との整合性が崩れることもなくなる。
さらに、画面をクラスの構成に基づいて、自動的に生成しているため、レイアウトが統一された画面を作成、表示することができる。
その他に、異なるアプリケーション、装置もしくはシステムから送信されてきたデータであっても、型さえ認識することができれば画面を作成して表示し、画面を介してデータの入出力を行うことができる。また、このとき送信されるデータには、表示する処理のための情報を含む必要がないため、送信するデータ量が少なくて済み、通信負荷も軽減することができる。
According to the embodiment of the present invention described above, a screen can be created simply by defining a class describing data such as fields and additional information. The production cost can be reduced.
In addition, since the properties corresponding to the data are used as elements constituting the screen, the consistency between the data and the screen is not lost due to correction or change of the screen.
Furthermore, since the screen is automatically generated based on the class configuration, a screen with a uniform layout can be created and displayed.
In addition, even if data is transmitted from different applications, devices, or systems, a screen can be created and displayed as long as the type can be recognized, and data can be input / output via the screen. Also, since the data transmitted at this time does not need to include information for processing to be displayed, the amount of data to be transmitted can be reduced, and the communication load can be reduced.

以上に説明した本発明にかかる画面作成表示システムは、上述の実施の形態の機能を実現するプログラムを記憶した記憶媒体をシステムもしくは装置に供給し、システムあるいは装置の有するコンピュータ又はCPU(Central Processing Unit)、MPU(Micro Processing Unit)がこのプログラムを実行することによって、構成することが可能である。
また、このプログラムは様々な種類の記憶媒体に格納することが可能であり、また、通信媒体を介して伝達されることが可能である。ここで、記憶媒体には、例えば、フレキシブルディスク、ハードディスク、磁気ディスク、光磁気ディスク、CD−ROM(Compact Disk Read Only Memory)、DVD(Digital Versatile Disk)、BD(Blu-ray Disk)、ROM(Read Only Memory)カートリッジ、バッテリバックアップ付きRAM(Random Access Memory)メモリカートリッジ、フラッシュメモリカートリッジ、不揮発性RAMカートリッジを含む。また、通信媒体には、電話回線の有線通信媒体、マイクロ波回線の無線通信媒体を含み、インターネット(登録商標)も含まれる。
The screen creation display system according to the present invention described above supplies a storage medium storing a program for realizing the functions of the above-described embodiments to the system or apparatus, and the computer or CPU (Central Processing Unit) included in the system or apparatus. ) And MPU (Micro Processing Unit) can be configured by executing this program.
In addition, this program can be stored in various types of storage media, and can be transmitted via a communication medium. Here, the storage medium includes, for example, a flexible disk, hard disk, magnetic disk, magneto-optical disk, CD-ROM (Compact Disk Read Only Memory), DVD (Digital Versatile Disk), BD (Blu-ray Disk), ROM ( A read only memory (RAM) cartridge, a battery-backed RAM (Random Access Memory) memory cartridge, a flash memory cartridge, and a nonvolatile RAM cartridge are included. The communication medium includes a telephone line wired communication medium and a microwave line wireless communication medium, and also includes the Internet (registered trademark).

また、コンピュータが上述の実施の形態の機能を実現するプログラムを実行することにより、上述の実施の形態の機能が実現されるだけではなく、このプログラムの指示に基づき、コンピュータ上で稼動しているOS(Operating System)もしくはアプリケーションソフトと共同して上述の実施の形態の機能が実現される場合も、発明の実施の形態に含まれる。
さらに、このプログラムの処理の全てもしくは一部がコンピュータに挿入された機能拡張ボードやコンピュータに接続された機能拡張ユニットにより行われて上述の実施の形態の機能が実現される場合も、発明の実施の形態に含まれる。
Further, when the computer executes the program that realizes the functions of the above-described embodiment, not only the functions of the above-described embodiment are realized, but also the computer is operating on the basis of the instructions of this program. A case where the functions of the above-described embodiment are realized in cooperation with an OS (Operating System) or application software is also included in the embodiment of the invention.
Further, when the functions of the above-described embodiment are realized by performing all or part of the processing of the program by a function expansion board inserted into the computer or a function expansion unit connected to the computer, the present invention may be implemented. It is included in the form.

本発明の実施の形態1にかかる画面作成表示システムを示すブロック図である。It is a block diagram which shows the screen creation display system concerning Embodiment 1 of this invention. 本発明の実施の形態1にかかる画面作成表示システムの詳細を示す図である。It is a figure which shows the detail of the screen creation display system concerning Embodiment 1 of this invention. 本発明の実施の形態1にかかるソースコードを示す図である。It is a figure which shows the source code concerning Embodiment 1 of this invention. 本発明の実施の形態1にかかるクラスの概念図および表示画面を示す図である。It is a figure which shows the conceptual diagram and display screen of the class concerning Embodiment 1 of this invention. 本発明の実施の形態1にかかる画面作成表示処理のシーケンス図である。It is a sequence diagram of the screen creation display process concerning Embodiment 1 of this invention. 本発明の実施の形態2にかかるクラスの概念図および表示画面を示す図である。It is a figure which shows the conceptual diagram and display screen of the class concerning Embodiment 2 of this invention. 本発明の実施の形態3にかかるクラスの概念図および表示画面を示す図である。It is a figure which shows the conceptual diagram and display screen of the class concerning Embodiment 3 of this invention. 本発明の実施の形態4にかかるクラスの概念図および表示画面を示す図である。It is a figure which shows the conceptual diagram and display screen of the class concerning Embodiment 4 of this invention. 本発明の実施の形態5にかかるソースコードを示す図である。It is a figure which shows the source code concerning Embodiment 5 of this invention. 本発明の実施の形態5にかかるクラスの概念図および表示画面を示す図である。It is a figure which shows the conceptual diagram and display screen of the class concerning Embodiment 5 of this invention.

符号の説明Explanation of symbols

1 画面作成表示システム
10 画面作成部
11、21 OS
12、13 .NET Freamework(登録商標)クラスライブラリ
20 コンパイル部
22 コンパイラ
30 記憶部
40 入力表示部
100 コンバータ
110 プロパティ情報取得手段
120 付加情報取得手段
130 部品クラス選択手段
140 画面レイアウト編集手段
210 画面情報取得手段
220 インスタンス実行手段
300 部品クラスライブラリ
410 ソースコード
420 プログラム
1 Screen creation display system 10 Screen creation unit 11, 21 OS
12, 13 .NET Framework (registered trademark) class library 20 Compile unit 22 Compiler 30 Storage unit 40 Input display unit 100 Converter 110 Property information acquisition unit 120 Additional information acquisition unit 130 Part class selection unit 140 Screen layout editing unit 210 Screen information acquisition Means 220 Instance Execution Means 300 Part Class Library 410 Source Code 420 Program

Claims (9)

画面の構成要素を表示する処理を実行する複数の部品クラスを有する部品クラスライブラリと、コンバータと、ジェネレータを備え、
前記コンバータは、クラスに含まれる付加情報を取得する付加情報取得手段と、
前記クラスに含まれる付加情報が対応付けられたプロパティの型を取得するプロパティ情報取得手段と、
取得したプロパティの型に基づいて、前記部品クラスライブラリから画面の表示に使用する部品クラスを選択し、当該部品クラスを示す部品クラス情報を生成する部品クラス選択手段と、
取得した付加情報に基づいて、前記画面の構成を示すレイアウト情報を生成する画面レイアウト編集手段を有し、
前記ジェネレータは、前記コンバータから前記部品クラス情報および前記レイアウト情報を取得する画面情報取得手段と、
取得した部品クラス情報およびレイアウト情報に基づいて、前記部品クラスを使用して、前記画面を出力するインスタンス実行手段を有する画面作成表示システム。
A component class library having a plurality of component classes that execute processing for displaying the components of the screen, a converter, and a generator;
The converter includes additional information acquisition means for acquiring additional information included in a class;
Property information acquisition means for acquiring a property type associated with additional information included in the class;
Based on the acquired property type, a part class selection unit that selects a part class to be used for display on the screen from the part class library and generates part class information indicating the part class;
Screen layout editing means for generating layout information indicating the configuration of the screen based on the acquired additional information;
The generator includes screen information acquisition means for acquiring the component class information and the layout information from the converter;
A screen creation / display system having instance execution means for outputting the screen using the component class based on the acquired component class information and layout information.
前記画面は、前記プロパティのそれぞれに対応するオブジェクトが配置される請求項1に記載の画面作成表示システム。 The screen creation display system according to claim 1, wherein an object corresponding to each of the properties is arranged on the screen. 前記部品クラス選択手段は、前記プロパティの型がクラスである場合は、当該プロパティに対応するオブジェクトを入れ子の構成で表示するように前記部品クラス情報を生成する請求項2に記載の画面作成表示システム。   3. The screen creation display system according to claim 2, wherein when the property type is a class, the part class selection unit generates the part class information so as to display an object corresponding to the property in a nested configuration. . 前記部品クラス選択手段は、前記プロパティの型がクラスである場合は、当該プロパティに対応するオブジェクトをダイアログによって表示するように前記部品クラス情報を生成する請求項2に記載の画面作成表示システム。   The screen creation / display system according to claim 2, wherein when the property type is a class, the part class selection unit generates the part class information so as to display an object corresponding to the property by a dialog. 前記部品クラス選択手段は、当該プロパティに対応するオブジェクトを表として表示するように前記部品クラス情報を生成する請求項3又は4に記載の画面作成表示システム。   The screen creation / display system according to claim 3 or 4, wherein the part class selection unit generates the part class information so as to display an object corresponding to the property as a table. 前記表は、前記プロパティの型が配列型である場合は、要素の追加及び削除をするとこができる請求項5に記載の画面作成表示システム。   6. The screen creation display system according to claim 5, wherein the table can be added and deleted when the property type is an array type. 前記付加情報は、前記プロパティに対応するオブジェクトの表示形式を示す表示タイプを含み、
前記部品クラス選択手段は、当該表示タイプに基づいて、前記部品クラス情報を生成する請求項3乃至6のいずれかに記載の画面作成表示システム。
The additional information includes a display type indicating a display format of an object corresponding to the property,
The screen creation display system according to claim 3, wherein the part class selection unit generates the part class information based on the display type.
前記付加情報は、依存するプロパティを示す依存プロパティ情報を含み、
前記インスタンス実行手段は、前記依存するプロパティのフィールドの値が変更された場合に、当該付加情報が対応付けられたプロパティのフィールドの値を、対応するオブジェクトに表示する請求項2乃至7のいずれかに記載の画面作成表示システム。
The additional information includes dependency property information indicating a dependent property,
8. The instance execution means, when the value of the dependent property field is changed, displays the value of the property field associated with the additional information on the corresponding object. The screen creation display system described in 1.
前記クラスは、前記オブジェクトの表示に関する情報を返す表示制御メソッドを有し、
前記インスタンス実行手段は、当該表示制御メソッドの戻り値に基づいて、当該オブジェクトを表示する請求項2乃至8のいずれかに記載の画面作成表示システム。
The class has a display control method that returns information related to the display of the object,
9. The screen creation display system according to claim 2, wherein the instance execution unit displays the object based on a return value of the display control method.
JP2008303531A 2008-11-28 2008-11-28 Screen creation display system Active JP5171574B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008303531A JP5171574B2 (en) 2008-11-28 2008-11-28 Screen creation display system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008303531A JP5171574B2 (en) 2008-11-28 2008-11-28 Screen creation display system

Publications (2)

Publication Number Publication Date
JP2010128839A JP2010128839A (en) 2010-06-10
JP5171574B2 true JP5171574B2 (en) 2013-03-27

Family

ID=42329179

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008303531A Active JP5171574B2 (en) 2008-11-28 2008-11-28 Screen creation display system

Country Status (1)

Country Link
JP (1) JP5171574B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109218509A (en) * 2017-07-04 2019-01-15 北京小米移动软件有限公司 Breath screen display method, apparatus and computer readable storage medium

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6038395A (en) * 1994-12-16 2000-03-14 International Business Machines Corporation System and method for implementing proxy objects in a visual application builder framework
JPH11102293A (en) * 1997-09-29 1999-04-13 Mitsubishi Electric Corp Program automatic generating method
JP2002024020A (en) * 2000-05-01 2002-01-25 Toshiba Corp Screen control program, dynamic display information acquisition program, screen display transaction program, screen component interface program and screen program preparing method
JP4490026B2 (en) * 2002-01-28 2010-06-23 日立オムロンターミナルソリューションズ株式会社 Customizable information processing device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109218509A (en) * 2017-07-04 2019-01-15 北京小米移动软件有限公司 Breath screen display method, apparatus and computer readable storage medium
US10698442B2 (en) 2017-07-04 2020-06-30 Beijing Xiaomi Mobile Software Co., Ltd. Method and apparatus for always-on display applied in a display driver integrated circuit
CN109218509B (en) * 2017-07-04 2021-03-02 北京小米移动软件有限公司 Information screen display method and device and computer readable storage medium

Also Published As

Publication number Publication date
JP2010128839A (en) 2010-06-10

Similar Documents

Publication Publication Date Title
Paterno et al. One model, many interfaces
US6826443B2 (en) Systems and methods for managing interaction with a presentation of a tree structure in a graphical user interface
US8201143B2 (en) Dynamic mating of a modified user interface with pre-modified user interface code library
CN108351764B (en) Data processing method and system
JP5165886B2 (en) Extensible user interface extension method for componentized application environment, componentized application environment data processing system, and computer program
US9841953B2 (en) Pluggable components for runtime-image generation
US8136043B2 (en) GUI generation apparatus and method for generating GUI
JP5798552B2 (en) Method, system and computer program for screen capture
US20080270101A1 (en) Building Finite State Machine Model
JP2006244195A (en) Program test support device, and its method
US20110283252A1 (en) Change notification and information update based on uncompiled software development project
WO2014028324A2 (en) Enterprise application development tool
JP2013518321A (en) Pattern-based user interface
US7730495B2 (en) Declaratively defined control actions
US20110126171A1 (en) Dynamic native editor code view facade
WO2013109858A1 (en) Design canvas
KR101552914B1 (en) Web server application framework web application processing method using the framework and computer readable medium processing the method
JP5171574B2 (en) Screen creation display system
US11010021B2 (en) Context menu fragment management
JP5720531B2 (en) Help creation support device, help creation support program, and help creation support method
US20130174119A1 (en) Computing device and method for automatically generating measuring programs
CN113791783B (en) Control generation method, device, equipment and storage medium
JP2011186720A (en) Information processing apparatus, processing method, and computer-readable recording medium with processing program recorded thereon
JP2021009605A (en) Program and method for supporting generation of software operation scenario and device for supporting generation of software operation scenario
JP7208441B1 (en) FA control test support program, FA control test support device, FA control test support method and FA control test support system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20110928

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20121109

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20121120

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20121129

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20121218

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20121225

R150 Certificate of patent or registration of utility model

Ref document number: 5171574

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150