JP3385991B2 - Method and system for updating hierarchical GUI component structure - Google Patents

Method and system for updating hierarchical GUI component structure

Info

Publication number
JP3385991B2
JP3385991B2 JP01763899A JP1763899A JP3385991B2 JP 3385991 B2 JP3385991 B2 JP 3385991B2 JP 01763899 A JP01763899 A JP 01763899A JP 1763899 A JP1763899 A JP 1763899A JP 3385991 B2 JP3385991 B2 JP 3385991B2
Authority
JP
Japan
Prior art keywords
mediator
gui
parent
gui component
message
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.)
Expired - Fee Related
Application number
JP01763899A
Other languages
Japanese (ja)
Other versions
JP2000215040A (en
Inventor
正也 伊藤
建樹 佐野
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP01763899A priority Critical patent/JP3385991B2/en
Publication of JP2000215040A publication Critical patent/JP2000215040A/en
Application granted granted Critical
Publication of JP3385991B2 publication Critical patent/JP3385991B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

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

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、階層化GUI(G
RAPHICAL USER INTERFACE)部品
構造の更新方法ならびにそのシステムに関する。
TECHNICAL FIELD The present invention relates to a layered GUI (G
RAPHICAL USER INTERFACE) Method of updating part structure and its system.

【0002】[0002]

【従来の技術】パーソナルコンピュータ、ワークステー
ションの分野で実質標準的に用いられるオペレーティン
グシステム(OS)では、GUIと称されるインタフェ
ースを介してマシンと利用者間のコミュニケーションが
はかられる。具体的には、コンピュータ本体により生成
される複数の論理画面をディスプレイモニタ上に表示
し、この論理画面上に配置、描画される各部品(GUI
部品)に対してマウス等ポインティングデバイスを介し
て操作することでコミュニケーションがなされ、結果的
に所望の情報処理がなされる。
2. Description of the Related Art In an operating system (OS) used as a standard in the field of personal computers and workstations, communication between a machine and a user is established via an interface called GUI. Specifically, a plurality of logical screens generated by the computer main body are displayed on a display monitor, and each component (GUI) arranged and drawn on the logical screen is displayed.
Communication is performed by operating a component) via a pointing device such as a mouse, and as a result, desired information processing is performed.

【0003】ところで、上述したGUI部品は、情報処
理の内容が高度化されるにつれ、その構造も複雑化し、
階層化され管理される。このGUI部品構造に合わせて
作られる操作とりまとめ部品(メディエータ)は上位の
メディエータによって管理され、下位メディエータの変
更は、そのメディエータを管理している上位のメディエ
ータの変更をも要する。
By the way, the above-mentioned GUI parts are complicated in structure as information processing contents are advanced,
Layered and managed. The operation management component (mediator) created according to this GUI component structure is managed by the upper mediator, and the modification of the lower mediator also requires modification of the upper mediator managing the mediator.

【0004】[0004]

【発明が解決しようとする課題】上述したように、従
来、子メディエータは親メディエータによって管理さ
れ、更に孫メディエータは子メディエータによって管理
されるため、孫メディエータを変更する場合には、その
孫メディエータを管理している子メディエータや親メデ
ィエータに対してもその変更が伝播され、再帰的に変更
を必要とさせる問題があった。従って、GUI部品の変
更に伴い、関係メディエータの全てを更新する必要があ
ったため手間を要し、また、更新漏れや更新の手違い等
が発生し、プログラムの生産性を低下させていた。更
に、各メディエータの連携が強いため、保守性も低下さ
せていたものである。また、親メディエータが子メディ
エータのインスタンス生成も管理している場合、子メデ
ィエータのクラスを継承等により変更したり、子メディ
エータを増やしたりした場合、変更後の階層構造を生成
するためには、変更前の階層構造全てを知る必要があっ
た。 これでは差分記述による生産性の向上や品質向
上が見込めず、情報隠蔽や変更容易性の上でも問題があ
った。
As described above, conventionally, the child mediator is managed by the parent mediator, and the grandchild mediator is managed by the child mediator. Therefore, when changing the grandchild mediator, the grandchild mediator is changed. There was a problem that the change was propagated to the managed child mediator and parent mediator, and the change was required recursively. Therefore, it is necessary to update all the related mediators with the change of the GUI parts, and it takes time and labor, and the omission of updating, a mistake of updating, and the like reduce the productivity of the program. Furthermore, since the mediators are strongly linked to each other, maintainability is also reduced. In addition, if the parent mediator also manages the instantiation of the child mediator, if you change the class of the child mediator due to inheritance, etc., or if you increase the number of child mediators, you need to change to generate the changed hierarchical structure. It was necessary to know all the previous hierarchical structure. This could not be expected to improve productivity and quality by difference description, and there was a problem in hiding information and easiness of change.

【0005】本発明は上記事情に基づきなされたもので
あり、画面内にGUI部品を配置して構成した場合、画
面変更による影響を局所化するためにGUI部品の階層
構造に合わせて作られるメディエータを動的に階層構造
として自動生成することにより、各メディエータの独立
性を確保し、かつ、プログラム開発の生産性を向上させ
ることのできる、階層化GUI部品構造の更新方法なら
びにそのシステムを提供することを目的とする。また、
特に、GUI部品の階層構造を継承により変更した場
合、そのGUI部品の階層構造に対応したメディエータ
階層構造も、継承を利用して動的に変更でき、全体の再
生成を不要とする階層化GUI部品構造の更新方法なら
びにそのシステムを提供することも目的とする。
The present invention has been made based on the above circumstances. When GUI parts are arranged in the screen, the mediator is created in accordance with the hierarchical structure of the GUI parts in order to localize the effect of the screen change. PROBLEM TO BE SOLVED: To provide a method and system for updating a hierarchical GUI component structure capable of ensuring independence of each mediator and improving productivity of program development by automatically generating dynamically as a hierarchical structure. The purpose is to Also,
In particular, when the hierarchical structure of a GUI component is changed by inheritance, the mediator hierarchical structure corresponding to the hierarchical structure of the GUI component can also be dynamically changed by using inheritance, and there is no need to regenerate the entire layered GUI. It is also an object to provide a method of updating a part structure and its system.

【0006】[0006]

【課題を解決するための手段】本発明の階層化GUI部
品構造の更新方法は、階層化されたGUI部品のそれぞ
れに対応して操作とりまとめ部品(メデイエータ)が定
義され、GUI部品装置を構成する入力手段を介して取
込まれ生成されるメッセージ、もしくは親子関係のある
メディエータから転送されるメッセージを受信し、その
内容に従い対応するGUI部品の更新を行うか、もしく
は親子関係のあるメディエータ間でそのメッセージの転
送を行うことを特徴とする。本発明の階層化GUI部品
構造の更新システムは、階層化されたGUI部品のそれ
ぞれに対応して操作とりまとめ部品(メデイエータ)が
定義され、継承を利用してGUI部品の更新を行うもの
であって、階層化GUI部品構造の更新システムは、入
出力手段を介しメディエータ装置との間で情報交換を行
うGUI部品装置と、GUI部品装置のそれぞれに対応
して設けられ、GUI部品装置を介して取込まれ生成さ
れるメッセージ、もしくは親子関係のあるメディエータ
から転送されるメッセージを受信し、その内容に従い対
応するGUI部品の更新を行うか、もしくは親子関係の
あるメディエータ間でそのメッセージの転送を行うメデ
ィエータ装置とを具備することを特徴とする。本発明の
階層化GUI部品構造の更新方法ならびにそのシステム
においては、1個のGUI部品装置に対し1個のメディ
エータ装置が付加される。従って、GUI部品装置の階
層構造に対応して、メディエータ装置にも階層構造が定
義される。即ち、あるメディエータ装置に対し、その親
メディエータと子メディエータが存在する可能性があ
る。メディエータ装置は、GUI部品装置の各入力手段
からの入力を受け付け、それに基づき対応するメッセー
ジを作成するメッセージ作成手段を持つ。 作成された
メッセージは、ただちにメッセージ受信手段に送付さ
れ、メッセージ受信手段では、メッセージ作成手段によ
り作成されたメッセージの他、親メディエータまたは子
メディエータからのメッセージを受け取ることもある。
直接親子関係のないメディエータからのメッセージは受
け取らない。また、対応するGUI部品装置以外のGU
I部品装置からメッセージ作成手段にメッセージを作成
する要求が来ることもない。メッセージ受信手段により
受信されたメッセージは、その種別に応じ4通りの働き
をする。すなわち、メッセージを子メディエータに転送
するか、対応するGUI部品装置を制御するか、または
GUI部品装置以外の資源を制御するか、もしくはメッ
セージを親メディエータに転送するかである。特に、自
分自身で種別を判定できないメッセージは、すべて親メ
ディエータに転送する。このような構造の「GUI画
面」において、GUI部品装置の「追加」、「変更」、
「削除」が生じた場合は、対応するメディエータ装置の
親メディエータ装置に、その差分情報のみを記述するだ
けで良く、このことにより影響を局所化できる。また、
この画面を継承して作成した、「継承GUI画面」の当
該GUI部品装置に、動的に同様の変更を反映させるこ
とが可能になる。
According to the method of updating a layered GUI component structure of the present invention, operation control components (mediators) are defined corresponding to the respective layered GUI components, and a GUI component device is configured. A message received and generated via the input means, or a message transferred from a mediator having a parent-child relationship is received, and the corresponding GUI component is updated according to the content, or the mediator having a parent-child relationship receives the message. The feature is that the message is transferred. The hierarchical GUI component structure updating system according to the present invention defines operation control components (mediators) corresponding to respective hierarchical GUI components, and updates the GUI components using inheritance. The hierarchical GUI component structure updating system is provided in correspondence with each of the GUI component device for exchanging information with the mediator device through the input / output means and the GUI component device, and the update is performed via the GUI component device. A mediator that receives an embedded message or a message transferred from a mediator with a parent-child relationship and updates the corresponding GUI component according to the content, or transfers the message between mediators with a parent-child relationship And a device. In the method and system for updating the hierarchical GUI component structure according to the present invention, one mediator device is added to one GUI component device. Therefore, a hierarchical structure is defined in the mediator device corresponding to the hierarchical structure of the GUI component device. That is, a parent mediator and a child mediator may exist for a certain mediator device. The mediator device has a message creating unit that receives an input from each input unit of the GUI component device and creates a corresponding message based on the input. The created message is immediately sent to the message receiving unit, and the message receiving unit may receive the message from the parent mediator or the child mediator in addition to the message created by the message creating unit.
It does not receive messages from mediators who do not have a direct parent-child relationship. In addition, a GUI other than the corresponding GUI component device
There is no request from the I-part device to create a message in the message creating means. The message received by the message receiving means operates in four ways according to its type. That is, the message is transferred to the child mediator, the corresponding GUI component device is controlled, the resource other than the GUI component device is controlled, or the message is transmitted to the parent mediator. In particular, all messages whose type cannot be determined by themselves are forwarded to the parent mediator. In the “GUI screen” having such a structure, “add”, “change” of GUI component device,
When "deletion" occurs, it is sufficient to describe only the difference information in the parent mediator device of the corresponding mediator device, which makes it possible to localize the effect. Also,
It is possible to dynamically reflect the same change in the GUI component device of the "inherited GUI screen" created by inheriting this screen.

【0007】[0007]

【発明の実施の形態】図1は、本発明の階層化GUI部
品構造の自動変更自動変更システムの実施形態を表示画
面上に模式化して示した図である。図1において、符号
1は、画面表示と入力を行うGUI部品装置であり、表
示手段11、マウス入力手段12、キー入力手段13か
ら成る。表示手段11は、ディスプレイ上の一部領域の
表示、再表示を行ない、マウス入力手段12は、ディス
プレイ上の一部領域で発生したマウスによる入力を受け
付け、キー入力手段13は、このGUI部品装置1がキ
ー入力を占有している場合にキー入力を受け付ける。G
UI部品装置1として具体的には、ボタン、文字入力フ
ィールド、スクロールバー、クリッカブルアイコン、選
択リスト等が考えられる。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS FIG. 1 is a diagram schematically showing an embodiment of an automatic change system for automatically changing a layered GUI component structure according to the present invention on a display screen. In FIG. 1, reference numeral 1 is a GUI component device that performs screen display and input, and includes a display unit 11, a mouse input unit 12, and a key input unit 13. The display means 11 displays and redisplays a partial area on the display, the mouse input means 12 receives an input by the mouse generated in the partial area on the display, and the key input means 13 determines the GUI component device. When 1 occupies the key input, the key input is accepted. G
Specific examples of the UI component device 1 include a button, a character input field, a scroll bar, a clickable icon, and a selection list.

【0008】符号2はGUI部品装置1のそれぞれに対
応して用意されるメディエータ装置であり、メッセージ
作成手段21、メッセージ受信手段22、メッセージ種
別判定手段23、GUI部品制御手段24、メッセージ
送信手段(子メディエータ)25、メッセージ送信手段
(親メディエータ)26から成る。メディエータ装置2
の階層構造は、GUI部品装置1の階層構造を入力とし
て、図示せぬソースコード生成装置を利用して自動出力
される。また、その際、メディエータ装置2は、後述す
る初期化手段27と子登録手段28を持つ。
Reference numeral 2 is a mediator device prepared for each of the GUI component devices 1, and includes a message creating means 21, a message receiving means 22, a message type determining means 23, a GUI component controlling means 24, and a message transmitting means ( A child mediator 25 and a message transmitting means (parent mediator) 26. Mediator device 2
The hierarchical structure of is input to the hierarchical structure of the GUI component device 1 and is automatically output by using a source code generation device (not shown). At that time, the mediator device 2 has an initialization means 27 and a child registration means 28 which will be described later.

【0009】メッセージ作成手段21は、GUI部品装
置1を構成する各入力手段11,12,13からの入力
を受け付け、それに基づき対応するメッセージを作成
し、メッセージ受信手段22に転送する。対応するGU
I部品装置のみ、メッセージ作成を要求できる。メッセ
ージ受信手段22は、メッセージ作成手段21により作
成されたメッセージ、親メディエータ26、または、子
メディエータ25からメッセージを受け取る。直接の親
子関係がないメディエータからは、メッセージを受け取
れない。
The message creating means 21 accepts inputs from the respective input means 11, 12, and 13 constituting the GUI component device 1, creates a corresponding message based on the input, and transfers the message to the message receiving means 22. Corresponding GU
Only the I-part device can request message creation. The message receiving unit 22 receives the message created by the message creating unit 21, the parent mediator 26, or the child mediator 25. You cannot receive messages from mediators that do not have a direct parent-child relationship.

【0010】メッセージ種別判定手段23は、メッセー
ジを以下に列挙する4つ(a〜d)に判別し、該当す
る、それぞれメッセージ送信手段(子メディエータ)2
5,GUI部品制御手段24,他資源制御手段(図示せ
ず)、メッセージ送信手段(親メディエータ)26にコ
ントロールを渡す。 (a)子メディエータで処理すべきメッセージは、メッ
セージ送信手段(子メディエータ)25に転送する。 (b)対応するGUI部品装置を制御すべきメッセージ
は、GUI部品制御手段24に転送する。 (c)GUI部品装置以外の資源を制御すべきメッセー
ジは、図示せぬ他資源制御手段に転送する。 (d)上記いずれでもないメッセージは、メッセージ送
信手段(親メディエータ)26に転送する。
The message type judging means 23 judges the message into four (a to d) listed below, and the corresponding message transmitting means (child mediator) 2 respectively.
5, control is passed to the GUI component control means 24, the other resource control means (not shown), and the message transmission means (parent mediator) 26. (A) A message to be processed by the child mediator is transferred to the message transmitting means (child mediator) 25. (B) The message for controlling the corresponding GUI component device is transferred to the GUI component control means 24. (C) A message for controlling resources other than the GUI component device is transferred to another resource control means (not shown). (D) Messages that are none of the above are transferred to the message transmitting means (parent mediator) 26.

【0011】GUI部品制御手段24は、メッセージ種
別判定手段23によって判定されたメッセージに従い対
応するGUI部品装置を制御する。
The GUI component control means 24 controls the corresponding GUI component device according to the message determined by the message type determination means 23.

【0012】尚、他資源制御手段は、メッセージ種別判
定手段23によって判別されたメッセージに従いGUI
部品装置1以外の資源を制御する。また、メディエータ
装置2の階層構造生成時に使用される初期化手段27
は、管理対象の子メディエータをすべて生成し子登録手
段28を呼び出し登録する。同じく子登録手段28は、
管理対象の子メディエータを1個登録する。更に、図1
中、画面Aを継承した画面を画面A’(画面Aの対応部
品についても’を付す)として示してある。
The other resource control means uses the GUI according to the message determined by the message type determination means 23.
Resources other than the component device 1 are controlled. Also, the initialization means 27 used when the hierarchical structure of the mediator device 2 is generated.
Generates all managed child mediators and calls the child registration means 28 to register them. Similarly, the child registration means 28
Register one child mediator to be managed. Furthermore, FIG.
In the figure, a screen that inherits the screen A is shown as a screen A ′ (also attached to the corresponding parts of the screen A).

【0013】3、5は、GUI部品装置1の子GUI部
品装置であり、GUI部品装置1と同様の手段を持つ。
4、6は、子GUI部品装置3、5のそれぞれに対応し
て用意され、上述したメディエータ装置2と同様の手段
を持つメディエータ装置である。
Reference numerals 3 and 5 are child GUI component devices of the GUI component device 1 and have the same means as the GUI component device 1.
Reference numerals 4 and 6 are mediator devices that are prepared for the respective child GUI component devices 3 and 5 and have the same means as the mediator device 2 described above.

【0014】本発明実施形態において、ディスプレイ内
の全ての領域は、特定の1つのGUI部品装置により表
示されるようにする。このとき、2以上のGUI部品が
重なる場合は、いずれか一方が他方の上に重なってお
り、上側のGUI部品装置の表示がディスプレイ上に表
示され、同時に入力も受け取ると考える。
In the embodiment of the present invention, all the areas in the display are displayed by one specific GUI component device. At this time, when two or more GUI parts overlap, one of them overlaps the other, and the display of the GUI part device on the upper side is displayed on the display, and at the same time, the input is also received.

【0015】一方が他方を領域上完全に包含している場
合は、包含される側は包含する側の子GUI部品であ
り、包含する側は包含される側の親GUI部品であると
考える。ウィンドウシステムにおいては、1ウィンドウ
内のすべてのGUI部品装置はウィンドウというGUI
部品装置の子GUI部品であると考える。また、すべて
のウィンドウはディスプレイ全体というGUI部品装置
の子GUI部品であると考える。こうすることにより、
矛盾なくGUI部品装置を定義できる。
When one completely covers the other in the area, it is considered that the included side is the child GUI part of the containing side and the containing side is the parent GUI part of the containing side. In the window system, all GUI component devices in one window are GUIs called windows.
Consider it to be a child GUI part of a parts device. Further, it is considered that all windows are child GUI parts of the GUI part device that is the entire display. By doing this,
GUI component devices can be defined without contradiction.

【0016】1つのGUI部品装置1(3,5)に対
し、1つのメディエータ装置2(4,6)を付加する。
また、GUI部品装置1(3,5)の階層構造に対応し
て、メディエータ装置2(4,6)にも階層構造を定義
する。すなわち、あるメディエータ装置2(4,6)に
対し、その親メディエータと子メディエータが存在する
可能性がある。メディエータ装置2(4,6)は、GU
I部品装置1(3,5)の各入力手段11〜13からの
入力を受け付け、それに基づき対応するメッセージを作
成するメッセージ作成手段21を持つ。作成されたメッ
セージは、ただちにメッセージ受信手段22に送付され
る。メッセージ受信手段22では、メッセージ作成手段
11により作成されたメッセージのほか、親メディエー
タ26または子メディエータ25からのメッセージを受
け取る場合もある。直接の親子関係のないメディエータ
からのメッセージは受け取らない。また、対応するGU
I部品装置1以外のGUI部品装置3,5からメッセー
ジ作成手段21にメッセージを作成する要求が来ること
もない。
One mediator device 2 (4, 6) is added to one GUI component device 1 (3, 5).
Further, a hierarchical structure is defined also in the mediator device 2 (4, 6) corresponding to the hierarchical structure of the GUI component device 1 (3, 5). That is, for a certain mediator device 2 (4, 6), its parent mediator and child mediator may exist. The mediator device 2 (4, 6) is a GU
The I component device 1 (3, 5) has a message creating unit 21 that receives an input from each input unit 11 to 13 and creates a corresponding message based on the input. The created message is immediately sent to the message receiving means 22. In addition to the message created by the message creating means 11, the message receiving means 22 may receive a message from the parent mediator 26 or the child mediator 25. It does not receive messages from mediators that have no direct parent-child relationship. Also, the corresponding GU
The GUI component devices 3 and 5 other than the I component device 1 do not request the message creating means 21 to create a message.

【0017】メッセージ受信手段22により受信された
メッセージは、その種別に応じ以下の4通りの働きをす
る。即ち、メッセージを子メディエータ25に転送する
か、対応するGUI部品装置1(3,5)を制御する
か、またはGUI部品装置1(3,5)以外の資源を制
御するか、もしくはメッセージを親メディエータ26に
転送するかである。特に、自分自身で種別を判定できな
いメッセージは、すべて親メディエータ25に転送す
る。
The message received by the message receiving means 22 operates in the following four ways according to its type. That is, the message is transferred to the child mediator 25, the corresponding GUI component device 1 (3, 5) is controlled, or resources other than the GUI component device 1 (3, 5) are controlled, or the message is transmitted to the parent component. It is to transfer to the mediator 26. In particular, all messages whose type cannot be determined by themselves are transferred to the parent mediator 25.

【0018】このような構造で構成された「GUI画
面」において、GUI部品装置の「追加」、「変更」、
「削除」が生じた場合は、対応するメディエータ装置の
親メディエータ装置に、その差分情報のみを記述するだ
けで良く、影響を局所化できる。また、この画面を継承
して作成した、「継承GUI画面」の当該GUI部品装
置に、動的に同様の変更を反映させることが可能にな
る。
In the "GUI screen" having the above structure, "addition", "change" of the GUI component device,
When the “deletion” occurs, it is sufficient to describe only the difference information in the parent mediator device of the corresponding mediator device, and the influence can be localized. Further, it becomes possible to dynamically reflect the same change in the GUI component device of the "inherited GUI screen" created by inheriting this screen.

【0019】図2は本発明実施形態の動作を説明するた
めに引用したフローチャートであり、GUI部品装置の
追加(a)、変更(b)、削除(c)時のそれぞれにお
ける動作手順を示す。
FIG. 2 is a flowchart quoted to explain the operation of the embodiment of the present invention, and shows the operation procedure at the time of addition (a), change (b) and deletion (c) of the GUI component device.

【0020】GUI部品装置5を追加する場合の動作か
ら説明する。画面Aにおいて、GUI部品装置1を親と
して、GUI部品装置1と同様の手段11,12,13
を持つ、子GUI部品装置5が追加された場合を考え
る。まず、追加されたGUI部品装置5に対応するメデ
ィエータ装置6’をサブクラス化する。(ステップA
2)。メディエータ装置6’は、実行時にメディエータ
2’が持つ初期化手段27により自動的に初期化され、
子登録され利用できるようになる。更に、追加を全体に
反映させるために、最上位の親メディエータまで、親メ
ディエータを再帰的にサブクラス化する(ステップA
4)。
The operation when the GUI component device 5 is added will be described. On the screen A, the same means 11, 12, and 13 as the GUI component device 1 with the GUI component device 1 as a parent
Consider the case where the child GUI component device 5 is added. First, the mediator device 6'corresponding to the added GUI component device 5 is subclassed. (Step A
2). The mediator device 6'is automatically initialized by the initialization means 27 of the mediator 2'at the time of execution,
The child is registered and can be used. Furthermore, in order to reflect the addition in the whole, the parent mediator is recursively subclassed up to the top-level parent mediator (step A).
4).

【0021】次に、GUI部品装置を変更する場合の動
作につき説明する。画面Aにおいて、GUI部品装置1
を親として、GUI部品装置3が、GUI部品装置1と
同様の手段11,12,13を持つGUI部品装置7に
変更された場合を考える。まず、変更されたGUI部品
装置3の親GUI部品装置1に対応するメディエータ装
置2’をサブクラス化する(ステップB1)。また、変
更されたGUI部品装置3に対応するメディエータ装置
4’もサブクラス化する(ステップB2)。更に、メデ
ィエータ装置2’の子登録時に、メディエータ装置4の
代わりに、メディエータ装置4’を登録する処理を追加
する。ここでは、以下に示すIF文による処理で代用さ
れる(ステップB3)。 If (追加対象の子メディエータ装置が子メディエータ装置4である) then (子メディエータ装置4’を代わりに登録する) 最後に、追加を全体に反映させるために、最上位の親メ
ディエータまで、親メディエータを再帰的にサブクラス
化する(ステップB4)。
Next, the operation when changing the GUI component device will be described. On screen A, GUI component device 1
Consider the case where the GUI component device 3 is changed to the GUI component device 7 having the same means 11, 12, and 13 as the GUI component device 1 with the parent as a parent. First, the mediator device 2'corresponding to the parent GUI component device 1 of the changed GUI component device 3 is subclassed (step B1). Further, the mediator device 4'corresponding to the changed GUI component device 3 is also subclassified (step B2). Furthermore, when the child registration of the mediator device 2 ′ is performed, a process of registering the mediator device 4 ′ instead of the mediator device 4 is added. Here, the processing by the IF statement shown below is substituted (step B3). If (the child mediator device to be added is the child mediator device 4) then (register the child mediator device 4'instead) Finally, in order to reflect the addition to the entire parent mediator, the parent mediator Is recursively subclassed (step B4).

【0022】次にGUI部品装置を削除する場合につき
説明する。ここでは、画面Aにおいて、GUI部品装置
を親としているGUI部品装置3が削除された場合を考
える。まず、削除されたGUI部品装置3の親GUI部
品装置1に対応するメディエータ装置2’をサブクラス
化する(ステップC1)。さらに、メディエータ装置
2’の子登録時に、メディエータ装置4を登録しようと
した場合、何もしないよう処理を変更する。ここでは以
下に示すIF文による処理で代用される(ステップC
2)。 If (追加対象の子メディエータ装置が子メディエータ装置4である) then (何もしない) 最後に、追加を全体に反映させるために最上位の親メデ
ィエータまで、親メディエータを再帰的にサブクラス化
する(ステップC3)。
Next, the case of deleting the GUI component device will be described. Here, consider a case where the GUI component device 3 having the GUI component device as a parent is deleted from the screen A. First, the mediator device 2'corresponding to the parent GUI component device 1 of the deleted GUI component device 3 is subclassed (step C1). Furthermore, if the mediator device 4 is to be registered during child registration of the mediator device 2 ', the processing is changed so that nothing is done. Here, the processing by the IF statement shown below is substituted (step C
2). If (the child mediator device to be added is the child mediator device 4) then (do nothing) Finally, the parent mediator is recursively subclassed up to the topmost parent mediator to reflect the addition to the whole ( Step C3).

【0023】以上説明のように本発明は、画面内にGU
I部品を配置して構成した場合、画面変更による影響を
局所化するためにGUI部品の階層構造に合わせて作ら
れるメディエータを動的に階層構造として自動生成する
ことにより、各メディエータの独立性を確保し、プログ
ラム開発の生産性を向上させたものである。特に、GU
I部品の階層構造を継承により変更した場合、そのGU
I部品の階層構造に対応したメディエータ階層構造も、
継承を利用して動的に変更でき、全体の再生成を不要と
することができる。
As described above, according to the present invention, the GUI is displayed on the screen.
When I components are arranged and configured, mediators created according to the hierarchical structure of GUI components are automatically generated as a hierarchical structure in order to localize the influence of screen changes, thereby making each mediator independent. It secures and improves the productivity of program development. Especially GU
If the hierarchical structure of an I part is changed by inheritance, that GU
The mediator hierarchical structure corresponding to the hierarchical structure of I parts is also
It can be changed dynamically by using inheritance, and the entire regeneration can be eliminated.

【0024】[0024]

【発明の効果】以上説明のように本発明によれば、変更
対象のGUI部品装置に対応するメディエータ装置の親
メディエータ装置に、変更内容に関する差分情報を記述
するだけで良く、それに伴い、プログラムの変更箇所や
テスト範囲が著しく局所化され、全体構成を意識しなく
ても良くなる。このように、各GUI部品は、独立性が
確保でき、制御仕様も複雑・巨大化することなく、プロ
グラム開発の生産性を向上させるとともに、保守性を向
上させることを可能にする。
As described above, according to the present invention, it suffices to describe the difference information regarding the changed contents in the parent mediator device of the mediator device corresponding to the GUI component device to be changed. Changes and test areas are remarkably localized, which makes it unnecessary to consider the overall structure. In this way, each GUI component can ensure independence, and the control specifications do not become complicated and huge, and it is possible to improve the productivity of program development and maintainability.

【0025】また、画面の変更内容等が、そのGUI画
面を継承して作成した画面の当該部分に動的に反映され
る。継承元画面のGUI部品装置に変更等が生じた場
合、そのGUI部品装置に対応するメディエータ装置
と、その親メディエータ装置が変更される。これらは、
継承先画面に対し、自動的にサブクラスを生成するた
め、継承元の変更が反映される。この反映は、継承によ
るものであるため、実際にプログラム記述がコピーされ
るわけではない。更に、親クラスが変更されても、差分
情報に変更が無ければ再生成が不要であるという派生的
効果も得られる。これにより、再生成の手間を減少させ
るとともに、再生成に関するミスの発生を防ぐことがで
きる。
Further, the changed contents of the screen are dynamically reflected in the relevant part of the screen created by inheriting the GUI screen. When the GUI component device of the inheritance source screen is changed, the mediator device corresponding to the GUI component device and its parent mediator device are changed. They are,
Since the subclass is automatically generated for the inheritance destination screen, the change of the inheritance source is reflected. Since this reflection is due to inheritance, the program description is not actually copied. Further, even if the parent class is changed, if the difference information is not changed, it is not necessary to regenerate the derivative effect. As a result, it is possible to reduce the trouble of regeneration and prevent the occurrence of mistakes relating to regeneration.

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

【図1】 本発明の実施形態を画面上に模式的に示した
図。
FIG. 1 is a diagram schematically showing an embodiment of the present invention on a screen.

【図2】 本発明実施形態の動作を説明するために引用
したフローチャート。
FIG. 2 is a flowchart cited to explain the operation of the embodiment of the present invention.

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

1(3,5)…GUI部品装置、2(4,6)…メディ
エータ装置、11…表示手段、12…マウス入力手段、
13…キー入力手段、21…メッセージ作成手段、22
…メッセージ受信手段、23…メッセージ種別判定手
段、24…GUI部品制御手段、25…メッセージ送信
手段(子メディエータ)、26…メッセージ送信手段
(親メディエータ)、27…初期化手段、28…子登録
手段
1 (3, 5) ... GUI component device, 2 (4, 6) ... Mediator device, 11 ... Display means, 12 ... Mouse input means,
13 ... Key input means, 21 ... Message creating means, 22
... message receiving means, 23 ... message type determining means, 24 ... GUI component control means, 25 ... message transmitting means (child mediator), 26 ... message transmitting means (parent mediator), 27 ... initialization means, 28 ... child registration means

フロントページの続き (56)参考文献 赤石美保,シンセティック・メディ ア・システムにおけるメディアベース・ アーキテクチャ,電子情通信学会技術報 告(KBSE95−41),社団法人電子情 報通信学会,1996年 1月19日,Vo l.95 No.478,p7−12 岡田義広,3次元ソフトウェア開発シ ステムIntelligentBoxに おける協調操作環境の実現,コンピュー タソフトウェア,日本ソフトウェア科学 会,1997年 1月16日,Vol.14 N o.95,p3−14 田中譲,知能メディア・アーキテクチ ャ,電子情報通信学会研究報告(KBS E92−13),社団法人電子情報通信学 会,1992年 7月 2日,Vol.92 No128,p55−62 日置為保 外2名,オブジェクト指向 技術を取り入れた新しい開発ツール,F UJITU,富士通株式会社,1994年 5月10日,Vol.45 No.3,p 211−218 (58)調査した分野(Int.Cl.7,DB名) G06F 9/44 Continued Front Page (56) References Miho Akaishi, Media-based Architecture in Synthetic Media Systems, IEICE Technical Report (KBSE95-41), The Institute of Electronics, Information and Communication Engineers, January 19, 1996. Sun, Vol. 95 No. 478, p7-12 Yoshihiro Okada, Realization of cooperative operation environment in 3D software development system IntelligentBox, Computer software, Japan Society for Software Science and Technology, 16th January 1997, Vol. 14 No. 95, p3-14 Joe Tanaka, Intelligent Media Architect, IEICE Research Report (KBS E92-13), The Institute of Electronics, Information and Communication Engineers, July 2, 1992, Vol. 92 No128, p55-62 Hioki Former 2 persons, new development tool incorporating object-oriented technology, FUJITU, Fujitsu Limited, May 10, 1994, Vol. 45 No. 3, p 211-218 (58) Fields investigated (Int.Cl. 7 , DB name) G06F 9/44

Claims (5)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 階層化されたGUI部品のそれぞれに対
応して操作とりまとめ部品(メディエータ)が定義さ
れ、GUI部品装置を構成する入力手段を介して取込ま
れ生成されるメッセージ、もしくは親子関係のあるメデ
ィエータから転送されるメッセージを受信し、その内容
に従い対応するGUI部品の更新を行うか、もしくは親
子関係のあるメディエータ間でそのメッセージの転送を
階層化GUI部品構造の更新方法であって、 前記メディエータは、ソースコード生成時、GUI部品
の階層構造が入力され、関係するメディエータを全て生
成してそれぞれの子登録を行ない階層化することを特徴
とす階層化GUI部品構造の更新方法。
1. An operation grouping component (mediator) is defined corresponding to each of the hierarchical GUI components, and a message that is captured and generated via an input means that constitutes the GUI component device, or a parent-child relationship. receiving a message transmitted from a certain mediator, updating of the corresponding GUI component or to update or <br/> row cormorants hierarchical GUI component structure to transfer the message between the mediator with parent-child relationship in accordance with the contents a method, wherein the mediator, when generating the source code, the hierarchical structure of the GUI component are input, it characterized layering performs each child registration by generating all mediators involved layering GUI component How to update the structure.
【請求項2】 GUI部品が追加された場合、追加され
たGUI部品に対応して継承されたメディエータをサブ
クラス化し、最上位の親メディエータに至るまで関係す
る親メディエータをサブクラス化することを特徴とする
請求項記載の階層化GUI部品構造の更新方法。
2. When a GUI component is added, the inherited mediator corresponding to the added GUI component is subclassed, and related parent mediators are subclassed up to the topmost parent mediator. The method for updating a hierarchical GUI component structure according to claim 1 .
【請求項3】 GUI部品が変更された場合、変更され
たGUI部品の親GUI部品に対応して継承されたメデ
ィエータ、ならびに、変更されたGUI部品に対応して
継承されたメディエータをサブクラス化し、前記親GU
I部品に対応して継承されたメディエータの子登録時、
前記変更されたGUI部品に対応するメディエータの代
りに継承されたメディエータを登録し、最上位の親メデ
ィエータに至るまで関係する親メディエータをサブクラ
ス化することを特徴とする請求項記載の階層化GUI
部品構造の更新方法。
3. When the GUI part is changed, the inherited mediator corresponding to the parent GUI part of the changed GUI part and the inherited mediator corresponding to the changed GUI part are subclassed, The parent GU
When a child of a mediator inherited corresponding to an I part is registered,
The registers the changed GUI component mediator inherited instead of the corresponding mediator, hierarchical GUI according to claim 1, characterized in that subclass parent mediators involved until the parent Mediator uppermost
How to update the part structure.
【請求項4】 GUI部品が削除された場合、削除され
たGUI部品の親GUI部品に対応して継承されたメデ
ィエータならびに削除されたGUI部品に対応して継承
されたメディエータをサブクラス化し、前記削除された
GUI部品の親GUI部品に対応して継承されたメディ
エータの子登録時、削除されたGUI部品に対応するメ
ディエータの代りに前記 削除されたGUI部品に対応
して継承されたメディエータを登録しない処理を付加
し、最上位の親メディエータに至るまで関係する親メデ
ィエータをサブクラス化することを特徴とする請求項
記載の階層化GUI部品構造の更新方法。
4. When a GUI component is deleted, the inherited mediator corresponding to the parent GUI component of the deleted GUI component and the inherited mediator corresponding to the deleted GUI component are subclassed, and the deletion is performed. When registering the mediator inherited corresponding to the parent GUI part of the deleted GUI part, do not register the inherited mediator corresponding to the deleted GUI part instead of the mediator corresponding to the deleted GUI part process adds, characterized by subclassing parent mediators involved until the parent mediator uppermost claim 1
A method for updating the described hierarchical GUI component structure.
【請求項5】 階層化されたGUI部品のそれぞれに対
応して操作とりまとめ部品(メディエータ)が定義さ
れ、継承を利用してGUI部品の更新を行う階層化GU
I部品構造の更新システムであって、前記階層化GUI
部品構造の更新システムは、入出力手段を介しメディエ
ータ装置との間で情報交換を行うGUI部品装置と、G
UI部品装置のそれぞれに対応して設けられ、GUI部
品装置を介して取込まれ生成されるメッセージ、もしく
は親子関係のあるメディエータから転送されるメッセー
ジを受信し、その内容に従い対応するGUI部品の更新
を行うか、もしくは親子関係のあるメディエータ間でそ
のメッセージの転送を行うメディエータ装置とを具備す
階層化GUI部品構造の更新システムであって、 前記メディエータ装置は、更に、管理対象の子メディエ
ータをすべて生成し子登録手段を呼んで登録する初期化
手段と、管理対象の子メディエータを逐次登録する子登
録手段を備え、ソースコード生成時、GUI部品の階層
構造が入力されることにより、ソースコード生成装置と
協動して関係するメディエータを全て生成してそれぞれ
の子登録を行うことにより階層化することを特徴とす
階層化GUI部品構造の更新システム。
5. A hierarchical GUI in which operation control parts (mediators) are defined corresponding to respective hierarchical GUI parts, and GUI parts are updated by using inheritance.
A system for updating an I-part structure, comprising the hierarchical GUI
The parts structure updating system includes a GUI parts device for exchanging information with a mediator device via an input / output means, and a GUI parts device.
A message which is provided corresponding to each UI component device and is received and generated via the GUI component device or a message transferred from a mediator having a parent-child relationship is received, and the corresponding GUI component is updated according to the content. Or a mediator device that transfers the message between mediators that have a parent-child relationship.
In the system for updating a hierarchical GUI component structure , the mediator device further includes initialization means for generating all managed child mediators and calling child registration means for registration, and sequentially registered managed child mediators. The hierarchical structure of the GUI parts is input when the source code is generated, and all the related mediators are generated in cooperation with the source code generation device to perform the child registration for each layer. update system of <br/> hierarchical GUI component structure characterized by the reduction.
JP01763899A 1999-01-26 1999-01-26 Method and system for updating hierarchical GUI component structure Expired - Fee Related JP3385991B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP01763899A JP3385991B2 (en) 1999-01-26 1999-01-26 Method and system for updating hierarchical GUI component structure

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP01763899A JP3385991B2 (en) 1999-01-26 1999-01-26 Method and system for updating hierarchical GUI component structure

Publications (2)

Publication Number Publication Date
JP2000215040A JP2000215040A (en) 2000-08-04
JP3385991B2 true JP3385991B2 (en) 2003-03-10

Family

ID=11949420

Family Applications (1)

Application Number Title Priority Date Filing Date
JP01763899A Expired - Fee Related JP3385991B2 (en) 1999-01-26 1999-01-26 Method and system for updating hierarchical GUI component structure

Country Status (1)

Country Link
JP (1) JP3385991B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3798935B2 (en) * 2000-09-08 2006-07-19 日本電信電話株式会社 Data display method
JP4391434B2 (en) 2005-03-10 2009-12-24 フェリカネットワークス株式会社 Theme change system, portable communication device, server device, and computer program
US8464212B2 (en) * 2007-07-27 2013-06-11 Canon Kabushiki Kaisha Method, apparatus and storage medium for customizing application

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
岡田義広,3次元ソフトウェア開発システムIntelligentBoxにおける協調操作環境の実現,コンピュータソフトウェア,日本ソフトウェア科学会,1997年 1月16日,Vol.14 No.95,p3−14
日置為保 外2名,オブジェクト指向技術を取り入れた新しい開発ツール,FUJITU,富士通株式会社,1994年 5月10日,Vol.45 No.3,p211−218
田中譲,知能メディア・アーキテクチャ,電子情報通信学会研究報告(KBSE92−13),社団法人電子情報通信学会,1992年 7月 2日,Vol.92 No128,p55−62
赤石美保,シンセティック・メディア・システムにおけるメディアベース・アーキテクチャ,電子情通信学会技術報告(KBSE95−41),社団法人電子情報通信学会,1996年 1月19日,Vol.95 No.478,p7−12

Also Published As

Publication number Publication date
JP2000215040A (en) 2000-08-04

Similar Documents

Publication Publication Date Title
US5724532A (en) Method and apparatus for exchanging information between application programs according to a drag and drop operation
US6944829B2 (en) Configurable user-interface component management system
EP1986369B1 (en) End user control configuration system with dynamic user interface
US6467080B1 (en) Shared, dynamically customizable user documentation
CA2446809C (en) General and reusable components for defining net-centric application program architectures
US5977971A (en) Tree view control
US6281896B1 (en) Data processor controlled interface with multiple tree of elements views expandable into individual detail views
US6108712A (en) Client-server system with central application management and providing export agent capability for retrofitting existing hardware and applications into the system
US6647432B1 (en) Distributed framework for intertask communication between workstation applications
EP0469709B1 (en) System and method for emulating a window management environment having a uniform windowing interface
US8627217B2 (en) Window display system, window display method, program development support device, and server device
US6115039A (en) Processes and apparatuses for creating non-native displays on a computer
KR20010041294A (en) Dynamic lookup service in a distributed system
JPH0635709A (en) Object class specifying device, widget and realizing method thereof
JP3454285B2 (en) Data processing device and data processing method
US5832266A (en) Encapsulation of applications for inclusion within an object management facility environment
JP2002505553A (en) Diversity token based control
US5848429A (en) Object-oriented global cursor tool which operates in an incompatible document by embedding a compatible frame in the document
JP3385991B2 (en) Method and system for updating hierarchical GUI component structure
JPH09114724A (en) Remote file operating method
US7685605B1 (en) Distributed framework for intertask communication between workstation applications
Karagkasidis Developing GUI Applications: Architectural Patterns Revisited.
US6308226B1 (en) Communication method and system for objects movable in network
JP4339376B2 (en) Object-oriented cursor tool
US20070124326A1 (en) Extensible Controls for a Content Data Repository

Legal Events

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20021203

R150 Certificate of patent or registration of utility model

Ref document number: 3385991

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080110

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090110

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100110

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110110

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110110

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120110

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130110

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130110

Year of fee payment: 10

LAPS Cancellation because of no payment of annual fees