JPH052477A - Graphical user interface creation method - Google Patents
Graphical user interface creation methodInfo
- Publication number
- JPH052477A JPH052477A JP3154665A JP15466591A JPH052477A JP H052477 A JPH052477 A JP H052477A JP 3154665 A JP3154665 A JP 3154665A JP 15466591 A JP15466591 A JP 15466591A JP H052477 A JPH052477 A JP H052477A
- Authority
- JP
- Japan
- Prior art keywords
- user interface
- graphical user
- screen
- conversation
- processing
- 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.)
- Withdrawn
Links
Landscapes
- Digital Computer Display Output (AREA)
- Stored Programmes (AREA)
Abstract
(57)【要約】
【目的】 インタプリタ言語によグラフィカル・ユーザ
・インタフェースGUIの作成方式に関し、GUIの作
成を会話的に行い特別な作業を必要としない簡易性を持
ったツールを提供する。
【構成】 GUI会話部品の属性情報とアクション情報
からなる定義体を保存する画面定義体ファイル11と、G
UI作成ツールのための画面定義体ファイル12と、選択
すべきモードを表示するツールメニュー・ウィンドー13
1 と、選択すべき会話部品を表示する部品一覧・ウィン
ドー132 と、選択された会話部品を配置するワークスペ
ース・ウィンドー133 とを表示する表示部13と、該表示
部の内容に従ってGUIを作成する作成ツール14と、該
画面定義体ファイル11と該GUI作成ツール画面定義体
ファイル12からの情報に基づき該作成ツールを制御する
GUI制御プロセス15と、該制御プロセスの制御のもと
でインタプリタ言語による処理を実行する処理プロセス
16とを備える。
(57) [Abstract] [Purpose] Regarding a method of creating a graphical user interface GUI by an interpreter language, to provide a tool having a simplicity that does not require special work by interactively creating a GUI. [Structure] A screen definition file 11 for storing a definition including attribute information and action information of GUI conversation parts, and G
Screen definition file 12 for UI creation tool and tool menu window 13 that displays the mode to be selected
1, a parts list / window 132 for displaying conversation parts to be selected, a display part 13 for displaying a workspace / window 133 for arranging the selected conversation parts, and a GUI is created according to the contents of the display part. A creation tool 14, a GUI control process 15 for controlling the creation tool based on information from the screen definition file 11 and the GUI creation tool screen definition file 12, and an interpreter language under the control of the control process. Processing process that executes processing
16 and.
Description
【0001】[0001]
【産業上の利用分野】本発明はグラフィカル・ユーザ・
インタフェースの作成方式に関し、特にインタプリタ言
語との連動によるグラフィカル・ユーザ・インタフェー
スの作成方式に関する。近年、ワークステーションの普
及に伴って利用者にとって使い易いユーザインタフェー
スが提供されており、その利用が拡大するにつれてこの
ような利用者にとって使い易いユーザ・インタフェース
の重要性が増している。さらに、このユーザ・インタフ
ェースは利用者が行いたい処理をイメージし易いように
グラフィカルな画面が提供されている。このようなグラ
フィカルな画面で表現するグラフィカル・ユーザ・イン
タフェースは利用者のアプリケーションの操作に必要な
いくつかの会話を目的とした「部品」(以下、会話部品
と称する)から構成されている。各会話部品は標準規格
で提供されているものや利用者が作成するものなど様々
であるが、利用者は各部品を画面上に自由に配置するこ
とによって、利用者に合ったグラフィカルなメニュー画
面を作成できる環境が用意されている。例えば、UNI
Xにおける標準的なグラフィカル・ユーザ・インタフェ
ースである"OPENLOOK"ではこれらの会話部品を「ウィジ
ェット」("WIDGET" )と呼んでいる。BACKGROUND OF THE INVENTION The present invention relates to a graphical user
The present invention relates to a method of creating an interface, and particularly to a method of creating a graphical user interface by linking with an interpreter language. 2. Description of the Related Art In recent years, a user interface that is easy for users to use has been provided with the spread of workstations, and as the use thereof has expanded, the importance of such user interfaces that are easy for users to use has increased. Further, this user interface is provided with a graphical screen so that the user can easily imagine the process he or she wants to perform. The graphical user interface represented by such a graphical screen is composed of "parts" (hereinafter referred to as "conversation parts") for some conversations necessary for the user to operate the application. There are various conversation parts such as those provided by the standard and those created by the user, but the user can arrange each part freely on the screen to create a graphical menu screen suitable for the user. There is an environment where you can create. For example, UNI
In the standard graphical user interface in X, "OPENLOOK", these conversation parts are called "widgets".
【0002】[0002]
【従来の技術】従来、これらのグラフィカル・ユーザ・
インタフェースの作成環境はC言語やFORTRAN等
のコンパイラ言語を対象としている。また、グラフィカ
ル・ユーザ・インタフェースを持ったアプリケーション
の作成には、利用者のグラフィカル・ユーザ・インタフ
ェースを定義したソースプログラムと、利用者の処理を
記述したソースプログラムとを一つに併せてコンパイル
及びリンケージといったオブジェクト・プログラムの作
成作業が必要となる。2. Description of the Related Art Conventionally, these graphical users have
The interface creation environment is intended for compiler languages such as C language and FORTRAN. To create an application with a graphical user interface, compile and link a source program that defines the user's graphical user interface and a source program that describes the user's processing together. It is necessary to create an object program such as
【0003】アプリケーションでグラフィカル・ユーザ
・インタフェースを作成するために、グラフィカル・ユ
ーザ・インタフェースを構成する会話部品を操作する環
境が提供されている。例えば、上記の"OPENLOOK"では
「ツールキット」と呼ばれるプログラム作成者向けの環
境が提供されている。このプログラム作成の環境はC言
語などのコンパイラ言語を使ったプログラム作成を対象
としている。To create a graphical user interface with an application, an environment is provided for operating the conversational components that make up the graphical user interface. For example, the above "OPEN LOOK" provides an environment called "toolkit" for program writers. This program creation environment is intended for program creation using a compiler language such as C language.
【0004】しかし、C言語とツールキットを使ったグ
ラフィカル・ユーザ・インタフェースのプログラム作成
には高度な熟練を必要とする。従って、アプリケーショ
ンの作成においてユーザ・インタフェースの作成にかか
る負担が大きい。そこで、会話的にグラフィカル・ユー
ザ・インタフェースを作成できるツールが提供され始め
ている。このツールは画面上でマウスを使用して会話的
にグラフィカル・ユーザ・インタフェース部品を並べて
いくことによって、目的の画面を作成できるものであ
る。ツールは最終的にグラフィカル・ユーザ・インタフ
ェースを実現するためのプログラム・ソース・コードを
自動生成している。従って、プログラム開発者は自動生
成されたプログラム・ソース・コードを処理プログラム
と結合させてアプリケーションを作成することができ
る。However, a high level of skill is required to create a program for a graphical user interface using C language and a toolkit. Therefore, the burden of creating the user interface is large in creating the application. Therefore, tools for interactively creating a graphical user interface are being provided. This tool can create a target screen by interactively arranging graphical user interface parts on the screen using a mouse. The tool finally automatically generates the program source code for realizing the graphical user interface. Therefore, the program developer can combine the automatically generated program source code with the processing program to create an application.
【0005】図4はインタプリタ言語上にグラフィカル
・ユーザ・インタフェースを構築する要部構成図であ
り、図5及び図6はこの構成の処理手順の説明図であ
る。以下に詳述するようにグラフィカル・ユーザ・イン
タフェースを構成する各会話部品の定義体と各会話部品
が、画面上で、画面への表示、利用者による操作・画面
からの消去等の操作がされる。FIG. 4 is a block diagram showing the construction of a main part for constructing a graphical user interface on an interpreter language, and FIGS. 5 and 6 are explanatory views of the processing procedure of this configuration. As described in detail below, the definition of each conversation component and each conversation component that make up the graphical user interface are displayed on the screen, operated by the user, and operated by the user, such as deleting from the screen. It
【0006】図4において、定義体ではグラフィカル・
ユーザ・インタフェースを構成する各会話部品が専用の
定義体1によって定義されている。定義体は各会話部品
の属性情報(画面上での形状や色や会話部品固有の機能
等)とアクション情報とからなる。アクション情報はグ
ラフィカル・ユーザ・インタフェースが構築されている
インタプリタ言語で記述する。In FIG. 4, the definition structure is graphical
Each conversation component that constitutes the user interface is defined by a dedicated definition body 1. The definition body is composed of attribute information (shape and color on the screen, functions peculiar to conversation parts, etc.) of each conversation part and action information. Action information is described in an interpreter language in which a graphical user interface is built.
【0007】通常、インタプリタ言語で記述された一連
のアクションをスクリプトと呼ぶ。スクリプトはその実
行されるタイミングの違いにより次の3種類がある。即
ち、(1)ENTERスクリプトでは、会話部品が画面
上に表示される時に同時に実行される。主に、メニュー
画面での会話操作を行うための環境の初期化や前処理を
目的とした処理の実行に利用する。(2)KEYスクリ
プトでは、画面上に表示されている会話部品を利用者が
操作した時に実行される。メニュー画面での会話操作時
に実行する処理を定義する。(3)EXITスクリプト
では、画面上に表示されている会話部品が画面上から消
去されるときその直前に実行される。メニュー画面での
会話操作終了後の後処理を目的とした処理の実行に利用
する。以上のような定義体はインタプリタが動作するシ
ステムのテキスト・エディタで容易に編集できるテキス
ト・ファイルである。A series of actions written in an interpreter language is usually called a script. There are the following three types of scripts depending on the timing of execution. That is, (1) the ENTER script is executed at the same time when the conversation part is displayed on the screen. It is mainly used for initializing the environment for conversation operations on the menu screen and executing processing for preprocessing. (2) The KEY script is executed when the user operates the conversation parts displayed on the screen. Define the process to be executed during conversation operation on the menu screen. (3) The EXIT script is executed immediately before the conversation part displayed on the screen is erased from the screen. It is used to execute the processing for the purpose of post-processing after the end of conversation operation on the menu screen. The above definition is a text file that can be easily edited with a text editor of the system in which the interpreter operates.
【0008】図5及び図6において、グラフィカル・ユ
ーザ・インタフェース(GUI)の各会話部品に定義さ
れたアクション(インタプリタ言語で記述されたスクリ
プト)がインタプリタの処理部で実行される手順を説明
する。
(1)メニュー画面の表示では、インタプリタ言語で用
意されているメニュー画面の表示指示によってグラフィ
カル・ユーザ・インタフェースの制御プロセス3が起動
される(ステップ1)。この制御プロセスでは指定され
たグラフィカル・ユーザ・インタフェースを構成してい
る各会話部品の定義体ファイル1の属性情報を読み込む
(ステップ2)。制御プロセスでは読み込まれた属性情
報に基づいて各会話部品を画面上に表示した後(ステッ
プ3)、制御プロセスは各会話部品のENTERスクリ
プトに定義されたアクションを実行する(ステップ
4)。アクションは定義体1に記述された順番に順次実
行される。アクションの実行は次の手順で行われる。5 and 6, a procedure in which an action (script written in an interpreter language) defined in each conversation component of the graphical user interface (GUI) is executed by the interpreter processing unit will be described. (1) In the display of the menu screen, the control process 3 of the graphical user interface is activated by the display instruction of the menu screen prepared in the interpreter language (step 1). In this control process, the attribute information of the definition file 1 of each conversational part constituting the specified graphical user interface is read (step 2). In the control process, each conversation part is displayed on the screen based on the read attribute information (step 3), and then the control process executes the action defined in the ENTER script of each conversation part (step 4). The actions are sequentially executed in the order described in the definition structure 1. Execution of actions is performed in the following procedure.
【0009】即ち、制御プロセス内の各会話部品に対応
した処理部では対象の会話部品の定義体ファイル1から
ENTERスクリプトに定義されたアクションを読み込
む(ステップ5)。読み込まれたアクションは一行毎に
インタプリタの処理部に送信する(ステップ6)。送信
されたアクション(インタプリタ言語の一コマンド文字
列)はインタプリタの処理プロセッサにおいて、解釈・
実行される(ステップ7)。インタプリタでの処理(ス
テップ8)が完了すると、その完了通知及びメニュー画
面での必要な処理情報が制御プロセスに送信される(ス
テップ9)。制御プロセスでは受信した完了情報を判断
し、グラフィカル・ユーザ・インタフェース制御部での
必要な処理を行う(ステップ10)。ENTERスクリ
プトが複数行記述されていれば次の行をインタプリタの
処理プロセスに送信する(ステップ11)。上記手順を
各会話部品に定義されているENTERスクリプトに対
して行う。表示対象のメニュー画面内の全ての会話部品
が表示されENTERスクリプトが実行され、メニュー
画面での利用者の会話操作が可能な状態になる(ステッ
プ12)。That is, the processing section corresponding to each conversational part in the control process reads the action defined in the ENTER script from the definition file 1 of the target conversational part (step 5). The read action is sent line by line to the processing unit of the interpreter (step 6). The transmitted action (one command character string of the interpreter language) is interpreted and processed by the interpreter processor.
It is executed (step 7). When the processing in the interpreter (step 8) is completed, the completion notification and necessary processing information on the menu screen are sent to the control process (step 9). The control process determines the received completion information and performs the necessary processing in the graphical user interface controller (step 10). If the ENTER script is described in a plurality of lines, the next line is transmitted to the interpreter processing process (step 11). The above procedure is performed for the ENTER script defined in each conversation part. All conversation parts in the menu screen to be displayed are displayed, the ENTER script is executed, and the conversation operation of the user on the menu screen is enabled (step 12).
【0010】(2)メニュー画面での会話操作では、利
用者がメニュー画面内の会話部品を操作すると、操作さ
れた会話部品に定義されたKEYスクリプトが実行され
る(ステップ12)。KEYスクリプトに記述されたア
クションの実行はENTERスクリプトの実行の手順と
同じである。一つの会話部品が操作されその会話部品の
KEYスクリプトに定義されたアクションが全て実行さ
れると次の会話操作が可能な状態となる。(2) In the conversation operation on the menu screen, when the user operates the conversation component on the menu screen, the KEY script defined in the operated conversation component is executed (step 12). The execution of the action described in the KEY script is the same as the procedure of executing the ENTER script. When one conversation part is operated and all the actions defined in the KEY script of the conversation part are executed, the next conversation operation becomes possible.
【0011】(3)メニュー画面の消去では、画面上に
表示しているメニュー画面での処理が終了し、利用者が
メニュー画面を消去すると、対象のメニュー画面内の各
会話部品に定義されたEXITスクリプトが実行される
(ステップ13)。EXITスクリプトに記述されたア
クションの実行はENTERスクリプトやKEYスクリ
プトの実行の手順と同一である。(3) When the menu screen is deleted, the processing on the menu screen displayed on the screen is completed, and when the user deletes the menu screen, it is defined in each conversation part in the target menu screen. The EXIT script is executed (step 13). The execution of the action described in the EXIT script is the same as the execution procedure of the ENTER script and the KEY script.
【0012】[0012]
【発明が解決しようとする課題】ところで、研究・開発
分野での実験データ解析業務などの処理において、試行
錯誤的な会話処理のアプリケーションの作成においてイ
ンタプリタ言語が利用されている。これは、インタプリ
タ言語はコンパイラ言語と異なりソース・プログラムの
コンパイル・リンケージといった作業が不要であり、部
分的なプログラムの変更が容易だからである。即ち、イ
ンタプリタ言語はBASICのようにソース・プログラ
ムから一挙にオブジェクト・コードを実行することがで
きる言語である。そのため、試行錯誤的な業務やアプリ
ケーションなどでプログラムを頻繁に変更したりするこ
との必要性が多い環境には有効である。こうしたインタ
プリタ言語でのアプリケーションでは試行錯誤的な作業
を積み重ねていきながら処理の内容を変更したりするこ
とが行われる。By the way, an interpreter language is used in creating an application for trial-and-error conversation processing in processing such as experimental data analysis work in the field of research and development. This is because, unlike the compiler language, the interpreter language does not require the work such as the compilation and linkage of the source program, and the partial program modification is easy. That is, the interpreter language is a language such as BASIC that can execute object code at once from a source program. Therefore, it is effective in an environment where it is often necessary to frequently change programs by trial and error work or applications. In applications using such an interpreter language, the contents of processing are changed while accumulating trial and error work.
【0013】そこで、インタプリタ言語によるグラフィ
カル・ユーザ・インタフェースを構築することが行われ
るが、しかし、コンパイラ言語を対象としたツールはイ
ンタプリタ言語における試行錯誤的なプログラム環境と
は合っていない。そこで、インタプリタ言語におけるグ
ラフィカル・ユーザ・インタフェースを会話的に作成
し、プログラム開発者の負担を軽減する仕組みが必要と
される。Therefore, a graphical user interface is constructed in an interpreter language. However, a tool for a compiler language is not suitable for a trial and error program environment in the interpreter language. Therefore, there is a need for a mechanism that interactively creates a graphical user interface in an interpreted language to reduce the burden on the program developer.
【0014】本発明の目的はインタプリタ言語における
グラフィカル・ユーザ・インタフェースの作成を会話的
に行い、かつ処理を行うプログラム(インタプリタ言語
で記述)との結合において、コンパイラやリンケージと
いったプログラム開発作業のような特別な作業を必要と
しない簡易性を持ったツールを提供することにある。An object of the present invention is to connect a program (described in an interpreter language) that interactively creates and processes a graphical user interface in an interpreter language, such as a program development work such as a compiler or linkage. It is to provide a tool with simplicity that does not require special work.
【0015】[0015]
【課題を解決するための手段及び作用】本発明はインタ
プリタ言語によるグラフィカル・ユーザ・インタフェー
スの作成方式であって、グラフィカル・ユーザ・インタ
フェース部品の属性情報とアクション情報からなる定義
体を保存する画面定義体ファイル11と、グラフィカル
・ユーザ・インタフェース作成ツールのための画面定義
体ファイル12と、選択すべきモードを表示するツール
メニュー・ウィンドー131と、選択すべき会話部品を
表示する部品一覧・ウィンドー132と、選択された会
話部品を配置するワークスペース・ウィンドー133と
を表示する表示部13と、該表示部の内容に従ってグラ
フィカル・ユーザ・インタフェースを作成する作成ツー
ル14と、該画面定義体ファイル11と該グラフィカル
・ユーザ・インタフェース作成ツール画面定義体ファイ
ル12からの情報に基づき該作成ツールを制御するグラ
フィカル・ユーザ・インタフェース制御プロセス15
と、該制御プロセスの制御のもとでインタプリタ言語に
よる処理を実行する処理プロセス16とを備え、インタ
プリタ言語におけるグラフィカル・ユーザ・インタフェ
ースの作成を該表示部を参照しつつ会話的に行うように
したことを特徴とする。SUMMARY OF THE INVENTION The present invention is a method of creating a graphical user interface in an interpreter language, and a screen definition for saving a definition body consisting of attribute information and action information of a graphical user interface part. Body file 11, screen definition body file 12 for a graphical user interface creation tool, a tool menu window 131 for displaying a mode to be selected, and a parts list / window 132 for displaying conversational parts to be selected. , A display window 13 for displaying a workspace window 133 in which the selected conversation parts are arranged, a creation tool 14 for creating a graphical user interface according to the contents of the display window, the screen definition file 11 and the Graphical user interface Esu creation tool screen definition based on the information from the file 12 graphical user interface control process 15 for controlling the creation tool
And a processing process 16 for executing processing in an interpreter language under the control of the control process, so that a graphical user interface in the interpreter language can be created interactively while referring to the display section. It is characterized by
【0016】本発明のグラフィカル・ユーザ・インタフ
ェース作成ツール14は、会話的にグラフィカル・ユー
ザ・インタフェースを作成する手段と、作成したグラフ
ィカル・ユーザ・インタフェースをテストするテストラ
ン手段と、作成したグラフィカル・ユーザ・インタフェ
ースをデバッグするデバッグ手段とを備える。The graphical user interface creation tool 14 of the present invention comprises means for interactively creating a graphical user interface, test run means for testing the created graphical user interface, and created graphical user. -Providing a debugging means for debugging the interface.
【0017】[0017]
【実施例】図1は本発明の要部構成図である。図中、1
1は画面定義体ファイル、12はグラフィカル・ユーザ
・インタフェース作成ツールの画面定義体ファイル、1
3は表示画面、14はグラフィカル・ユーザ・インタフ
ェース作成ツール、15はグラフィカル・ユーザ・イン
タフェース制御プロセス、16はインタプリタ処理プロ
セスである。ところで、グラフィカル・ユーザ・インタ
フェース作成ツール14の機能としては必要なのは次の
3点である。即ち、(1)会話的にグラフィカル・ユー
ザ・インタフェースを作成する機能、(2)作成したグ
ラフィカル・ユーザ・インタフェースのテストラン機
能、(3)デバッグ機能、である。上記のグラフィカル
・ユーザ・インタフェースはインタプリタ言語上に構築
されたグラフィカル・ユーザ・インタフェース上に構築
される。本発明ではインタプリタ言語におけるグラフィ
カル・ユーザ・インタフェースの作成を会話的に行い、
かつ処理を行うプログラム(インタプリタ言語で記述)
との結合において、コンパイラやリンケージといったプ
ログラム開発作業のような特別な作業を必要としない簡
易性を持ったツールを提供することができる。DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT FIG. 1 is a block diagram of the essential portions of the present invention. 1 in the figure
1 is the screen definition file, 12 is the screen definition file of the graphical user interface creation tool, 1
3 is a display screen, 14 is a graphical user interface creation tool, 15 is a graphical user interface control process, and 16 is an interpreter processing process. By the way, the following three points are required for the function of the graphical user interface creation tool 14. That is, (1) a function of interactively creating a graphical user interface, (2) a test run function of the created graphical user interface, and (3) a debugging function. The above graphical user interface is built on top of a graphical user interface built on an interpreted language. The present invention interactively creates a graphical user interface in an interpreted language,
And processing program (written in interpreted language)
In connection with, it is possible to provide a tool having a simplicity that does not require special work such as program development work such as compiler and linkage.
【0018】即ち、表示画面13上に表示されたグラフ
ィカル・ユーザ・インタフェース作成ツールメニューの
ウィンドー131により作業を選択する。作業モードに
は、図示のように作成モード、テストランモード、デバ
ッグモードの3種類のモードがある。次に、処理モード
を判定し、選択されたモードが作成モードであれば部品
一覧・ウィンドー132を表示する。That is, the work is selected by the window 131 of the graphical user interface creation tool menu displayed on the display screen 13. As shown in the figure, there are three types of work modes: a creation mode, a test run mode, and a debug mode. Next, the processing mode is determined, and if the selected mode is the creation mode, the parts list / window 132 is displayed.
【0019】作成モードにおいて、グラフィカル・ユー
ザ・インタフェースの作成ツール画面での会話操作を行
い、部品一覧に表示されたグラフィカル・ユーザ・イン
タフェース部品をマウスを使ってワークスペース133
に配置を行ってグラフィカル・ユーザ・インタフェース
画面を作成する。そして会話操作が終了したか否か判定
し、再度処理モードの判定を行う。さらに、各部品の処
理をインタプリタ言語で定義し、このようにしてグラフ
ィカル・ユーザ・インタフェース画面を構成する定義体
を自動的生成し、画面定義体ファイル11にファイルす
る。In the creation mode, a conversation operation is performed on the screen of the creation tool of the graphical user interface, and the graphical user interface parts displayed in the parts list are used by the workspace 133 with the mouse.
To create a graphical user interface screen. Then, it is determined whether or not the conversation operation is finished, and the processing mode is determined again. Further, the processing of each component is defined in an interpreter language, and in this way, a definition constructing the graphical user interface screen is automatically generated and filed in the screen definition file 11.
【0020】テストランモードでは作成されたグラフィ
カル・ユーザ・インタフェースに基づくアプリケーショ
ンの実行がそのまま行える。作成モードから実行モード
に換えるだけで実行が可能である。デバッグモードはテ
ストランモードと同様に作成されたグラフィカル・ユー
ザ・インタフェースに基づくアプリケーションの実行が
そのまま行える。テストランモードと異なるのはアプリ
ケーション(インタプリタ言語で記述されたコマンド
列)を一行づつ実行することにある。プログラム開発者
はインタプリタ言語で記述されたコマンド列を一行づつ
確認しながら実行を指示する。In the test run mode, the application based on the created graphical user interface can be executed as it is. Execution is possible only by changing the creation mode to the execution mode. In the debug mode, the application based on the graphical user interface created similarly to the test run mode can be executed as it is. The difference from the test run mode is that the application (command sequence written in an interpreter language) is executed line by line. The program developer confirms the command sequence written in the interpreter language line by line and gives an instruction for execution.
【0021】図2及び図3は本発明の処理手順の説明図
である。本図に沿って処理手順を詳しく説明する。
〔作成モード〕グラフィカル・ユーザ・インタフェース
(GUI)の作成ツール14のプロセスにおいて、先
ず、表示画面13上にウィンドー表示されたグラフィカ
ル・ユーザ・インタフェース作成ツールメニュー131
により作業を選択する(ステップ1)。作業モードに
は、図示のように作成モード、テストランモード、デバ
ッグモードの3種類のモードがある。次に、処理モード
を判定し(ステップ2)、選択されたモードが作成モー
ドであればグラフィカル・ユーザ・インタフェース部品
の一覧が載った部品一覧132をウィンドー表示する
(ステップ3)。また、グラフィカル・ユーザ・インタ
フェース画面を作成するためのワークスペースウィンド
ー133を表示する。プログラム開発者は部品一覧13
2から必要な部品をマウスを使って選択しワークスペー
ス133上に配置する。配置された部品については、大
きさ、色、付属機能などの属性を定義する。さらに、実
際のアプリケーション実行において、その部品がマウス
によって操作された時の処理をインタプリタ言語で定義
する。以上の操作を各部品について、グラフィカル・ユ
ーザ・インタフェースの作成ツール画面での会話操作を
行いながら(ステップ4)グラフィカル・ユーザ・イン
タフェース画面を作成する。そして、会話操作が終了し
たか否か判定し(ステップ5)、さらに処理モードを再
度判定し(ステップ6)、ワークスペース133上で作
成が終了して保存を指示すると、利用者の処理を含んだ
グラフィカル・ユーザ・インタフェース画面情報が定義
体として自動生成され画面定義体ファイル11に保存さ
れる(ステップ7)。2 and 3 are explanatory views of the processing procedure of the present invention. The processing procedure will be described in detail with reference to this figure. [Creation Mode] In the process of the graphical user interface (GUI) creation tool 14, first, the graphical user interface creation tool menu 131 displayed in the window on the display screen 13 is displayed.
The work is selected by (step 1). As shown in the figure, there are three types of work modes: a creation mode, a test run mode, and a debug mode. Next, the processing mode is determined (step 2), and if the selected mode is the creation mode, the parts list 132 on which the list of graphical user interface parts is displayed is displayed in a window (step 3). It also displays a workspace window 133 for creating a graphical user interface screen. The program developer has a parts list 13
Select the required component from 2 using the mouse and place it on the workspace 133. For the placed parts, define attributes such as size, color, and attached function. Furthermore, in the actual application execution, the processing when the component is operated by the mouse is defined in the interpreter language. The above operation is performed for each part while a conversational operation is performed on the graphical user interface creation tool screen (step 4) to create a graphical user interface screen. Then, it is judged whether or not the conversation operation is completed (step 5), the processing mode is judged again (step 6), and when the creation is completed on the workspace 133 and the saving is instructed, the processing by the user is included. The graphical user interface screen information is automatically generated as a definition structure and stored in the screen definition structure file 11 (step 7).
【0022】この作成モードにおけるワークスペース1
33上の部品の配置について以下の工夫がなされてい
る。即ち、一般にグラフィカル・ユーザ・インタフェー
ス部品は画面上でマウスによって操作されると、その部
品が持つ固有の機能が動作するものである。従って、ワ
ークスペース上に配置された部品の移動、複写、削除あ
るいは属性定義や処理定義における対象部品を選択しマ
ウスによる対象選択操作が行われると、部品固有の処理
が動作してしまう。Workspace 1 in this creation mode
The following arrangements have been made for the arrangement of the parts on 33. That is, generally, when a graphical user interface component is operated by a mouse on the screen, the unique function of the component operates. Therefore, when the target component in the attribute definition or the process definition is selected by moving, copying, or deleting the component placed in the workspace and the target selecting operation is performed with the mouse, the process specific to the component operates.
【0023】そこで、本発明ではグラフィカル・ユーザ
・インタフェース制御プロセス15において、マウスに
よる操作が行われた時にそのイベントが各部品に伝わる
前に、グラフィカル・ユーザ・インタフェース作成ツー
ル14が先取りして処理モードのチェックを行ってい
る。作成モードではグラフィカル・ユーザ・インタフェ
ースにおける会話操作(ステップ14)において、各部
品固有の機能の動作を抑止したダミー会話部品にイベン
トが通知される(ステップ14−1)。このダミー会話
部品は画面上で単にグラフィカルな情報しか持っていな
い。そして、グラフィカル・ユーザ・インタフェース画
面情報が画面定義体として画面定義体ファイル11に生
成・保存される時に正規の部品情報に置き換えられる。Therefore, in the present invention, in the graphical user interface control process 15, before the event is transmitted to each part when the operation by the mouse is performed, the graphical user interface creation tool 14 pre-empts the processing mode. Is checking. In the creation mode, in the conversation operation (step 14) on the graphical user interface, the event is notified to the dummy conversation part in which the operation of the function peculiar to each part is suppressed (step 14-1). This dummy conversation part has only graphical information on the screen. Then, when the graphical user interface screen information is generated and saved in the screen definition file 11 as a screen definition, it is replaced with the regular component information.
【0024】なお、グラフィカル・ユーザ・インタフェ
ースの制御プロセス15における他のプロセスは、先
ず、制御プロセスの初期化を行い(ステップ11)、グ
ラフィカル・ユーザ・インタフェース作成ツール画面の
定義体ファイル12からの属性情報の読み込みを行い
(ステップ12)、ツールメニュー131の画面への表
示を行い(ステップ13)、グラフィカル・ユーザ・イ
ンタフェースにおける会話操作を行い(ステップ1
4)、終了したか否か判定し(ステップ15)、ツール
メニュー131の画面への消去を行う(ステップ1
6)。なお、前述のように、ステップ14において、処
理モードの判定を行い、作成モードではダミーの会話部
品へのイベントの通知を行い(ステップ14−1)、テ
ストラン及びデバッグモードでは正規の会話部品へのイ
ベントの通知を行う(ステップ14−2)。The other processes in the control process 15 of the graphical user interface first initialize the control process (step 11), and the attributes from the definition file 12 of the screen of the graphical user interface creation tool are displayed. Information is read (step 12), the tool menu 131 is displayed on the screen (step 13), and a conversation operation is performed on the graphical user interface (step 1).
4) Then, it is judged whether or not the process is completed (step 15), and the tool menu 131 is deleted from the screen (step 1).
6). As described above, the processing mode is determined in step 14, the event is notified to the dummy conversational part in the creation mode (step 14-1), and the normal conversational part is transmitted in the test run and the debug mode. The event is notified (step 14-2).
【0025】〔テストランモード〕テストランモードを
選択すると、作成されたグラフィカル・ユーザ・インタ
フェース画面が表示されてアプリケーション処理が行え
る。このとき画面上でマウスによって操作された会話部
品のイベントは正規の部品に通知され(ステップ14−
2)、部品固有の動作が行われる。即ち、インタプリタ
処理プロセス16において、利用者が各部品に定義した
処理、即ち、インタプリタ言語のコマンド列、は定義体
より読み出されてインタプリタに送信され(ステップ2
5)、そしてインタプリタ言語による処理が実行される
(ステップ26)。[Test Run Mode] When the test run mode is selected, the created graphical user interface screen is displayed and application processing can be performed. At this time, the event of the conversation component operated by the mouse on the screen is notified to the regular component (step 14-
2) The operation peculiar to the component is performed. That is, in the interpreter processing process 16, the processing defined by the user for each component, that is, the command string in the interpreter language, is read from the definition body and transmitted to the interpreter (step 2).
5) Then, the process in the interpreted language is executed (step 26).
【0026】〔デバッグモード〕デバッグモードを選択
すると、テストランモードと同様に作成されたグラフィ
カル・ユーザ・インタフェース画面が表示されてアプリ
ケーション処理が行える。この時にアプリケーション、
即ち、インタプリタ言語のコマンド列、は一行づつ実行
される。さらに、その一行の実行はプログラム開発者が
指示する。各部品の処理ではモードをチェックし、デバ
ッグモードにおいては一行づつ処理を行うように制御を
行う(ステップ23)。即ち、利用者が各部品に定義し
た処理(インタプリタ言語のコマンド列)は定義体より
一行づつ読み出されて(ステップ24)インタプリタに
送信される(ステップ25)。そして、インタプリタに
よる実行が行われる(ステップ26)。その後、プログ
ラム開発者からの次のコマンド実行の指示待ちの状態と
なる。プログラム開発者から次のコマンド実行が指示さ
れると、次のコマンドを定義体より一行読み出してイン
タプリタに送信する。なお、各部品の処理プロセス16
において、処理モードを判定し(ステップ21)、テス
トランモードでは処理の読み出しを行う(ステップ2
2)。さらに、インタプリタ言語による処理を受信する
と(ステップ27)、メッセージの解釈を行い(ステッ
プ28)、メニュー画面の操作や再表示を行い(ステッ
プ29)、処理の終了か否か判定する(ステップ3
0)。[Debug Mode] When the debug mode is selected, a graphical user interface screen created in the same manner as the test run mode is displayed and application processing can be performed. Application at this time,
That is, the command string in the interpreter language is executed line by line. Furthermore, the execution of the line is instructed by the program developer. In the processing of each component, the mode is checked, and in the debug mode, control is performed so that the processing is performed line by line (step 23). That is, the process defined by the user for each component (command string in interpreter language) is read line by line from the definition body (step 24) and transmitted to the interpreter (step 25). Then, the execution by the interpreter is performed (step 26). After that, it waits for the next command execution instruction from the program developer. When the next command execution is instructed by the program developer, the next command is read out one line from the definition body and sent to the interpreter. In addition, the processing process 16 of each component
In step S21, the processing mode is determined, and in the test run mode, the processing is read (step 2).
2). Further, when the process in the interpreted language is received (step 27), the message is interpreted (step 28), the menu screen is operated and displayed again (step 29), and it is determined whether the process is completed (step 3).
0).
【0027】[0027]
【発明の効果】以上説明したように、本発明によればイ
ンタプリタ言語としてのプログラムの簡易性を持ったグ
ラフィカル・ユーザ・インタフェースの作成が可能とな
り、この作成は会話的に行えるとともに、処理記述部分
との結合のために特別な作業を必要としない。従って、
研究開発の分野にて利用される試行錯誤的な運用環境に
おいて、プログラム開発者に対してグラフィカル・ユー
ザ・インタフェースの実現のために多大な負担をかける
ことがなくなる。As described above, according to the present invention, it is possible to create a graphical user interface with the simplicity of a program as an interpreter language. This creation can be done interactively and the process description part can be created. No special work is required to combine with. Therefore,
In a trial-and-error operating environment used in the field of research and development, it is possible to prevent a program developer from imposing a great burden on realizing a graphical user interface.
【図1】本発明の要部構成図である。FIG. 1 is a configuration diagram of a main part of the present invention.
【図2】本発明の処理手順の説明図である(その1)。FIG. 2 is an explanatory diagram of a processing procedure of the present invention (No. 1).
【図3】本発明の処理手順の説明図である(その2)。FIG. 3 is an explanatory diagram of a processing procedure of the present invention (No. 2).
【図4】インタプリタ言語上にGUIを構築する要部構
成図である。FIG. 4 is a configuration diagram of a main part for constructing a GUI on an interpreter language.
【図5】図4の構成の処理手順の説明図である(その
1)。5 is an explanatory diagram of a processing procedure of the configuration of FIG. 4 (No. 1).
【図6】図4の構成の処理手順の説明図である(その
2)。FIG. 6 is an explanatory diagram of a processing procedure of the configuration of FIG. 4 (No. 2).
11…画面定義体ファイル
12…グラフィカル・ユーザ・インタフェース作成ツー
ル画面定義体ファイル
13…表示画面
14…グラフィカル・ユーザ・インタフェース作成ツー
ル
15…グラフィカル・ユーザ・インタフェース制御プロ
セス
16…インタプリタ処理プロセス
131…ツールメニュー・ウィンドー
132…部品一覧・ウィンドー
133…ワークスペース・ウィンドー11 ... Screen definition file 12 ... Graphical user interface creation tool Screen definition file 13 ... Display screen 14 ... Graphical user interface creation tool 15 ... Graphical user interface control process 16 ... Interpreter processing process 131 ... Tool menu・ Window 132… Parts list ・ Window 133… Workspace ・ Window
フロントページの続き (72)発明者 南 康雄 福岡県福岡市博多区博多駅前1丁目5番1 号 株式会社富士通九州システムエンジニ アリング内Continued front page (72) Inventor Yasuo Minami 1-5-1, Hakata Station, Hakata-ku, Fukuoka City, Fukuoka Prefecture Issue Fujitsu Kyushu System Engineering Co., Ltd. In alling
Claims (2)
ユーザ・インタフェースの作成方式であって、グラフィ
カル・ユーザ・インタフェース部品の属性情報とアクシ
ョン情報からなる定義体を保存する画面定義体ファイル
(11)と、グラフィカル・ユーザ・インタフェース作
成ツールのための画面定義体ファイル(12)と、選択
すべきモードを表示するツールメニュー・ウィンドー
(131)と、選択すべき会話部品を表示する部品一覧
・ウィンドー(132)と、選択された会話部品を配置
するワークスペース・ウィンドー(133)とを表示す
る表示部(13)と、該表示部の内容に従ってグラフィ
カル・ユーザ・インタフェースを作成する作成ツール
(14)と、該画面定義体ファイル(11)と該グラフ
ィカル・ユーザ・インタフェース作成ツール画面定義体
ファイル(12)からの情報に基づき該作成ツールを制
御するグラフィカル・ユーザ・インタフェース制御プロ
セス(15)と、該制御プロセスの制御のもとでインタ
プリタ言語による処理を実行する処理プロセス(16)
とを備え、インタプリタ言語におけるグラフィカル・ユ
ーザ・インタフェースの作成を該表示部を参照しつつ会
話的に行うようにしたことを特徴とするグラフィカル・
ユーザ・インタフェースの作成方式。1. A graphical language in an interpreter language
A method for creating a user interface, which is a screen definition file (11) for storing a definition structure consisting of attribute information and action information of a graphical user interface part, and a screen definition for a graphical user interface creation tool. Body file (12), tool menu window (131) displaying the mode to be selected, parts list / window (132) displaying the conversation parts to be selected, and workspace in which the selected conversation parts are placed A display unit (13) for displaying a window (133), a creation tool (14) for creating a graphical user interface according to the contents of the display unit, the screen definition file (11) and the graphical user・ From the interface creation tool screen definition file (12) Graphical user interface control process for controlling the creation tool on the basis of the information (15), the processing process of performing a processing by the interpreter language under the control of the control process (16)
And a graphical user interface in an interpreter language for interactively creating a graphical user interface with reference to the display unit.
User interface creation method.
ス作成ツール(14)は、会話的にグラフィカル・ユー
ザ・インタフェースを作成する手段と、作成したグラフ
ィカル・ユーザ・インタフェースをテストするテストラ
ン手段と、作成したグラフィカル・ユーザ・インタフェ
ースをデバッグするデバッグ手段とを備える請求項1に
記載の方式。2. The graphical user interface creation tool (14) comprises means for interactively creating a graphical user interface, test run means for testing the created graphical user interface, and created graphical. A method according to claim 1, comprising: debug means for debugging the user interface.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP3154665A JPH052477A (en) | 1991-06-26 | 1991-06-26 | Graphical user interface creation method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP3154665A JPH052477A (en) | 1991-06-26 | 1991-06-26 | Graphical user interface creation method |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH052477A true JPH052477A (en) | 1993-01-08 |
Family
ID=15589218
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP3154665A Withdrawn JPH052477A (en) | 1991-06-26 | 1991-06-26 | Graphical user interface creation method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH052477A (en) |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH06282392A (en) * | 1993-03-30 | 1994-10-07 | Toshiba Corp | Program generating tool for window and window control function editing method |
| US6314570B1 (en) | 1996-02-08 | 2001-11-06 | Matsushita Electric Industrial Co., Ltd. | Data processing apparatus for facilitating data selection and data processing in at television environment with reusable menu structures |
| US6469719B1 (en) | 1998-10-20 | 2002-10-22 | Matsushita Electric Industrial Co., Ltd. | Graphical user interface apparatus with improved layout of menu items |
-
1991
- 1991-06-26 JP JP3154665A patent/JPH052477A/en not_active Withdrawn
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH06282392A (en) * | 1993-03-30 | 1994-10-07 | Toshiba Corp | Program generating tool for window and window control function editing method |
| US6314570B1 (en) | 1996-02-08 | 2001-11-06 | Matsushita Electric Industrial Co., Ltd. | Data processing apparatus for facilitating data selection and data processing in at television environment with reusable menu structures |
| US6557016B2 (en) | 1996-02-08 | 2003-04-29 | Matsushita Electric Industrial Co., Ltd. | Data processing apparatus for facilitating data selection and data processing |
| US6469719B1 (en) | 1998-10-20 | 2002-10-22 | Matsushita Electric Industrial Co., Ltd. | Graphical user interface apparatus with improved layout of menu items |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US6016474A (en) | Tool and method for diagnosing and correcting errors in a computer program | |
| US6003143A (en) | Tool and method for diagnosing and correcting errors in a computer program | |
| Myers | Demonstrational interfaces: A step beyond direct manipulation | |
| US4885717A (en) | System for graphically representing operation of object-oriented programs | |
| JP3177301B2 (en) | Method of providing input to computer system | |
| JPH0749759A (en) | Electronic document as user interface for software system located in computer | |
| US20040034847A1 (en) | Programmatically analyzing and modifying a graphical program | |
| JPH11161398A (en) | Documentation and instruction using computer | |
| JPH0458052B2 (en) | ||
| CN112306481A (en) | Code display method, system, device and storage medium for graphical programming scene | |
| JPH07168710A (en) | System and method for constitution of program | |
| US20020147963A1 (en) | Method and apparatus for generating machine control instructions | |
| Biere et al. | The visual task model builder | |
| JPH052477A (en) | Graphical user interface creation method | |
| EP0352908A2 (en) | Computing system and method used to provide instruction to a user for a plurality of computer applications | |
| JP4925514B2 (en) | Program execution control method, program, execution control apparatus, and recording medium by internal / external event driven system | |
| JPH05216641A (en) | Graphical user interface control program generator | |
| JPH02275539A (en) | Debugging system | |
| JPS6383861A (en) | Automatic processing system for numerical formula | |
| JPH08263130A (en) | Simulation method | |
| JPH06202863A (en) | System for supporting design of gui application program | |
| US20030033332A1 (en) | Control/display unit page builder software tool | |
| JPH06242941A (en) | Interactive processing system | |
| JPH0317741A (en) | Program production support device | |
| JP3966355B2 (en) | Program generation method and apparatus |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A300 | Application deemed to be withdrawn because no request for examination was validly filed |
Free format text: JAPANESE INTERMEDIATE CODE: A300 Effective date: 19980903 |