JPH11237978A - Device and method for producing graphical user interface and medium storing control program - Google Patents

Device and method for producing graphical user interface and medium storing control program

Info

Publication number
JPH11237978A
JPH11237978A JP3868498A JP3868498A JPH11237978A JP H11237978 A JPH11237978 A JP H11237978A JP 3868498 A JP3868498 A JP 3868498A JP 3868498 A JP3868498 A JP 3868498A JP H11237978 A JPH11237978 A JP H11237978A
Authority
JP
Japan
Prior art keywords
user interface
graphical user
gui
menu item
unit
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.)
Pending
Application number
JP3868498A
Other languages
Japanese (ja)
Inventor
Takehiko Ichikawa
武彦 市川
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.)
Sharp Corp
Original Assignee
Sharp 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 Sharp Corp filed Critical Sharp Corp
Priority to JP3868498A priority Critical patent/JPH11237978A/en
Publication of JPH11237978A publication Critical patent/JPH11237978A/en
Pending legal-status Critical Current

Links

Landscapes

  • Stored Programmes (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

PROBLEM TO BE SOLVED: To facilitate the change and addition of association and further to improve the quality and maintainability of a program by displaying a graphical user interface part that is associated with menu items on a screen. SOLUTION: Plural menu items that designate various information processing are stored in a menu table, graphical user interface parts are stored in a part table and each table is shown on the screen of a displaying part 1. A selecting part 2 respectively selects one menu item and a graphical user interface part corresponded to it from every table. A microcomputer 3 associates the menu item and the graphical user interface part which are selected by the part 2 based on an individually belonging identification code by using a control program stored in a medium 4, shows the associated graphical user interface part on the screen of the part 1 and produces a program executed as a graphical user interface.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、パーソナルコンピ
ュータ、ワードプロセッサなどの情報処理機器におい
て、ユーザが視覚的、直感的に情報処理を実行するため
のグラフィカル・ユーザインタフェースを作成するグラ
フィカル・ユーザインタフェース作成装置及び方法並び
にその制御プログラムを記憶した媒体に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an apparatus for creating a graphical user interface for a user to visually and intuitively execute information processing in an information processing apparatus such as a personal computer and a word processor. And a medium storing a control program therefor.

【0002】[0002]

【従来の技術】近年、情報処理機器のインタフェースと
して、ユーザに視覚的、直感的にわかりやすく、かつ使
いやすいグラフィカル・ユーザインタフェース(以下、
GUIという)が採用されることが多くなっている。
2. Description of the Related Art In recent years, as an interface for information processing equipment, a graphical user interface (hereinafter, referred to as a user interface) which is easy for the user to visually and intuitively understand and is easy to use.
GUI) has been adopted in many cases.

【0003】表示画面のウィンドウの一部分に、常時あ
るいは必要に応じてメニューウィンドウが表示され、そ
の各メニュー項目に対して情報処理機器上で動作するソ
フトウェアにより機能が割り当てられている。従って、
ユーザは、通常、これらのメニュー項目をマウスで表示
画面上を操作して選択することにより所望のGUIの機
能を実行させている。
[0003] A menu window is displayed in a part of the window on the display screen constantly or as needed, and functions are assigned to the respective menu items by software operating on the information processing device. Therefore,
The user normally executes a desired GUI function by operating the mouse to select these menu items on the display screen.

【0004】また、メニュー項目に割り当てられている
機能の選択および実行が手軽に行えるように、メニュー
項目の選択の煩雑さを解消している。例えば、使われる
頻度が高い機能が割り当てられたメニュー項目について
は、ウィンドウに表示されるキー、ボタンなどのグラフ
ィカル・ユーザインタフェース部品(以下、GUI部品
という)に関連付けられることがよく行われる。GUI
部品とは、ユーザが目的の情報処理の項目を指示して実
行するためのアイコン、キー、ボタンなどの部品をい
う。
In addition, the complexity of selecting menu items has been eliminated so that functions assigned to menu items can be easily selected and executed. For example, a menu item to which a frequently used function is assigned is often associated with a graphical user interface component (hereinafter, referred to as a GUI component) such as a key and a button displayed in a window. GUI
Components are components such as icons, keys, and buttons for the user to designate and execute a target information processing item.

【0005】さらに、情報処理機器の操作に熟練したユ
ーザのために、メニュー項目の一部にショートカットキ
ーを設定し、メニュー項目に割り当てた機能を、キーボ
ードで選択し、実行できるように構成されている。ショ
ートカットキーとは、通常、一つのキーに別の目的の機
能を持たせたことをいう。
Further, for a user who is skilled in operating information processing equipment, a shortcut key is set for a part of a menu item, and a function assigned to the menu item can be selected and executed with a keyboard. I have. A shortcut key usually means that one key has a function for another purpose.

【0006】ある一つのメニュー項目と関連付けられた
GUI部品、例えば、それがボタンであれば、マウスで
そのボタンをクリックしたときは、関連付けられている
メニュー項目を選択したときと同じ機能が実行される。
また、メニュー項目の選択操作の有効・無効の切り替え
と同期して、関連付けられているGUI部品の操作の有
効・無効も切り替えられる。さらに、ショートカットキ
ーがメニュー項目に設定されている場合には、関連付け
られているGUI部品にも同じショートカットキーが設
定されることが通常である。
A GUI component associated with one menu item, for example, if it is a button, when the button is clicked with a mouse, the same function as when the associated menu item is selected is executed. You.
Further, in synchronization with the switching between the validity and invalidity of the menu item selection operation, the validity / invalidity of the operation of the associated GUI component is also switched. Furthermore, when a shortcut key is set for a menu item, the same shortcut key is usually set for the associated GUI component.

【0007】従って、従来のGUI作成装置では、メニ
ュー項目とGUI部品の関連付けを、次のようにして実
現している。例えば、メニュー項目及びGUI部品のい
ずれか一方のイベントハンドラ関数を呼び出すように、
他方のイベントハンドラ関数を記述する。また、メニュ
ー項目及びGUI部品のいずれか一方の操作の有効・無
効を切り替えた場合は、他方の操作の有効・無効もあわ
せて切り替えるようにプログラムコードを生成する。ま
た、ショートカットキーは、両方それぞれに設定する。
イベントハンドラとは、マウスによるメニュー項目の選
択やボタンのクリックなどのGUIへのユーザの一つの
操作の区切り(イベント)に対してメニュー項目やGU
I部品ごとに実行される処理をいう。
Therefore, in the conventional GUI creation device, the association between the menu items and the GUI parts is realized as follows. For example, to call one of the event handler functions of the menu item and the GUI component,
Write the other event handler function. In addition, when the operation of one of the menu item and the GUI component is enabled / disabled, the program code is generated so that the operation of the other operation is also enabled / disabled. Shortcut keys are set for both.
An event handler is a menu item or GUI for a break (event) of one user operation on the GUI such as selection of a menu item by a mouse or click of a button.
This refers to the processing executed for each I component.

【0008】[0008]

【発明が解決しようとする課題】しかしながら、従来の
GUI作成装置でGUIを作成した際、次のような問題
がある。 (1)どのメニュー項目とGUI部品が関連付けられて
いるのか、ユーザには一見してわからない。これは、メ
ニュー項目とGUI部品との関連付けにおいて、 ・同じイベントハンドラ関数を呼び出す構成になってい
る。 ・操作の有効・無効を同時に切り替えるプログラムを記
述する構成になっている。 ・同じショートカットキーを設定する構成になってい
る。 など、プログラム中のさまざまな部分で行われているた
めである。そのため、プログラムをある程度解析しなけ
ればならない。このため、関連付けを行うためのプログ
ラムコードにバグが発生する確率を高める要因となり、
また、後からのプログラムの変更、追加等の保守が困難
になる。
However, when a GUI is created by a conventional GUI creation device, there are the following problems. (1) The user cannot see at a glance which menu item is associated with the GUI component. This is a configuration in which the same event handler function is called when associating a menu item with a GUI component. -It is configured to describe a program that switches the validity / invalidity of operations at the same time. -The same shortcut key is set. This is because it is performed in various parts of the program. Therefore, the program must be analyzed to some extent. For this reason, it is a factor that increases the probability that a bug occurs in the program code for performing the association,
Further, it is difficult to perform maintenance such as changing or adding a program later.

【0009】(2)さらに、一つのメニュー項目に関連
付けられた全てのGUI部品について、単に関連付ける
ためだけのイベントハンドラ関数を定義することにな
る。また、操作の有効・無効の切り替えのためのプログ
ラムコードの作成やショートカットキーの設定も、関連
付けられている全てのGUI部品について必要になる。
これは、プログラミングする際のプログラムコードやデ
ータの量を増加させることになり、これらの関連付けを
行うためのプログラムコードにバグが発生する確率も高
める要因となる。
(2) Further, for all GUI parts associated with one menu item, an event handler function merely for association is defined. Also, it is necessary to create a program code for switching between valid and invalid operations and to set a shortcut key for all associated GUI components.
This increases the amount of program code and data at the time of programming, and also increases the probability that a bug occurs in the program code for associating them.

【0010】本発明は以上の事情を考慮してなされたも
のであり、例えば、各種情報処理の指示操作において、
ユーザがメニュー項目とGUI部品の関連付けが一見し
てわかるグラフィカル・ユーザインタフェースを作成し
て利用することができるグラフィカル・ユーザインタフ
ェース作成装置及び方法並びにその制御プログラムを記
憶した媒体を提供する。
The present invention has been made in consideration of the above circumstances, and for example, in an instruction operation of various information processing,
Provided are an apparatus and method for creating a graphical user interface that allows a user to create and use a graphical user interface that allows a user to understand at a glance the association between menu items and GUI parts, and a medium storing a control program therefor.

【0011】[0011]

【課題を解決するための手段】本発明は、各種情報処理
を指示する複数のメニュー項目からなるメニューテーブ
ルと、グラフィカル・ユーザインタフェース部品からな
る部品テーブルと、前記各テーブルを画面に表示する表
示部と、前記各テーブルから一つのメニュー項目とそれ
と対応させるグラフィカル・ユーザインタフェース部品
をそれぞれ選択する選択部と、前記選択部により選択さ
れたメニュー項目とグラフィカル・ユーザインタフェー
ス部品とを個々に有する識別コードに基づいて関連付け
る関連付け部と、前記メニュー項目に関連付けたグラフ
ィカル・ユーザインタフェース部品を前記画面に表示し
グラフィカル・ユーザインタフェースとして実行させる
プログラムを生成するプログラム生成部とを備えたこと
を特徴とするグラフィカル・ユーザインタフェース作成
装置である。
According to the present invention, there is provided a menu table comprising a plurality of menu items for instructing various types of information processing, a component table comprising graphical user interface components, and a display unit for displaying each table on a screen. A selection unit for selecting one menu item and a corresponding graphical user interface component from each of the tables, and an identification code individually having the menu item and the graphical user interface component selected by the selection unit. A graphical user interface component associated with the menu item is displayed on the screen, and a program generating unit that generates a program to be executed as a graphical user interface is provided. It is a Ikaru user interface creation device.

【0012】なお、本発明において、メニューテーブル
は、各種情報処理内容を示す複数のメニュー項目からな
るメニューバー、メニューウィンドウなどを示し、メニ
ューテーブルの各データはROM、フロッピーディスク
などの記憶部に記憶されている。 部品テーブルは、ユ
ーザが目的の情報処理を図形的に指示して実行するため
のグラフィカル・ユーザインタフェース部品として、ア
イコン、キー、ボタンなど部品からなるパレットやウィ
ンドウを示し、部品テーブルの各データはROM、フロ
ッピーディスクなどの記憶部に記憶されている。
In the present invention, the menu table indicates a menu bar or a menu window including a plurality of menu items indicating various information processing contents, and each data of the menu table is stored in a storage unit such as a ROM or a floppy disk. Have been. The parts table indicates a pallet or window composed of parts such as icons, keys, and buttons as graphical user interface parts for the user to graphically instruct and execute the target information processing. , A floppy disk or the like.

【0013】表示部は、LCD(液晶ディスプレイ)、
PD(プラズマ・ディスプレイ)などで構成することが
できる。選択部は、マウス、ペン、トラックパッドなど
のポインティングデバイスで構成することができる。関
連付け部、プログラム生成部は、CPU、ROM、RA
M、I/Oポートからなるマイクロコンピュータで構成
することができる。
The display unit is an LCD (Liquid Crystal Display),
It can be composed of a PD (plasma display) or the like. The selection unit can be configured by a pointing device such as a mouse, a pen, and a trackpad. The associating unit and the program generating unit are CPU, ROM, RA
It can be constituted by a microcomputer comprising M and I / O ports.

【0014】本発明によれば、各種情報処理の指示操作
において、ユーザはメニュー項目とGUI部品の関連付
けが一見してわかるグラフィカル・ユーザインタフェー
スを作成して利用することができる。
According to the present invention, the user can create and use a graphical user interface that allows the user to see at a glance the association between the menu items and the GUI parts in the instruction operation of various information processing.

【0015】前記プログラム生成部は、前記関連付け部
により関連付けられたメニュー項目とグラフィカル・ユ
ーザインタフェース部品間で実行するグラフィカル・ユ
ーザインタフェースの有効あるいは無効を切り替えるプ
ログラムを生成する機能をさらに備えた構成にしてもよ
い。前記構成によれば、関連付けられているメニュー項
目とGUI部品間での有効あるいは無効の切り替えが自
動的に行われるので、プログラムの変更、追加が簡便に
なる。
[0015] The program generation unit may further include a function of generating a program for switching between a menu item associated with the association unit and a graphical user interface executed between a graphical user interface component and a graphical user interface. Is also good. According to the above configuration, switching between valid and invalid between the associated menu item and the GUI component is automatically performed, so that the program can be easily changed or added.

【0016】前記関連付け部により関連付けられたメニ
ュー項目またはグラフィカル・ユーザインタフェース部
品のいずれか一方にショートカットキーを設定すると他
方にも自動的に同じショートカットキーが設定されるシ
ョートカットキー設定部をさらに備えた構成にしてもよ
い。なお、ショートカットキー設定部は、マイクロコン
ピュータで構成することができる。前記構成によれば、
関連付けられているGUI部品あるいはメニュー項目が
あれば、そのショートカットキーを設定するべきプロパ
ティに自動的に同じ設定が行われるので、ショートカッ
トキーを設定するプログラムの変更、追加が簡便にな
る。
A configuration further comprising a shortcut key setting section in which when a shortcut key is set in one of the menu item and the graphical user interface component associated by the association section, the same shortcut key is automatically set in the other. It may be. Note that the shortcut key setting unit can be configured by a microcomputer. According to the configuration,
If there is an associated GUI component or menu item, the same setting is automatically made for the property for which the shortcut key is to be set, so that the program for setting the shortcut key can be easily changed or added.

【0017】前記関連付け部により関連付けられたメニ
ュー項目またはグラフィカル・ユーザインタフェース部
品のいずれか一方にイベントハンドラ関数を定義すると
他方にも自動的に同じイベントハンドラ関数が定義され
るイベントハンドラ関数定義部をさらに備えた構成にし
てもよい。なお、イベントハンドラ関数定義部は、マイ
クロコンピュータで構成することができる。前記構成に
よれば、関連付けられているメニュー項目やGUI部品
間でイベントハンドラが共有できる。
When an event handler function is defined for one of the menu item and the graphical user interface component associated by the association unit, an event handler function definition unit for automatically defining the same event handler function for the other is further provided. A configuration may be provided. Note that the event handler function definition unit can be constituted by a microcomputer. According to the configuration, the event handler can be shared between the associated menu items and GUI components.

【0018】前記関連付け部により一つのメニュー項目
に複数のグラフィカル・ユーザインタフェース部品が関
連付けられ、イベントハンドラ関数定義部によりグラフ
ィカル・ユーザインタフェース部品にイベントハンドラ
関数が定義される際、前記プログラム生成部は、前記メ
ニュー項目に関連付けた複数のグラフィカル・ユーザイ
ンタフェース部品のそれぞれにイベントハンドラ関数を
含むプログラムを生成する構成にしてもよい。前記構成
によれば、関連付けられているメニュー項目やGUI部
品ごとのイベントハンドラ関数を定義することができ、
イベントハンドラ関数を定義するプログラムの変更、追
加が簡便になる。
When a plurality of graphical user interface components are associated with one menu item by the associating unit, and when an event handler function is defined in the graphical user interface component by the event handler function defining unit, the program generating unit: A configuration may be such that a program including an event handler function is generated for each of the plurality of graphical user interface components associated with the menu item. According to the configuration, it is possible to define an event handler function for each associated menu item or GUI component,
Changes and additions to programs that define event handler functions are simplified.

【0019】[0019]

【発明の実施の形態】以下、図に示す実施例に基づいて
本発明を詳述する。なお、本発明はこれによって限定さ
れるものではない。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, the present invention will be described in detail based on an embodiment shown in the drawings. The present invention is not limited by this.

【0020】図1は本発明のグラフィカル・ユーザイン
タフェース作成装置の基本構成を示すブロック図であ
る。グラフィカル・ユーザインタフェースは以下、GU
Iという。図1において、1はLCD(液晶ディスプレ
イ)、PD(プラズマ・ディスプレイ)などで構成され
る表示部を示す。2はマウス、ペン、トラックパッドな
どのポインティングデバイスで構成される入力部を示
す。入力部2は、選択部、設定部などの各入力部として
も機能する。
FIG. 1 is a block diagram showing a basic configuration of a graphical user interface creating apparatus according to the present invention. The graphical user interface is referred to below as GU
It is called I. In FIG. 1, reference numeral 1 denotes a display unit including an LCD (Liquid Crystal Display), a PD (Plasma Display), and the like. Reference numeral 2 denotes an input unit including a pointing device such as a mouse, a pen, and a trackpad. The input unit 2 also functions as each input unit such as a selection unit and a setting unit.

【0021】3はCPU、ROM、RAM、I/Oポー
トからなるマイクロコンピュータを示し、マイクロコン
ピュータ3は、GUI作成部(関連付け部)、GUIプ
ログラムコード生成部(プログラム生成部)、イベント
ハンドラ編集部(イベントハンドラ関数定義部)、及び
ショートカットキー設定部として機能する。4はEEP
ROMからなるICカード、フロッピーディスク、ハー
ドディスク、CD−ROM、MDなどの記憶媒体で構成
される2次記憶装置を示す。2次記憶装置4には、マイ
クロコンピュータ3が、GUI作成装置の各部として機
能する制御プログラムが記憶するようにしてもよい。
Reference numeral 3 denotes a microcomputer including a CPU, a ROM, a RAM, and an I / O port. The microcomputer 3 includes a GUI creating section (associating section), a GUI program code generating section (program generating section), and an event handler editing section. (Event handler function definition unit) and functions as a shortcut key setting unit. 4 is EEP
1 shows a secondary storage device including a storage medium such as an IC card including a ROM, a floppy disk, a hard disk, a CD-ROM, and an MD. In the secondary storage device 4, the microcomputer 3 may store a control program that functions as each unit of the GUI creation device.

【0022】14はGUI部品データ(作成されたGU
Iデータの種類や配置、イベントハンドラに関するデー
タ)を保存するGUIデータリポジトリ部を示し、2次
記憶装置4の領域に含まれる。また、GUIデータリポ
ジトリ部14は、表示部1の画面に表示するGUI部品
の部品テーブル、複数のメニュー項目のメニューテーブ
ルとして機能する。15はメニュー項目とGUI部品の
関連付けデータを保存する関連付けリポジトリ部を示
し、2次記憶装置4の領域に含まれる。
Reference numeral 14 denotes GUI part data (created GUI).
A GUI data repository unit for storing I-data types and arrangements, and event handlers) is included in the area of the secondary storage device 4. Further, the GUI data repository unit 14 functions as a component table of GUI components displayed on the screen of the display unit 1 and a menu table of a plurality of menu items. Reference numeral 15 denotes an association repository unit for storing association data between menu items and GUI parts, which is included in the area of the secondary storage device 4.

【0023】11は、ユーザ(GUI開発者)が、GU
Iデータリポジトリ部14に保存したメニュー項目やG
UI部品のデータと関連付けリポジトリ部15に保存し
た関連付けデータに基づいて対話的にGUIデータを作
成するためのGUI作成部を示す。マイクロコンピュー
タ3がGUI作成プログラムによりGUI作成部11と
して機能する。16はイベントハンドラ関数を格納する
イベントハンドラリポジトリ部を示し、2次記憶装置4
の領域に含まれる。
Reference numeral 11 denotes a user (GUI developer)
Menu items and G stored in the I data repository unit 14
A GUI creation unit for interactively creating GUI data based on UI component data and association data stored in the association repository unit 15 is shown. The microcomputer 3 functions as the GUI creating unit 11 by the GUI creating program. Reference numeral 16 denotes an event handler repository for storing an event handler function.
Area.

【0024】12はGUI作成部11に目的のGUI部
品を問い合わせ、関連付けリポジトリ部5に保存したメ
ニュー項目及びGUI部品の関連付けデータとイベント
ハンドラリポジトリ部16に保存したイベントハンドラ
関数に基づいてイベントハンドラに関するデータ(例え
ば、イベントハンドラ識別名)の編集を行うイベントハ
ンドラ編集部を示す。マイクロコンピュータ3がイベン
トハンドラ編集プログラムによりイベントハンドラ編集
部12として機能する。また、GUI作成部11は、前
に作成したGUIデータ、イベントハンドラ編集部12
で編集されたイベントハンドラ識別名をGUIデータリ
ポジトリ部14から読み込むこともできる。
A reference numeral 12 inquires of the GUI creation unit 11 about a target GUI component, and relates to an event handler based on the menu items and association data of the GUI component stored in the association repository unit 5 and the event handler function stored in the event handler repository unit 16. 9 shows an event handler editing unit that edits data (for example, an event handler identifier). The microcomputer 3 functions as the event handler editing unit 12 by the event handler editing program. The GUI creation unit 11 also stores the previously created GUI data, the event handler editing unit 12
Can be read from the GUI data repository unit 14.

【0025】13はGUIデータリポジトリ部14に保
存されたGUI部品データ、関連付けリポジトリ部15
に保存された関連付けデータ、イベントハンドラリポジ
トリ部16に保存されたイベントハンドラ関数に基づい
てGUIプログラムコードを生成するGUIプログラム
コード生成部を示す。マイクロコンピュータ3がGUI
プログラムコード生成プログラムによりGUIプログラ
ムコード生成部13として機能する。17はGUIプロ
グラムコードを格納するGUIプログラムコードリポジ
トリ部を示す。
Reference numeral 13 denotes GUI part data stored in the GUI data repository unit 14 and an association repository unit 15
2 shows a GUI program code generation unit that generates a GUI program code based on the association data stored in the event handler repository unit 16 and the association data stored in the event handler repository unit 16. The microcomputer 3 is a GUI
The program code generation program functions as the GUI program code generation unit 13. Reference numeral 17 denotes a GUI program code repository for storing GUI program codes.

【0026】図1に示す構成において、本発明は、各種
情報処理を指示する複数のメニュー項目をメニューテー
ブルに記憶し、グラフィカル・ユーザインタフェース部
品を部品テーブルに記憶し、前記各テーブルを表示部1
の画面に表示し、前記各テーブルから一つのメニュー項
目とそれと対応させるグラフィカル・ユーザインタフェ
ース部品を選択部2によりそれぞれ選択し、前記選択部
2により選択されたメニュー項目とグラフィカル・ユー
ザインタフェース部品とを個々に有する識別コードに基
づいて関連付けし、前記メニュー項目に関連付けたグラ
フィカル・ユーザインタフェース部品を前記画面に表示
しグラフィカル・ユーザインタフェースとして実行させ
るプログラムを生成するグラフィカル・ユーザインタフ
ェース作成方法を提供することができる。
In the configuration shown in FIG. 1, the present invention stores a plurality of menu items instructing various types of information processing in a menu table, stores a graphical user interface component in a component table, and displays each table in the display unit 1.
And selecting one menu item and the corresponding graphical user interface component from the respective tables by the selection unit 2 and displaying the menu item and the graphical user interface component selected by the selection unit 2. A method for creating a graphical user interface for associating based on an identification code individually, generating a program for displaying a graphical user interface component associated with the menu item on the screen and executing the program as a graphical user interface. it can.

【0027】さらに、本発明は、各種情報処理を指示す
る複数のメニュー項目からなるメニューテーブルと、グ
ラフィカル・ユーザインタフェース部品からなる部品テ
ーブルと、前記各テーブルを画面に表示する表示部1
と、前記各テーブルから一つのメニュー項目とそれと対
応させるグラフィカル・ユーザインタフェース部品をそ
れぞれ選択する選択部2とを備えたグラフィカル・ユー
ザインタフェース装置をマイクロコンピュータ3によっ
て制御するプログラムを記憶した媒体4であって、前記
マイクロコンピュータ3に、前記選択部2により選択さ
れたメニュー項目とグラフィカル・ユーザインタフェー
ス部品とを個々に有する識別コードに基づいて関連付け
させ、前記メニュー項目に関連付けたグラフィカル・ユ
ーザインタフェース部品を前記表示部1の画面に表示し
グラフィカル・ユーザインタフェースとして実行させる
プログラムを生成させるグラフィカル・ユーザインタフ
ェース装置制御プログラムを記憶した媒体4を提供する
ことができる。
Further, according to the present invention, there is provided a menu table comprising a plurality of menu items for instructing various types of information processing, a component table comprising graphical user interface components, and a display unit 1 for displaying each of the tables on a screen.
A medium 4 storing a program for controlling a graphical user interface device having a microcomputer 3 including a menu item from each of the tables and a selecting unit 2 for selecting a graphical user interface component corresponding to the menu item. And causing the microcomputer 3 to associate the menu item selected by the selection unit 2 with the graphical user interface component based on the identification code individually provided, and to associate the graphical user interface component associated with the menu item with the A medium 4 storing a graphical user interface device control program for generating a program to be displayed on the screen of the display unit 1 and executed as a graphical user interface can be provided.

【0028】図2は本実施例におけるGUI作成処理前
の画面例を示す説明図である。図2に示すように、GU
I開発者(ユーザ)は、GUI作成部11を起動させ
て、GUI作成画面を表示する。例えば、マウスでGU
I部品パレット21から関連付けたいGUI部品(例え
ば、ボタン“OK”)を選び、GUIメニュー22のメ
ニュー項目(例えば、“開く”)上にドラッグ・アンド
・ドロップ操作をすることで、GUI作成部11は、メ
ニュー項目(例えば、“開く”)とGUI部品(例え
ば、ボタン“OK”)をグラフィカルに関連付ける。そ
の後、関連付けたGUI部品を画面上の適切な場所に配
置する。関連付けるGUI部品としては、GUI部品パ
レット21から選択してもよいし、新規に作成してもよ
い。また、すでに作成され、GUIデータリポジトリ部
14に保持されているGUI部品を取り出してもよい。
FIG. 2 is an explanatory diagram showing an example of a screen before the GUI creation processing in this embodiment. As shown in FIG.
The I developer (user) activates the GUI creation unit 11 to display a GUI creation screen. For example, GU with mouse
By selecting a GUI component (for example, a button “OK”) to be associated from the I-component pallet 21 and performing a drag-and-drop operation on a menu item (for example, “Open”) of the GUI menu 22, the GUI creation unit 11 Graphically associates a menu item (eg, “Open”) with a GUI component (eg, a button “OK”). Thereafter, the associated GUI component is arranged at an appropriate place on the screen. The GUI component to be associated may be selected from the GUI component pallet 21 or may be newly created. Alternatively, a GUI component that has already been created and that is held in the GUI data repository unit 14 may be extracted.

【0029】図3は本実施例におけるGUI作成処理後
の画面例を示す説明図である。図3において、31は個
々のメニュー項目やGUI部品を編集するための編集メ
ニューを示す。GUI開発者は、メニュー項目(“開
く”)とGUI部品(ボタン“OK”)とを関連させた
後、GUI部品やメニュー項目を選択状態にして表示す
る。例えば、マウスの右ボタンを押下すれば、編集メニ
ュー31が開くように構成することにより、メニュー項
目とGUI部品の関連付けを確認する。
FIG. 3 is an explanatory diagram showing an example of a screen after the GUI creation processing in this embodiment. In FIG. 3, reference numeral 31 denotes an edit menu for editing individual menu items and GUI parts. After associating the menu item (“open”) with the GUI component (button “OK”), the GUI developer displays the GUI component and the menu item in a selected state. For example, when the right button of the mouse is pressed, the editing menu 31 is opened to confirm the association between the menu item and the GUI component.

【0030】そして、編集メニュー31を開いて、例え
ば“関連表示”を選択すると、関連付けられているメニ
ュー項目あるいはGUI部品との間に直線が表示される
ようにする。さらに、編集メニュー31の“関連削除”
を選択することによって、関連付けを解除できるように
構成してもよい。
Then, when the edit menu 31 is opened and, for example, "related display" is selected, a straight line is displayed between the associated menu item or GUI component. In addition, “Relation” in the edit menu 31
The association may be canceled by selecting.

【0031】メニュー項目やGUI部品間の関連付けの
情報は、メニュー項目やGUI部品パレット22のGU
I部品ごとにGUI作成部11で一意に付される識別名
とともに、関連付けリポジトリ部15に保存される。一
つの関連付けを表す関連付けデータの形式としては、例
えば,次のような組とすればよい。
The information on the association between the menu items and the GUI parts is stored in the GUI items of the menu items and the GUI parts palette 22.
It is stored in the association repository unit 15 together with the identification name uniquely assigned by the GUI creation unit 11 for each I component. The format of the association data representing one association may be, for example, the following set.

【0032】(MENU0ITEMO, BUTTONO,........)“MENU
0ITEMO”は、メニュー項目の識別名を示す。“BUTTON
O”は、メニュー項目(MENU0ITEMO)に関連付けたGU
I部品の識別名を示す。このように関連付けられた全て
の識別名を、一括して関連付けリポジトリ15に格納す
る。
(MENU 0ITEMO, BUTTONO,...) “MENU
“0ITEMO” indicates the identification name of the menu item.
O ”is the GU associated with the menu item (MENU0ITEMO)
Indicates the identification name of the I component. All the identifiers associated in this way are collectively stored in the association repository 15.

【0033】GUIデータリポジトリ部14には、GU
I開発者が、GUI作成部11で作成したGUI情報、
すなわち、メニュー項目やGUI部品の個々のデータ
(位置やサイズ、キャプション、GUI開発者が付けた
名前、ショートカットキーの設定などのプロパティの
値)が保持される構成とする。
The GUI data repository unit 14 has a GUI
GUI information created by the I developer in the GUI creating unit 11,
In other words, the configuration is such that menu item and individual data of GUI parts (property values such as position, size, caption, name given by GUI developer, shortcut key setting) are held.

【0034】そして、各データにはGUI作成部11で
作成した識別名を付して、識別名をキーとして検索でき
る構成にする。このように構成すれば、GUI作成部1
1は、GUIデータリポジトリ部14と関連付けリポジ
トリ部15からデータを読み込んで照合することによ
り、一旦作成し保存したGUIデータ及び関連付けデー
タを再現することができる。
Each data is provided with an identification name created by the GUI creation unit 11 so that the data can be searched using the identification name as a key. With this configuration, the GUI creation unit 1
By reading and collating data from the GUI data repository unit 14 and the association repository unit 15, the GUI data and the association data once created and stored can be reproduced.

【0035】GUI開発者が、メニュー項目やGUI部
品に割り当てたショートカットキーは、メニュー項目や
GUI部品のプロパティとして個々に設定されることが
一般的である。よって、GUI開発者によってショート
カットキーの設定が行われたら、GUI作成部11は、
関連付けリポジトリ部15を参照して、関連付けられて
いるGUI部品あるいはメニュー項目がないかを検索す
る。そして、もし関連付けられているGUI部品あるい
はメニュー項目があれば、そのショートカットキーを設
定するべきプロパティに同じ設定を行うように構成する
(図11参照)。
Generally, shortcut keys assigned by the GUI developer to menu items and GUI components are individually set as properties of the menu items and GUI components. Therefore, when the shortcut key is set by the GUI developer, the GUI creating unit 11
With reference to the association repository section 15, a search is made for any associated GUI parts or menu items. If there is an associated GUI component or menu item, the same setting is made for the property for which the shortcut key is to be set (see FIG. 11).

【0036】イベントハンドラ関数を定義するときに
は、まず、“どのメニュー項目あるいはGUI部品の、
どのイベントに対するイベントハンドラ関数か”を指定
する必要がある。イベントには、マウスのクリックやマ
ウスカーソルの進入、GUIのオープンやクローズ、情
報処理機器からのタイマや電源オフによる割り込みなど
がある。これらのイベントが発生したときにGUIが行
うべき動作を記述したものがイベントハンドラ関数であ
る。このイベントハンドラ関数も、プロパティの値と同
様に、個々のメニュー項目やGUI部品のひとつのデー
タとして登録される。
When defining an event handler function, first, "any menu item or GUI component,
It is necessary to specify which event handler function should be used for the event. The events include mouse clicks, entry of the mouse cursor, opening and closing of GUIs, interruption from timers and power-off from information processing equipment, etc. The event handler function describes the operation to be performed by the GUI when the event (1) occurs. This event handler function is also registered as one data of each menu item or GUI component, like the property value. You.

【0037】図4は本実施例におけるGUIのイベント
ハンドラ編集処理(1)の画面例を示す説明図である。
図4において、41はイベントハンドラ関数を定義する
イベントを選択するためのイベントリストを示す。本実
施例のGUI作成装置では、GUI作成部11で、GU
I開発者が、図3において、編集メニュー31の“イベ
ントハンドラ編集”を選択すると、そのとき選択状態に
あるメニュー項目あるいはGUI部品のイベントリスト
41が開く。GUI開発者は、このイベントリスト41
から、イベントハンドラ関数を定義あるいは編集したい
イベントを選択する。
FIG. 4 is an explanatory view showing a screen example of the event handler editing process (1) of the GUI in this embodiment.
In FIG. 4, reference numeral 41 denotes an event list for selecting an event defining an event handler function. In the GUI creation device of the present embodiment, the GUI creation unit 11
When the I developer selects “edit event handler” in the edit menu 31 in FIG. 3, the event list 41 of the menu item or GUI component which is selected at that time is opened. The GUI developer uses this event list 41
From, select the event for which you want to define or edit an event handler function.

【0038】GUI開発者は、イベントを選択したら、
イベントハンドラ編集部12を起動する。イベントハン
ドラ編集部12でイベントハンドラ関数を編集を行う。
さらに、関連付けリポジトリ部15からGUI作成部1
1で関連付けられた他のメニュー項目あるいはGUI部
品を検索して、現在、編集しているイベントハンドラ関
数を、どのイベントハンドラ関数にするか共有するかな
どを選択できるように構成する。ただし、デフォルトと
して、もっとも一般的なイベントハンドラ関数が自動的
に登録される構成にする。
When the GUI developer selects an event,
The event handler editing unit 12 is started. The event handler editing unit 12 edits the event handler function.
Furthermore, the GUI creation unit 1
A search is made for another menu item or GUI component associated in step 1 to select which event handler function the currently edited event handler function is to be shared. However, by default, the most common event handler function is automatically registered.

【0039】図5は本実施例のGUIのイベントハンド
ラ編集処理(2)の画面例を示す説明図である。図5に
おいて、51はイベントハンドラ関数を編集するための
テキストエディタを示す。52は編集中のイベントハン
ドラ関数を共有したいGUI部品とそのイベントを選択
するためのメニューを示す。GUI開発者は、このテキ
ストエディタ51の〔関連選択〕メニューでGUI作成
部11で関連付けた他のメニュー項目あるいはGUI部
品を選択する(この例ではメニュー項目“MENU0ITEM
O”)。そして、さらに編集中のイベントハンドラ関数
を共有するイベントを選択する。この例では、デフォル
トでイベント“SELECTED”が選択されている。
FIG. 5 is an explanatory diagram showing a screen example of the event handler editing process (2) of the GUI according to the present embodiment. In FIG. 5, reference numeral 51 denotes a text editor for editing an event handler function. Reference numeral 52 denotes a menu for selecting a GUI component to share the event handler function being edited and its event. The GUI developer selects another menu item or GUI component associated with the GUI creation unit 11 in the [related selection] menu of the text editor 51 (in this example, the menu item “MENU0ITEM”).
O ”). Then, select an event that shares the event handler function being edited. In this example, the event“ SELECTED ”is selected by default.

【0040】イベントハンドラ編集部13は、GUI開
発者が定義したイベントハンドラ関数に一意な識別名を
割り当てる。そして、識別名とイベントハンドラ関数の
組をイベントハンドラリポジトリ部16に格納する。例
えば、次のような形式で保存する。
The event handler editing unit 13 assigns a unique identifier to the event handler function defined by the GUI developer. Then, a set of the identification name and the event handler function is stored in the event handler repository unit 16. For example, save in the following format.

【0041】 [0041]

【0042】ここで、“EVENTHANDLER000 ”は、イベン
トハンドラ編集部が自動的に付した、イベントハンドラ
関数(この例では、“FileOpen()”関数)を一意に識別
するためのイベントハンドラ識別子を示す。“=20”
は、“ int FileOpen(String fname)”の行から“}”
までの20行がイベントハンドラ関数のソースプログラ
ムであることを意味する。このソースプログラムの部分
は、最終的にGUIプログラムコード生成部13によっ
て抽出され、GUIプログラムコードとして記述され
る。イベントハンドラリポジトリ部16では、イベント
ハンドラ識別名とソースプログラムのセットで一つのイ
ベントハンドラ関数の情報が保存される。
Here, "EVENTHANDLER000" indicates an event handler identifier automatically assigned by the event handler editing unit for uniquely identifying the event handler function (in this example, the "FileOpen ()" function). “= 20”
Is “}” from the line of “int FileOpen (String fname)”
It means that the 20 lines up to are the source program of the event handler function. This part of the source program is finally extracted by the GUI program code generation unit 13 and described as GUI program code. The event handler repository section 16 stores information of one event handler function as a set of an event handler identifier and a source program.

【0043】さらに、現在編集中のイベントハンドラ関
数を共有するもの全て(すなわち、関連付けられている
メニュー項目やGUI部品も含めて)に、GUI開発者
によってあるいはデフォルトで選択されるイベントのイ
ベントハンドラ関数として、イベントハンドラ編集部が
割り当てた識別名をGUIデータリポジトリ14に格納
する。例えば、関連付けられているメニュー項目“MENU
0ITEMO”とボタン“BUTTONO”があり、“MENU0ITEMO”の
イベント“SELECTED”と“BUTTONO”のイベント“CLIC
K”に、同じイベントハンドラ関数“EVENTHANDLER000”
が設定されたとき、GUIデータリポジトリ14には、
例えば次のような形式で格納される。
In addition, all those sharing the currently edited event handler function (ie, including the associated menu items and GUI parts) have event handler functions for events selected by the GUI developer or by default. Then, the identifier assigned by the event handler editing unit is stored in the GUI data repository 14. For example, the associated menu item "MENU
0ITEMO ”and button“ BUTTONO ”, and“ MENU0ITEMO ”event“ SELECTED ”and“ BUTTONO ”event“ CLIC
K ”, the same event handler function“ EVENTHANDLER000 ”
When is set, the GUI data repository 14 contains
For example, it is stored in the following format.

【0044】 MENU0ITEMO As MenuItem …(1) { Property{ …(2) …… name="ファイルを開く(&0)" …… short-cut-key=Ctrl+0 …… } …(3) Event { …(4) …… CLICK=EVENTHANDLER000 …… } …(5) } …(6) BUTTONO As CommandButton { Property{ …… name=“OK" short-cut-key=Ctrl+0 …… } Event { …… CLICK=EVENTHANDLER000 …… } }MENU0ITEMO As MenuItem… (1) {Property {… (2)… name = "Open file (& 0)" …… short-cut-key = Ctrl + 0 ……}… (3) Event… (4) …… CLICK = EVENTHANDLER000 ……} (5))… (6) BUTTONO As CommandButton {Property {… name = “OK” short-cut-key = Ctrl + 0 ……} Event… …… CLICK = EVENTHANDLER000 ……}}

【0045】(1)〜(6)の部分が、識別名MENU0ITE
MOのメニュー項目あるいはボタンなどのGUI部分のデ
ータを示す。(1)の“As MenuItem"の部分で、このメ
ニュー項目あるいはボタンなどのGUI部分の種類を宣
言している(例えば、メニュー項目だとかボタン、リス
ト、テキスト表示領域など)。(2)〜(3)の部分
は、MENU0ITEMOのプロパテイ名とその値を示す。本実施
例ではショートカットキーはプロパテイに設定してお
り、プロパテイshort-cut-keyの値“Ctrl+0"として表さ
れる。(4)〜(5)の部分は、イベントとそれに対応
する(設定されているイベントハンドラ関数の)イベン
トハンドラ識別名を示す。上記の例では、イベントCLIC
Kにイベントハンドラ識別名EVENTHANDLER000が設定され
ている。GUIプログラムコード生成部分13は、ここ
で指定されているイベントハンドラ識別名を基に、イベ
ントハンドラリポジトリ部16から同じイベントハンド
ラ識別名を持つイベントハンドラ関数のソースプログラ
ムを抽出する。
The parts (1) to (6) correspond to the identifier MENU0ITE
Shows data of GUI part such as MO menu items or buttons. In the "As MenuItem" part of (1), the type of the GUI part such as this menu item or button is declared (for example, menu item, button, list, text display area, etc.). (2) to (3) indicate the property name of MENU0ITEMO and its value. In this embodiment, the shortcut key is set to the property, and is represented as the value “Ctrl + 0” of the property short-cut-key. The parts (4) to (5) indicate the event and the corresponding event handler identification name (of the set event handler function). In the above example, the event CLIC
The event handler identifier EVENTHANDLER000 is set in K. The GUI program code generation unit 13 extracts a source program of an event handler function having the same event handler identification name from the event handler repository unit 16 based on the event handler identification name specified here.

【0046】図6は実施例1におけるGUI関連付け作
成処理の手順を示すフローチャートである。図6におい
て、 ステップS61:GUI関連付け作成処理を開始する。 ステップS62:ドラッグされているGUI部品の識別
名GUIIDをGUI作成部11により取得する。 ステップS63:ドロップされたメニュー項目の識別名
MENUIDをGUI作成部11により取得する。 ステップS64:関連付けリポジトリ部15にMENUIDと
GUIIDの関連付けを登録する。 ステップS65:GUI関連付け作成処理終了。
FIG. 6 is a flowchart showing the procedure of the GUI association creation processing in the first embodiment. In FIG. 6, step S61: a GUI association creation process is started. Step S62: The GUI creation unit 11 acquires the identification name GUIID of the GUI component being dragged. Step S63: identification name of the dropped menu item
The MENU ID is obtained by the GUI creation unit 11. Step S64: MENUID is stored in the association repository unit 15.
Register GUIID association. Step S65: GUI association creation processing ends.

【0047】図7は実施例1におけるGUI関連付け表
示処理の手順を示すフローチャートである。図7におい
て、 ステップS71:GUI関連付け表示処理を開始する。 ステップS72:GUI作成部11において、選択され
ているGUI部品あるいはメニュー項目別名“SELECTED
ID”を取得する。 ステップS73:関連付けリポジトリ部15から識別名
“SELECTEDID”に関連付けられているGUI部品やメニ
ュー項目の識別名をすべて得る。 ステップS74:GUI作成部11において、選択され
ているGUI部品あるいはメニュー項目から、関連付け
リポジトリ部15から取得された全ての識別別名に対応
するGUI部品あるいはメニュー項目に対して接続する
直線を描画する。 ステップS75:GUI関連付け表示処理終了。
FIG. 7 is a flowchart showing the procedure of the GUI association display process in the first embodiment. In FIG. 7, step S71: a GUI association display process is started. Step S72: In the GUI creating unit 11, the selected GUI part or the menu item alias “SELECTED
Step S73: Obtain all GUI component and menu item identifiers associated with the identifier “SELECTEDID” from the association repository unit 15. Step S74: GUI selected in the GUI creation unit 11 From the component or menu item, a straight line connected to the GUI component or menu item corresponding to all the identification aliases acquired from the association repository unit 15 is drawn in. Step S75: The GUI association display processing ends.

【0048】図8は実施例1におけるGUI関連付け削
除処理の手順を示すフローチャートである。図8におい
て、 ステップS81:GUI関連付け削除処理を開始する。 ステップS82:GUI作成部11において、関連付け
られたGUI部品あるいはメニュー項目を選択して識別
名GUIID、MENUIDを得る。 ステップS83:関連付けリポジトリ部15から、GUID
とMENUIDの関連付けを削除する。 ステップS84:GUI作成部11で選択されている関
連付け(直線)を削除する。 ステップS85:GUI関連付け削除処理終了。
FIG. 8 is a flowchart showing the procedure of the GUI association deletion processing in the first embodiment. In FIG. 8, step S81: a GUI association deletion process is started. Step S82: The GUI creation unit 11 selects the associated GUI component or menu item to obtain the identification names GUIID and MENUID. Step S83: GUID from the association repository unit 15
Delete the association between and MENUID. Step S84: Delete the association (straight line) selected by the GUI creation unit 11. Step S85: GUI association deletion processing ends.

【0049】前記実施例1の構成によれば、GUIメニ
ューの各メニュー項目とGUI部品をグラフィカルに関
連付けることが実現できるので、ユーザは、一見してメ
ニュー項目とGUI部品の関連付けがわかる。
According to the configuration of the first embodiment, since it is possible to graphically associate each menu item of the GUI menu with the GUI component, the user can understand at a glance the association between the menu item and the GUI component.

【0050】GUIプログラムコード生成部13では、
GUIデータリポジトリ部14、関連付けリポジトリ部
15、およびイベントハンドラリポジトリ部16に保存
されているデータを基に、ターゲット原語(Java, C++,
Cなど)で書かれたプログラムコードを生成する。
In the GUI program code generator 13,
Based on the data stored in the GUI data repository unit 14, the association repository unit 15, and the event handler repository unit 16, target target languages (Java, C ++,
C).

【0051】このとき、GUIプログラムコード生成部
13は関連付けリポジトリ15の関連付けデータを基
に、関連付けられているメニュー項目やGUI部品の有
効・無効をいっせいに切り替えるための関数“_valida
teRelationalGroup()"と、識別名を与えると直接・間接
に関連付けられているメニュー項目やGUI部品の識別
名のリストに返す“_getRelationalGroup()"を作成す
る。
At this time, the GUI program code generation unit 13 uses the function “_valida” for simultaneously switching the validity / invalidity of the associated menu items and GUI parts based on the association data of the association repository 15.
Create teRelationalGroup () "and" _getRelationalGroup () "which, when given an identification name, return to a list of menu items and GUI component identification names that are directly or indirectly related.

【0052】メニュー項目やGUI部品の有効・無効の
切り替えは、それぞれの特定のプロパティの値を変更し
たり、あるいはそれぞれに関数を呼出してやることが一
般的である。本実施例では、あるGUI部品“BUTTONO"
およびそれに直接・間接に関連付けられているすべての
メニュー項目やGUI部品すべての有効・無効を切り替
えたいときは、GUI開発者は、“_validateRelation
alGroup(BUTTONO)”を呼び出すプログラムを記述する。
For switching between the validity and invalidity of menu items and GUI parts, it is common to change the value of each specific property or call a function for each. In this embodiment, a certain GUI component “BUTTONO”
If you want to enable / disable all menu items and GUI components that are directly and indirectly associated with it, the GUI developer must use “_validateRelation
alGroup (BUTTONO) ”is written.

【0053】GUIプログラムコード生成部13は、
“_validateRelationalGroup()”内で、_getRelation
alGroup(BUTTONO) を呼出し、識別名のリストを得るよ
うにプログラムコードを生成するようにしておく、この
ために関連付けリポジトリのデータを基に、関数“_ge
tRelationalGroup()”内に関連付けられているメニュー
項目やGUI部品の識別名のテーブルを作成するプログ
ラムコードも生成するように構成する。そして、関数
“_validateRelationalGroup()”内では、得られた識
別名のリストの各要素に対して、有効・無効の切り替え
を行うように構成する。
The GUI program code generation unit 13
Within “_validateRelationalGroup ()”, _getRelation
Calls alGroup (BUTTONO) and generates program code to get a list of distinguished names. For this purpose, the function “_ge
The program code is also configured to generate a program code for creating a table of menu items and GUI component identification names associated with the “tRelationalGroup ()”. In the function “_validateRelationalGroup ()”, It is configured to switch between valid and invalid for each element of the list.

【0054】図9は実施例2におけるGUIの有効・無
効切り替えプログラム生成処理(1)の手順を示すフロ
ーチャートである。図9において、 ステップS91:GUIの有効・無効切り替えプログラ
ム生成処理開始。 ステップS92:関連付けられているメニュー項目やG
UI部品の有効・無効を切り替える関数“_validateRe
lationalGroup()"のプログラムコードを書き出す。 ステップS93:GUIデータリポジトリ部14から、
全ての識別名を取得する。 ステップS94:関連付けリポジトリ部15から全ての
関連付け情報を取得する。 ステップS95:ある識別名を与えられたら、関連付け
られている全てのメニュー項目あるいはGUI部品の識
別名のリストに返す関数“_getRelationalGroup()"の
プログラムコードを記述する。 ステップS96:GUIの有効・無効切り替えプログラ
ム生成処理終了。
FIG. 9 is a flowchart showing the procedure of a GUI valid / invalid switching program generation process (1) in the second embodiment. In FIG. 9, step S91: start of GUI valid / invalid switching program generation processing. Step S92: Associated menu item or G
Function “_validateRe” for switching between validity and invalidity of UI parts
Write the program code of "lationalGroup ()". Step S93: From the GUI data repository unit 14,
Get all distinguished names. Step S94: All association information is acquired from the association repository unit 15. Step S95: Given a certain identification name, describe the program code of the function "_getRelationalGroup ()" to be returned to the list of all the menu items or the GUI component identification names. Step S96: End the GUI valid / invalid switching program generation processing.

【0055】図10は実施例2におけるGUIの有効・
無効切り替えプログラム生成処理(2)の手順を示すフ
ローチャートである。図10において、 ステップS101:“_validateRelationalGroup()"の
プログラムコードの生成処理開始。 ステップS102:引数に与えられた識別名を引数に
“_getRelationalGroup()"を呼び出し、関連付けられ
ている識別名のリストを取得する。 ステップS103:取得したリスト中の全ての識別名を
処理したか判定する。 ステップS104:ステップS103で、全ての識別名
を処理していなければ、リストから取り出した識別名の
メニュー項目あるいはGUI部品の有効・無効を切り替
える。 ステップS105:ステップS103で、全ての識別名
を処理しておれば、“_validateRelationalGroup()"の
プログラムコードの生成処理終了。
FIG. 10 shows the validity of the GUI in the second embodiment.
It is a flowchart which shows the procedure of invalid switch program generation processing (2). 10. In FIG. 10, step S101: a process of generating a program code of "_validateRelationalGroup ()" starts. Step S102: “_getRelationalGroup ()” is called using the identification name given as the argument as an argument, and a list of associated identification names is acquired. Step S103: It is determined whether all the identifiers in the acquired list have been processed. Step S104: In step S103, if all the identifiers have not been processed, the menu item of the identifier extracted from the list or the validity / invalidity of the GUI component is switched. Step S105: If all the identifiers have been processed in step S103, the process of generating the program code “_validateRelationalGroup ()” ends.

【0056】前記実施例2の構成によれば、関連付けら
れているメニュー項目とGUI部品間での有効あるいは
無効の切り替えが自動的に行われるので、プログラムの
変更、追加が簡便になる。
According to the configuration of the second embodiment, the switching between valid and invalid between the associated menu item and the GUI component is automatically performed, so that the program can be easily changed or added.

【0057】図11は実施例3におけるGUIのショー
トカットキー自動設定処理の手順を示すフローチャート
である。図11において、 ステップS111:GUIのショートカットキー自動設
定処理開始。 ステップS112:GUI作成部11により、ショート
カットキーを設定されたメニュー項目あるいはGUI部
品の識別名と、そのショートカットキーの値を取得す
る。関連付けられているメニュー項目やGUI部品の有
効・無効を切り替える関数“_validateRelationalGrou
p()"のプログラムコードを記述する。
FIG. 11 is a flowchart showing the procedure of a GUI shortcut key automatic setting process according to the third embodiment. In FIG. 11, step S111: automatic shortcut key setting processing of GUI is started. Step S112: The GUI creating unit 11 acquires the menu item or the GUI component identification name to which the shortcut key is set and the value of the shortcut key. Function “_validateRelationalGrou” for switching the validity / invalidity of the associated menu item or GUI component
Write the program code of "p ()".

【0058】ステップS113:関連付けリポジトリ部
15から、先に得られた識別名と関連付けられている識
別名のリストを取得する。GUIデータリポジトリ部1
4から、全ての識別名を取得する。 ステップS114:リスト中の全ての識別名ついて処理
が終了したか判定する。 ステップS115:ステップS114で、全ての識別名
について処理が終了していなければ、リストから取り出
した識別名のメニュー項目あるいはGUI部品に、同じ
ショートカットキーを設定して、GUIデータリポジト
リ部14に保存する。 ステップS116:ステップS114で、全ての識別名
について処理が終了しておれば、GUIのショートカッ
トキー自動設定処理終了。
Step S113: A list of identifiers associated with the identifiers obtained earlier is acquired from the association repository unit 15. GUI data repository part 1
From step 4, all identifiers are acquired. Step S114: It is determined whether the process has been completed for all the identification names in the list. Step S115: If the processing has not been completed for all the identifiers in step S114, the same shortcut key is set to the menu item or the GUI part of the identifiers extracted from the list and stored in the GUI data repository unit 14. . Step S116: If the processing has been completed for all the identification names in step S114, the GUI shortcut key automatic setting processing ends.

【0059】前記実施例3の構成によれば、関連付けら
れたメニュー項目とGUI部品でショートカットキーの
設定が共有できる。
According to the configuration of the third embodiment, the setting of the shortcut key can be shared between the associated menu item and the GUI component.

【0060】図12は実施例4におけるGUIのイベン
トハンドラ関数自動設定処理の手順を示すフローチャー
トである。図12において、 ステップS121:GUIのイベントハンドラ関数自動
設定処理開始。 ステップS122:イベントハンドラ編集部12で、イ
ベントハンドラ関数を設定されたメニュー項目あるいは
GUI部品の識別名とイベント名、及びそのイベントハ
ンドラ関数の識別名(=イベントハンドラ識別名)を取
得する。 ステップS123:関連付けリポジトリ部15から、先
に得られた識別名と関連付けられている識別名のリスト
を得る。
FIG. 12 is a flowchart showing the procedure of the GUI event handler function automatic setting process in the fourth embodiment. In FIG. 12, step S121: start of an event handler function automatic setting process of the GUI. Step S122: The event handler editing unit 12 acquires the identification name and the event name of the menu item or the GUI component in which the event handler function is set, and the identification name of the event handler function (= event handler identification name). Step S123: A list of identifiers associated with the identifiers obtained earlier is obtained from the association repository unit 15.

【0061】ステップS124:リスト中の全ての識別
名ついて処理が終了したか判定する。 ステップS125:ステップS124で、全ての識別名
について処理が終了していなければ、リストから取り出
した識別名のメニュー項目あるいはGUI部品に該当す
るイベントに、同じイベントハンドラ識別名を設定し
て、GUIデータリポジトリ部14に保存する。 ステップS126:ステップS114で、全ての識別名
について処理が終了しておれば、GUIのイベントハン
ドラ関数自動設定処理終了。
Step S124: It is determined whether the process has been completed for all the identification names in the list. Step S125: If the processing has not been completed for all the identifiers in step S124, the same event handler identifier is set in the menu item of the identifiers extracted from the list or the event corresponding to the GUI component, and the GUI data is set. It is stored in the repository unit 14. Step S126: If the processing has been completed for all the identification names in step S114, the GUI event handler function automatic setting processing ends.

【0062】前記実施例4の構成によれば、関連付けら
れているメニュー項目やGUI部品間でイベントハンド
ラの共有が実現できる。
According to the configuration of the fourth embodiment, the event handler can be shared between the associated menu items and GUI parts.

【0063】関連付けられているメニュー項目やGUI
部品間で、イベントハンドラ関数のほとんど部分を共有
できるときでも、個々のGUI部品独自の処理(例え
ば、特定のプロパティの設定など)が少しであると共有
できない。そこで、イベントハンドラ関数内で関連付け
られているメニュー項目やGUI部品を個々に識別し、
固有の処理を記述できるようにしておく。GUIプログ
ラムコード生成部3が作成する関数“_getRelationalG
roup()”によって、GUI開発者は、この識別名を用い
て分岐処理を記述することで、個々のメニュー項目やG
UI部品ごとの処理を記述することができる。
Menu items and GUIs associated with
Even when most parts of the event handler function can be shared between parts, they cannot be shared if there is little processing unique to each GUI part (for example, setting of a specific property). Therefore, menu items and GUI parts associated in the event handler function are individually identified,
Be prepared to describe unique processing. Function “_getRelationalG” created by the GUI program code generation unit 3
roup () "allows the GUI developer to describe the branching process using this identification name, so that each menu item or G
The processing for each UI component can be described.

【0064】イベントハンドラ編集部12で、直接・間
接に関連しているメニュー項目やGUI部品間でイベン
トハンドラ関数の共有が行える。また、共有しているイ
ベントハンドラ関数内で個々のGUI部品ごとの処理も
記述できるので、共有できるイベントハンドラ関数は増
える。さらに、個々の直接・間接に関連しているメニュ
ー項目やGUI部品の有効・無効を一度に切り替えられ
る手段も提供される。これらのことは、従来に比べ、G
UIを実現するプログラムの量を減らすことができる。
プログラムの量が減れば、その分バグは減るので、プロ
グラムの信頼性が向上する。
The event handler editing unit 12 can share an event handler function between directly and indirectly related menu items and GUI parts. In addition, since the processing for each GUI component can be described in the shared event handler function, the number of event handler functions that can be shared increases. Further, there is provided a means for simultaneously switching the valid / invalid of the menu items and GUI parts which are directly and indirectly related to each other. These things, compared to the conventional, G
It is possible to reduce the number of programs for realizing the UI.
As the amount of program decreases, the number of bugs decreases accordingly, and the reliability of the program improves.

【0065】[0065]

【発明の効果】本発明によれば、メニュー項目やGUI
部品間での関連付けがグラフィカルに表示されるので、
GUI開発者にとって把握しやすい。また、関連付けの
変更、追加もグラフィカルに行えるので容易である。さ
らに、プログラムの品質、保守性が向上する。
According to the present invention, a menu item or GUI
Since the association between parts is displayed graphically,
It is easy for GUI developers to understand. Further, it is easy to change and add the association graphically. Further, the quality and maintainability of the program are improved.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明のグラフィカル・ユーザインタフェース
作成装置の基本構成を示すブロック図である。
FIG. 1 is a block diagram showing a basic configuration of a graphical user interface creation device of the present invention.

【図2】本実施例におけるGUI作成処理前の画面例を
示す説明図である。
FIG. 2 is an explanatory diagram illustrating an example of a screen before a GUI creation process according to the embodiment.

【図3】本実施例におけるGUI作成処理後の画面例を
示す説明図である。
FIG. 3 is an explanatory diagram illustrating an example of a screen after GUI creation processing according to the embodiment.

【図4】本実施例におけるGUIのイベントハンドラ編
集処理(1)の画面例を示す説明図である。
FIG. 4 is an explanatory diagram showing an example of a screen of a GUI event handler editing process (1) in the embodiment.

【図5】本実施例におけるGUIのイベントハンドラ編
集処理(2)の画面例を示す説明図である。
FIG. 5 is an explanatory diagram illustrating an example of a screen of a GUI event handler editing process (2) in the embodiment.

【図6】実施例1におけるGUI関連付け作成処理の手
順を示すフローチャートである。
FIG. 6 is a flowchart illustrating a procedure of a GUI association creation process according to the first embodiment.

【図7】実施例1におけるGUI関連付け表示処理の手
順を示すフローチャートである。
FIG. 7 is a flowchart illustrating a procedure of a GUI association display process according to the first embodiment.

【図8】実施例1におけるGUI関連付け削除処理の手
順を示すフローチャートである。
FIG. 8 is a flowchart illustrating a procedure of a GUI association deletion process according to the first embodiment.

【図9】実施例2におけるGUIの有効・無効切り替え
プログラム生成処理(1)の手順を示すフローチャート
である。
FIG. 9 is a flowchart illustrating a procedure of a GUI valid / invalid switching program generation process (1) according to the second embodiment.

【図10】実施例2におけるGUIの有効・無効切り替
えプログラム生成処理(2)の手順を示すフローチャー
トである。
FIG. 10 is a flowchart illustrating a procedure of a GUI valid / invalid switching program generation process (2) according to the second embodiment.

【図11】実施例3におけるGUIのショートカットキ
ー自動設定処理の手順を示すフローチャートである。
FIG. 11 is a flowchart illustrating a procedure of a GUI shortcut key automatic setting process according to the third embodiment.

【図12】実施例4におけるGUIのイベントハンドラ
関数自動設定処理の手順を示すフローチャートである。
FIG. 12 is a flowchart illustrating a procedure of a GUI event handler function automatic setting process according to the fourth embodiment.

【符号の説明】[Explanation of symbols]

1 表示部 2 入力部 3 マイクロコンピュータ 4 2次記憶装置(記憶媒体) 11 GUI作成部 12 イベントハンドラ編集部 13 GUIプログラムコード生成部 14 GUIデータリポジトリ部 15 関連付けリポジトリ部 16 イベントハンドラリポジトリ部 17 GUIプログラムコードリポジトリ部 DESCRIPTION OF SYMBOLS 1 Display part 2 Input part 3 Microcomputer 4 Secondary storage device (storage medium) 11 GUI creation part 12 Event handler editing part 13 GUI program code generation part 14 GUI data repository part 15 Association repository part 16 Event handler repository part 17 GUI program Code repository section

フロントページの続き (51)Int.Cl.6 識別記号 FI G09G 5/14 G09G 5/14 Z Continued on the front page (51) Int.Cl. 6 Identification code FI G09G 5/14 G09G 5/14 Z

Claims (7)

【特許請求の範囲】[Claims] 【請求項1】 各種情報処理を指示する複数のメニュー
項目からなるメニューテーブルと、グラフィカル・ユー
ザインタフェース部品からなる部品テーブルと、前記各
テーブルを画面に表示する表示部と、前記各テーブルか
ら一つのメニュー項目とそれと対応させるグラフィカル
・ユーザインタフェース部品をそれぞれ選択する選択部
と、前記選択部により選択されたメニュー項目とグラフ
ィカル・ユーザインタフェース部品とを個々に有する識
別コードに基づいて関連付ける関連付け部と、前記メニ
ュー項目に関連付けたグラフィカル・ユーザインタフェ
ース部品を前記表示部の画面に表示しグラフィカル・ユ
ーザインタフェースとして実行させるプログラムを生成
するプログラム生成部とを備えたことを特徴とするグラ
フィカル・ユーザインタフェース作成装置。
1. A menu table including a plurality of menu items for instructing various types of information processing, a component table including a graphical user interface component, a display unit for displaying each of the tables on a screen, and one of the tables. A selection unit for selecting a menu item and a graphical user interface component to be associated with the menu item, an associating unit for associating the menu item selected by the selection unit with the graphical user interface component based on an identification code individually provided; A graphical user interface component for displaying a graphical user interface component associated with the menu item on a screen of the display unit and generating a program to be executed as a graphical user interface. Interface creation device.
【請求項2】 前記プログラム生成部は、前記関連付け
部により関連付けられたメニュー項目とグラフィカル・
ユーザインタフェース部品間で実行するグラフィカル・
ユーザインタフェースの有効あるいは無効を切り替える
プログラムを生成する機能をさらに備えたことを特徴と
する請求項1記載のグラフィカル・ユーザインタフェー
ス作成装置。
2. The method according to claim 1, wherein the program generation unit includes a menu item associated with the menu item associated with the
Graphical execution between user interface components
2. The graphical user interface creation device according to claim 1, further comprising a function of generating a program for switching between valid and invalid user interfaces.
【請求項3】 前記関連付け部により関連付けられたメ
ニュー項目またはグラフィカル・ユーザインタフェース
部品のいずれか一方にショートカットキーを設定すると
他方にも自動的に同じショートカットキーが設定される
ショートカットキー設定部をさらに備えたことを特徴と
する請求項1記載のグラフィカル・ユーザインタフェー
ス作成装置。
3. A shortcut key setting unit wherein a shortcut key is set to one of a menu item and a graphical user interface component associated by the association unit, and the same shortcut key is automatically set to the other. 2. The graphical user interface creation device according to claim 1, wherein:
【請求項4】 前記関連付け部により関連付けられたメ
ニュー項目またはグラフィカル・ユーザインタフェース
部品のいずれか一方にイベントハンドラ関数を定義する
と他方にも自動的に同じイベントハンドラ関数が定義さ
れるイベントハンドラ関数定義部をさらに備えたことを
特徴とする請求項1記載のグラフィカル・ユーザインタ
フェース作成装置。
4. An event handler function definition section in which, when an event handler function is defined in one of a menu item and a graphical user interface component associated by the association section, the same event handler function is automatically defined in the other. The graphical user interface creation device according to claim 1, further comprising:
【請求項5】 前記関連付け部により一つのメニュー項
目に複数のグラフィカル・ユーザインタフェース部品が
関連付けられ、イベントハンドラ関数定義部によりグラ
フィカル・ユーザインタフェース部品にイベントハンド
ラ関数が定義される際、前記プログラム生成部は、前記
メニュー項目に関連付けた複数のグラフィカル・ユーザ
インタフェース部品のそれぞれにイベントハンドラ関数
を含むプログラムを生成することを特徴とする請求項1
記載のグラフィカル・ユーザインタフェース作成装置。
5. A program generating unit, wherein a plurality of graphical user interface components are associated with one menu item by the associating unit, and an event handler function is defined in the graphical user interface component by an event handler function defining unit. Generating a program including an event handler function for each of a plurality of graphical user interface components associated with the menu item.
Graphical user interface creation device as described.
【請求項6】 各種情報処理を指示する複数のメニュー
項目をメニューテーブルに記憶し、グラフィカル・ユー
ザインタフェース部品を部品テーブルに記憶し、前記各
テーブルを表示部の画面に表示し、前記各テーブルから
一つのメニュー項目とそれと対応させるグラフィカル・
ユーザインタフェース部品を選択部によりそれぞれ選択
し、前記選択部により選択されたメニュー項目とグラフ
ィカル・ユーザインタフェース部品とを個々に有する識
別コードに基づいて関連付けし、前記メニュー項目に関
連付けたグラフィカル・ユーザインタフェース部品を前
記表示部の画面に表示しグラフィカル・ユーザインタフ
ェースとして実行させるプログラムを生成するグラフィ
カル・ユーザインタフェース作成方法。
6. A plurality of menu items for instructing various types of information processing are stored in a menu table, a graphical user interface component is stored in a component table, and each table is displayed on a screen of a display unit. One menu item and its corresponding graphical
A user interface component is selected by a selection unit, and the menu item selected by the selection unit and the graphical user interface component are associated with each other based on an identification code individually provided, and the graphical user interface component associated with the menu item A graphical user interface creating method for generating a program for displaying a program on a screen of the display unit and executing the program as a graphical user interface.
【請求項7】 各種情報処理を指示する複数のメニュー
項目からなるメニューテーブルと、グラフィカル・ユー
ザインタフェース部品からなる部品テーブルと、前記各
テーブルを画面に表示する表示部と、前記各テーブルか
ら一つのメニュー項目とそれと対応させるグラフィカル
・ユーザインタフェース部品をそれぞれ選択する選択部
とを備えたグラフィカル・ユーザインタフェース装置を
コンピュータによって制御するプログラムを記憶した媒
体であって、前記コンピュータに、前記選択部により選
択されたメニュー項目とグラフィカル・ユーザインタフ
ェース部品とを個々に有する識別コードに基づいて関連
付けさせ、前記メニュー項目に関連付けたグラフィカル
・ユーザインタフェース部品を前記表示部の画面に表示
しグラフィカル・ユーザインタフェースとして実行させ
るプログラムを生成させるグラフィカル・ユーザインタ
フェース作成装置制御プログラムを記憶した媒体。
7. A menu table including a plurality of menu items for instructing various types of information processing, a component table including graphical user interface components, a display unit for displaying each table on a screen, and one of the tables. A medium storing a program for controlling a graphical user interface device having a menu item and a selection unit for selecting a graphical user interface component to be associated with the menu item by a computer, wherein the program is selected by the computer. The menu item and the graphical user interface component are associated with each other based on the identification code individually provided, and the graphical user interface component associated with the menu item is displayed on the screen of the display unit to display the graphical user interface component. A medium storing a graphical user interface creation device control program for generating a program to be executed as a user interface.
JP3868498A 1998-02-20 1998-02-20 Device and method for producing graphical user interface and medium storing control program Pending JPH11237978A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3868498A JPH11237978A (en) 1998-02-20 1998-02-20 Device and method for producing graphical user interface and medium storing control program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3868498A JPH11237978A (en) 1998-02-20 1998-02-20 Device and method for producing graphical user interface and medium storing control program

Publications (1)

Publication Number Publication Date
JPH11237978A true JPH11237978A (en) 1999-08-31

Family

ID=12532128

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3868498A Pending JPH11237978A (en) 1998-02-20 1998-02-20 Device and method for producing graphical user interface and medium storing control program

Country Status (1)

Country Link
JP (1) JPH11237978A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2004070598A1 (en) * 2003-02-06 2004-08-19 Fujitsu Limited Information terminal, method, and program having hierarchical menu items
JP2020017277A (en) * 2018-07-26 2020-01-30 株式会社 ビーアイマトリックスBi Matrix Co.,Ltd Web reporting design system for programming event operation, based on graphic interface
WO2020066156A1 (en) * 2018-09-26 2020-04-02 シュナイダーエレクトリックホールディングス株式会社 Operation input control device

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2004070598A1 (en) * 2003-02-06 2004-08-19 Fujitsu Limited Information terminal, method, and program having hierarchical menu items
JPWO2004070598A1 (en) * 2003-02-06 2006-05-25 富士通株式会社 Information terminal having hierarchical menu items, method and program
JP2020017277A (en) * 2018-07-26 2020-01-30 株式会社 ビーアイマトリックスBi Matrix Co.,Ltd Web reporting design system for programming event operation, based on graphic interface
WO2020066156A1 (en) * 2018-09-26 2020-04-02 シュナイダーエレクトリックホールディングス株式会社 Operation input control device
JP2020052680A (en) * 2018-09-26 2020-04-02 シュナイダーエレクトリックホールディングス株式会社 Operation input control device
US11256417B2 (en) 2018-09-26 2022-02-22 Schneider Electric Japan Holdings Ltd. Operation input control device

Similar Documents

Publication Publication Date Title
US6219047B1 (en) Training agent
JP2732557B2 (en) Method and data processing system for changing function of GUI
US8214822B2 (en) Editor for program files
US20130219305A1 (en) User interface substitution
US20070245339A1 (en) Creating documentation screenshots on demand
JPH09190267A (en) System and method for dynamically reconstituting keyboard allocation based on external event
KR20060111240A (en) Searchable task-based interface to control panel functionality
JPH07168710A (en) System and method for constitution of program
JPH0749765A (en) Method for integrating plurality of application program into integrated graphical user environment
JP2008299870A (en) Method and apparatus for providing passive look ahead for user interface
US20080015911A1 (en) Methods and apparatuses for developing business solutions
US20170161053A1 (en) Management system for creating service
US7600199B2 (en) Task-based interface with underlying extensible framework
US7739620B1 (en) Method of setting alternate style assignments to menu elements of an application
US7337406B2 (en) Creation supporting apparatus and creation supporting method of graphical user interface program, and recording medium recorded with creation supporting program
JPH10154070A (en) User interface design device and method
JP2000099317A (en) User interface design device and method therefor
EP1025489B1 (en) System to associate control with applications using drag and drop interface
JPH0916364A (en) Context -sensitive menu system / menu operation
JPH11237978A (en) Device and method for producing graphical user interface and medium storing control program
bin Uzayr et al. Introduction to Visual Studio Code
JPH07219753A (en) Conversational program development support system
JP7338096B2 (en) Data processing device and data processing method
JP2006031301A (en) Operation monitoring apparatus
Shalfield et al. WIN-PROLOG 8.1