JPH07200233A - Graphic parts management device - Google Patents

Graphic parts management device

Info

Publication number
JPH07200233A
JPH07200233A JP5335024A JP33502493A JPH07200233A JP H07200233 A JPH07200233 A JP H07200233A JP 5335024 A JP5335024 A JP 5335024A JP 33502493 A JP33502493 A JP 33502493A JP H07200233 A JPH07200233 A JP H07200233A
Authority
JP
Japan
Prior art keywords
information
resource
processing
mutual relationship
mutual
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
JP5335024A
Other languages
Japanese (ja)
Inventor
Ken Kameyama
研 亀山
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.)
Oki Electric Industry Co Ltd
Original Assignee
Oki Electric Industry Co Ltd
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 Oki Electric Industry Co Ltd filed Critical Oki Electric Industry Co Ltd
Priority to JP5335024A priority Critical patent/JPH07200233A/en
Publication of JPH07200233A publication Critical patent/JPH07200233A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To solve a problem at the time of defining the correlation of plural graphic parts by means of coding a program. CONSTITUTION:A correlation resource regulating the mutual relation of the plural graphic parts where construction processings are mutually related is registered in a resource file 40. When the execution request of the construction processing on a widget is received from an application program 11, a window manager 12 executes the construction processing of the plural widgets based on the mutual relation resource registered in the resource file 40.

Description

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

【0001】[0001]

【産業上の利用分野】この発明は、グラフィカル・ユー
ザ・インタフェースを構築するための処理が相互に関連
する複数のグラフィック部品の相互関係を管理するグラ
フィック部品管理装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a graphic component management apparatus for managing a mutual relation of a plurality of graphic components having processes associated with each other for constructing a graphical user interface.

【0002】[0002]

【従来の技術】一般に、ワークステーション等の個人向
け高機能コンピュータにおいては、ユーザ・インタフェ
ースとして、グラフィカル・ユーザ・インタフェース
(以下、「GUI」という。)が採用されている。
2. Description of the Related Art Generally, a high-performance personal computer such as a workstation employs a graphical user interface (hereinafter referred to as "GUI") as a user interface.

【0003】このGUIを提供するシステムとしては、
例えば、Xウィンドウ・システム(Xウィンドウは登録
商標)が知られている。このXウィンドウ・システム
は、複数のウィンドウを使って、複数の情報を同時に表
示可能なマルチ・ウィンドウ・システムである。
As a system for providing this GUI,
For example, the X window system (X window is a registered trademark) is known. This X window system is a multi-window system capable of simultaneously displaying a plurality of information by using a plurality of windows.

【0004】このXウィンドウ・システムにおいては、
GUIを構築するためのグラフィック部品(ボタン、ダ
イアログ等)として、ウィジェットが用意されている。
このウィジェットは、イベントが発生すると、コールバ
ックという手段により、アプリケーションプログラムや
他のウィジェットと通信することができる。また、各ウ
ィジェットは、ある特定のクラスに属し、常に関連する
ウィンドウを有する。
In this X window system,
Widgets are prepared as graphic components (buttons, dialogs, etc.) for constructing a GUI.
When an event occurs, this widget can communicate with an application program or another widget by means of a callback. Also, each widget belongs to a certain class and always has a window associated with it.

【0005】このXウィンドウ・システムに提供されて
いる従来のツールキット(MOtif等)においては、
あるウィジェットに発生したイベントが他のウィジェッ
トに及ぼす作用を定義する方式が十分提供されていなか
った(下記の文献1,2参照)。
In the conventional tool kit (MOtif, etc.) provided for this X window system,
A method for defining the action of an event generated in one widget on another widget has not been sufficiently provided (see Documents 1 and 2 below).

【0006】文献1:XToolkitプログラミング
OSF/MOTIF版 D.A.ヤング 著 トッパン 発行 1991年4月15日発行 文献2:OSF/Motif プログラマーズリファレ
ンス リリース1.1Open Software F
oundation 著 株式会社日立制作所ソフトウェア開発本部 訳 トッパン 発行 1991年11月25日 言い換えれば、従来のツールキットにおいては、GUI
を構築するための処理(以下、「構築処理」という。)
が相互に関連する複数のウィジェットの相互関係を定義
する方式が十分提供されていなかった。
Reference 1: XToolkit programming OSF / MOTIF version D. A. By Young Toppan Published April 15, 1991 Reference 2: OSF / Motif Programmer's Reference Release 1.1 Open Software F
published by Hitachi Ltd., Software Development Division, translated by Toppan, published November 25, 1991. In other words, in the conventional toolkit, GUI
For building (hereinafter referred to as "building process")
There is not a sufficient way to define the interrelationship of multiple widgets that are related to each other.

【0007】このため、従来は、複数のウィジェットの
相互関係をアプリケーションプログラムのコーディング
によって定義することにより、この相互関係を管理する
ようになっていた。
Therefore, conventionally, the mutual relationship between a plurality of widgets has been managed by defining the mutual relationship by coding an application program.

【0008】なお、上述した構築処理としては、例え
ば、ウィジェットを画面上に表示する表示処理、画面上
から消去する消去処理、画面から消去するとともに、表
示用の画像データも破壊してしまう削除処理といった処
理がある。
As the above-mentioned construction processing, for example, a display processing for displaying the widget on the screen, a deletion processing for deleting the widget from the screen, a deletion processing for deleting the widget from the screen and destroying the image data for display. There is such a process.

【0009】[0009]

【発明が解決しようとする課題】以上述べたように、従
来は、構築処理が相互に関連する複数のウィジェットの
相互関係を管理する場合、この相互関係をアプリケーシ
ョンプログラムのコーディングにより定義するようにな
っていた。
As described above, conventionally, when the construction process manages the interrelationship of a plurality of mutually related widgets, this interrelationship is defined by coding the application program. Was there.

【0010】しかしながら、このような構成では、ア
プリケーションプログラムの開発工数が多くなるととも
に、このプログラムを開発した後、複数のウィジェット
の相互関係を変更する場合、プログラムを書き替えなけ
ればならないという問題があった。
However, with such a configuration, there is a problem that the number of man-hours for developing an application program increases, and when the mutual relationship between a plurality of widgets is changed after the program is developed, the program must be rewritten. It was

【0011】また、このような構成では、複数のウィ
ジェットの相互関係を明確に定義することが難しいため
に、GUIの仕様から発生するバグ(例えば、入力を受
付けなくなるなどのバグ)を誘発する可能性があるとい
う問題があった。
Further, in such a configuration, it is difficult to clearly define the mutual relationship of a plurality of widgets, and therefore it is possible to induce a bug (for example, a bug that the input cannot be accepted) generated from the GUI specification. There was a problem that there is a property.

【0012】さらに、このような構成では、特定の相
互関係(例えば、複数のダイアログを重ね表示する場合
の優先度)を定義する場合、その定義が極めて難しかっ
たり、全く定義することができないことがあるという問
題があった。
Further, in such a configuration, when a specific mutual relationship (for example, the priority when displaying a plurality of dialogs) is defined, the definition may be extremely difficult or may not be defined at all. There was a problem.

【0013】[0013]

【課題を解決するための手段】上記課題を解決するため
に、この発明は、構築処理が相互に関連する複数のグラ
フィック部品の相互関係を管理する装置において、上記
相互関係を規定する情報を提供する手段と、この手段に
より提供される相互関係規定情報に基づいて、複数のグ
ラフィック部品の構築処理を実行する手段とを設けるよ
うにしたものである。
In order to solve the above-mentioned problems, the present invention provides an information for defining the above-mentioned mutual relation in a device for managing the mutual relation of a plurality of graphic parts whose construction processing is related to each other. And a means for executing a construction process for a plurality of graphic parts based on the mutual relationship defining information provided by this means.

【0014】[0014]

【作用】上記構成においては、構築処理が相互に関連す
る複数のグラフィック部品の相互関係は、プログラムで
はなく、データとして定義される。そして、このデータ
によって表される相互関係に基づいて、複数のグラフィ
ック部品の構築処理が実行される。
In the above structure, the mutual relationship of the plurality of graphic parts whose construction processes are related to each other is defined as data, not as a program. Then, a construction process of a plurality of graphic components is executed based on the mutual relationship represented by this data.

【0015】[0015]

【実施例】以下、図面を参照しながらこの発明の実施例
を詳細に説明する。
Embodiments of the present invention will be described in detail below with reference to the drawings.

【0016】図1は、この発明の第1の実施例の構成を
示すブロック図である。なお、以下の説明では、この発
明をXウィンドウ・システムに適用した場合を代表とし
て説明する。
FIG. 1 is a block diagram showing the configuration of the first embodiment of the present invention. In the following description, the case where the present invention is applied to the X window system will be described as a representative.

【0017】Xウィンドウ・システムにおいては、その
機能を実現する方式として、サーバ・クライアント方式
が採用されている。ここで、サーバ・クライアント方式
とは、クライアントとサーバという2つのプログラムに
よって目的とする機能を実現する方式である。
In the X window system, a server / client system is adopted as a system for realizing the function. Here, the server-client method is a method in which a target function is realized by two programs, a client and a server.

【0018】図1は、このサーバ・クライアント方式の
モデル図に基づいて、この発明の第1の実施例の構成を
概念的に表したものである。
FIG. 1 conceptually shows the configuration of the first embodiment of the present invention based on the model diagram of the server-client system.

【0019】すなわち、図1において、10は、サーバ
に様々な要求を出すクライアントであり、20は、ハー
ドウェア部30を管理するサーバである。
That is, in FIG. 1, 10 is a client that issues various requests to the server, and 20 is a server that manages the hardware unit 30.

【0020】クライアント10は、サーバ20に対し
て、例えば、ウィンドウの開閉や、ウィンドウに対する
ウィジェットやテキストの表示を要求する。
The client 10 requests the server 20, for example, to open / close a window or display a widget or text on the window.

【0021】サーバ20は、クライアント10からの要
求に基づいて、ディスプレイ31の画面上でウィンドウ
を開閉したり、ウィンドウにウィジェットやテキストを
表示したりする。また、このサーバ20は、イベントが
発生すると、これをクライアント10に報告する。
The server 20 opens / closes a window on the screen of the display 31 or displays a widget or text in the window based on a request from the client 10. Further, the server 20 reports the event to the client 10 when the event occurs.

【0022】なお、イベントは、ユーザがマウス32の
ボタンをクリックしたり、キーボード33のキーを押す
ことにより発生する。また、このイベントは、ウィンド
ウの状態が変化することによっても発生する。
The event occurs when the user clicks the button of the mouse 32 or presses the key of the keyboard 33. This event also occurs when the window state changes.

【0023】クライアント10としては、アプリケーシ
ョンプログラム、ウィンドウマネージャ、ユーティリテ
ィ等がある。図1には、アプリケーションプログラム1
1と、ウィンドウマネージャ12を示す。
The client 10 includes an application program, a window manager, a utility and the like. In FIG. 1, the application program 1
1 and the window manager 12.

【0024】アプリケーションプログラム11は、ウィ
ンドウマネージャ12に対して、例えば、ウィンドウの
開閉やウィジェットの生成を要求する。また、このアプ
リケーションプログラム11は、サーバ20からイベン
トを受けると、これを解読し、この解読結果に基づい
て、ウィンドウマネージャ12に対して、ウィジェット
の構築処理等を要求する。
The application program 11 requests the window manager 12 to open / close windows and generate widgets, for example. When the application program 11 receives an event from the server 20, the application program 11 decrypts the event and requests the window manager 12 to perform widget construction processing based on the decryption result.

【0025】ここで、ウィジェットの構築処理とは、上
記の如く、ウィジェットの表示、消去、削除等の処理を
いう。また、ウィジェットの生成とは、ウィジェットの
シンボルを表示するための画像データを生成することを
いう。
Here, the widget construction processing means the processing of displaying, deleting, deleting, etc. of the widget as described above. In addition, the generation of the widget means generation of image data for displaying the symbol of the widget.

【0026】ウィンドウマネージャ12は、アプリケー
ションプログラム11により要求されたウィンドウの開
閉処理等をサーバ20に依頼したり、ウィンドウやウィ
ジェットの表示位置等を管理したり、ウィジェットを生
成したりする。また、このウィンドウマネージャ12
は、サーバ20から報告のあったイベントをアプリケー
ションプログラム11に中継する。
The window manager 12 requests the server 20 to open and close windows requested by the application program 11, manages the display positions of windows and widgets, and creates widgets. Also, this window manager 12
Relays the event reported from the server 20 to the application program 11.

【0027】以上は、クライアント・サーバ方式の一般
的な構成である。次に、この発明の特徴とするウィジェ
ットの相互関係を管理する構成を説明する。
The above is the general configuration of the client / server system. Next, a configuration for managing the mutual relationship between the widgets, which is a feature of the present invention, will be described.

【0028】ウィジェットは、形態(サイズ、色、形
等)や動作を規定するプログラムパラメータを有する。
このパラメータは、リソースと呼ばれる。ウィンドウマ
ネージャ12は、アプリケーションプログラム11から
ウィジェットの生成要求を受けると、このリソース(特
に、形態に関するリソース)に基いてウィジェットを生
成する。
Widgets have program parameters that define the form (size, color, shape, etc.) and behavior.
This parameter is called a resource. When the window manager 12 receives a widget generation request from the application program 11, the window manager 12 generates a widget based on this resource (particularly, a resource regarding the form).

【0029】このような構成によれば、リソースの内容
を変更することにより、ウィジェットの形態を簡単かつ
自由に変更することができる。
With such a configuration, the form of the widget can be easily and freely changed by changing the content of the resource.

【0030】この実施例は、この点に着目し、各ウィジ
ェットの形態や動作を規定するリソース(以下、「形態
リソース」という。)のほかに、構築処理が相互に関連
する複数のウィジェットの相互関係を規定するリソース
(以下、「相互関係リソース」という。)を用意し、こ
の相互関係リソースに基いて、複数のウィジェットの構
築処理を実行するようにしたものである。
This embodiment pays attention to this point, and in addition to the resource (hereinafter, referred to as "morphological resource") that defines the form and operation of each widget, a plurality of widgets whose construction processes are mutually related A resource (hereinafter, referred to as "mutual relation resource") that defines a relation is prepared, and a construction process of a plurality of widgets is executed based on the mutual relation resource.

【0031】この実行は、ウィンドウマネージャ12に
よりなされる。したがって、この実施例のウィンドウマ
ネージャ12には、上述したウィンドウの開閉機能等の
ほかに、構築処理が相互に関連する複数のウィジェット
の構築処理を実行する機能が設けられている。
This execution is performed by the window manager 12. Therefore, the window manager 12 of this embodiment is provided with a function of executing a construction process of a plurality of widgets that are related to each other, in addition to the window opening / closing function described above.

【0032】また、ウィンドウマネージャ12に対する
相互関係リソースの提供は、リソースファイル40を使
ってなされる。したがって、この実施例のウィンドウマ
ネージャ12には、リソースファイル40から相互関係
リソースを読み出す機能が設けられている。
The resource file 40 is used to provide the interrelated resources to the window manager 12. Therefore, the window manager 12 of this embodiment is provided with the function of reading the interrelated resources from the resource file 40.

【0033】図2は、相互関係リソースの一例を示す図
である。なお、図2では、各相互関係リソースの内容を
分かり易くするために、その名前を実際の命名体系では
なく、日本語で表現してある。
FIG. 2 is a diagram showing an example of mutual relation resources. In addition, in FIG. 2, in order to make the contents of each interrelationship resource easy to understand, their names are expressed in Japanese rather than in the actual naming system.

【0034】これら複数の相互関係リソースのうち、例
えば、「重なり優先度」は、複数のウィジェットが重な
った時のあるウィジェットの表示の優先度を示すリソー
スである。この相互関係リソースを使って、ウィジェッ
ト1の優先度が1であることを表す場合は、例えば、
「ウィジェット1.重なり優先度:1」と表される。
Among these plural inter-related resources, for example, "overlap priority" is a resource indicating the display priority of a certain widget when a plurality of widgets overlap each other. When using this interrelationship resource to represent that the priority of widget 1 is 1, for example,
It is expressed as "Widget 1. Overlapping priority: 1".

【0035】また、「表示時に削除」は、あるウィジェ
ットが表示されたときに、削除されるウィジェットのリ
ストを示すリソースである。この相互関係リソースを使
って、“ウィジェット1を表示する場合に、ウィジェッ
ト2を削除する”という関係を表す場合は、例えば、
「ウィジェット1.表示時に削除:ウィジェット2」と
表される。
"Delete on display" is a resource indicating a list of widgets to be deleted when a certain widget is displayed. When using this interrelationship resource to represent the relationship of “delete widget 2 when displaying widget 1,” for example,
It is displayed as "Widget 1. Deleted when displayed: Widget 2."

【0036】なお、詳細な説明は省略するが、図2に示
すその他の相互関係リソースについても、上述した「表
示時に削除」という相互関係リソースと同じように考え
ることができる。
Although detailed description is omitted, the other inter-relationship resources shown in FIG. 2 can be considered in the same manner as the above-mentioned inter-relational resource “delete when displayed”.

【0037】図3は、リソースファイル40の構成の一
例を示す図である。図示のリソースファイル40は、相
互関係リソースの登録と形態リソースの登録で兼用され
るようになっている。この場合、リソースファイル40
は、2つの領域を有し、相互関係リソースと形態リソー
スを別々に保持するようになっている。
FIG. 3 is a diagram showing an example of the configuration of the resource file 40. The illustrated resource file 40 is used for both registration of mutual relation resources and registration of form resources. In this case, the resource file 40
Has two areas and holds the correlation resource and the morphology resource separately.

【0038】以上はこの実施例の概念的な構成である。
次に、図4を参照しながら、この実施例のハードウェア
構成を説明する。
The above is the conceptual configuration of this embodiment.
Next, the hardware configuration of this embodiment will be described with reference to FIG.

【0039】図4は、この実施例のハードウェア構成の
一例を示すブロック図である。図示の如く、この実施例
のハードウェア構成は、通常のコンピュータのハードウ
ェア構成とほぼ同じである。
FIG. 4 is a block diagram showing an example of the hardware configuration of this embodiment. As shown in the figure, the hardware configuration of this embodiment is almost the same as the hardware configuration of a normal computer.

【0040】すなわち、図4において、34は、アプリ
ケーションプログラム11、ウィンドウマネージャ1
2、Xサーバ20といった各種プログラムを実行するた
めの中央処理装置(以下、「CPU」という。)であ
る。したがって、この実施例の特徴とする処理は、この
CPU34により実行されることになる。
That is, in FIG. 4, 34 is an application program 11 and a window manager 1.
2, a central processing unit (hereinafter referred to as "CPU") for executing various programs such as the X server 20. Therefore, the processing characteristic of this embodiment is executed by the CPU 34.

【0041】35は、このCPU34により実行される
プログラムや各種データの記憶に使用されるメモリであ
る。したがって、この実施例の特徴とする処理を規定す
るプログラムは、このメモリ35に格納されることにな
る。
Reference numeral 35 is a memory used for storing programs executed by the CPU 34 and various data. Therefore, the program defining the processing that characterizes this embodiment is stored in this memory 35.

【0042】36は、上述したリソースファイル40等
が設定されるディスクである。したがって、この実施例
の特徴とする相互関係リソースは、このディスク36に
登録されることになる。
Reference numeral 36 is a disk in which the above-mentioned resource file 40 and the like are set. Therefore, the inter-relational resource that characterizes this embodiment is registered in this disk 36.

【0043】上記構成において、相互関係リソースに基
づいて、複数のウィジェットの構築処理を実行する動作
を説明する。
In the above configuration, the operation of executing the construction process of a plurality of widgets based on the interrelated resources will be described.

【0044】図5は、この場合のアプリケーションプロ
グラム11の処理を示すフローチャートである。なお、
図5では、説明を簡単にするために、ウィジェットに関
係する部分の処理だけを簡単に示す。また、この図5で
は、イベントが発生した場合は、必ず、ウィンドウマネ
ージャ12に対して、構築処理の実行要求を与えるもの
としている。
FIG. 5 is a flowchart showing the processing of the application program 11 in this case. In addition,
In FIG. 5, for simplification of explanation, only the processing of the part related to the widget is briefly shown. Further, in FIG. 5, when an event occurs, an execution request for the construction process is always given to the window manager 12.

【0045】このアプリケーションプログラム11の処
理においては、まず、ウィンドウマネージャ12に対し
て、ウィジェットの生成を要求する処理がなされる(ス
テップS11)。これにより、ウィンドウマネージャ1
2では、後述するように、要求されたウィジェットの生
成がなされる。つまり、要求されたウィジェットを表示
するための画像データの生成がなされる。
In the process of the application program 11, first, a process of requesting the window manager 12 to generate a widget is performed (step S11). This allows the window manager 1
In 2, the requested widget is generated as described later. That is, the image data for displaying the requested widget is generated.

【0046】この後、イベントが発生したか否かを判定
する処理がなされる(ステップS12)。これは、サー
バ20からウィンドウマネージャ12を介してイベント
が発生した旨の報告を受けたか否かを判定することによ
りなされる。
Thereafter, a process for determining whether or not an event has occurred is performed (step S12). This is done by determining whether or not a report that an event has occurred is received from the server 20 via the window manager 12.

【0047】イベントが発生しなければ、そのままイベ
ントの発生を監視する処理が続けられる。これに対し、
イベントが発生すると、発生したイベントの内容を解読
する処理がなされる(ステップS13)。この解読によ
り、ウィンドウマネージャ12に要求すべきウィジェッ
トの構築処理(表示、消去、削除)が決定される。
If no event has occurred, the process of monitoring the occurrence of the event is continued. In contrast,
When an event occurs, a process of decoding the content of the occurred event is performed (step S13). This decoding determines the widget construction processing (display, deletion, deletion) that should be requested to the window manager 12.

【0048】この解読が終了すると、これによって定め
られた構築処理を、ウィンドウマネージャ12に要求す
る処理がなされる(ステップS14)。これにより、ウ
ィンドウマネージャ12では、後述するように、要求さ
れた構築処理に関連する相互関係リソースに基づいて、
複数のウィジェットの構築処理が実行される。
When this decoding is completed, a process of requesting the window manager 12 for the construction process determined thereby is performed (step S14). As a result, the window manager 12, based on the interrelationship resource related to the requested construction process, will be described later.
The process of building multiple widgets is executed.

【0049】この処理が終了すると、ステップS12に
戻る。これにより、イベントが発生した時点で再び上述
した処理がなされる。以下、同様に、イベントが発生す
るたびに上述した処理が繰り返される。
When this process ends, the process returns to step S12. As a result, the processing described above is performed again when an event occurs. Similarly, the processing described above is repeated every time an event occurs.

【0050】図6は、ウィンドウマネージャ12の処理
を示すフローチャートである。なお、図6でも、説明を
簡単にするために、ウィジェットに関する処理の部分だ
けを簡単に示す。また、イベントが発生した場合は、必
ず、アプリケーションプログラム11から構築処理の実
行要求を受けるものとしている。
FIG. 6 is a flowchart showing the processing of the window manager 12. In FIG. 6 as well, for simplification of the explanation, only the processing part relating to the widget is briefly shown. Further, when an event occurs, the execution request for the construction process is always received from the application program 11.

【0051】このウィンドウマネージャ12の処理にお
いては、まず、アプリケーションプログラム11により
要求されたウィジェットを生成する処理がなされる(ス
テップS21)。この生成は、リソースファイル40に
登録されている形態リソースに基づいてなされる。生成
されたウィジェット、つまり、ウィジェットのシンボル
を表示するための画像データは、削除要求を受けるま
で、例えば、メモリ35に保存される。
In the process of the window manager 12, first, a process of generating the widget requested by the application program 11 is performed (step S21). This generation is performed based on the form resource registered in the resource file 40. The generated widget, that is, the image data for displaying the widget symbol is stored in, for example, the memory 35 until a deletion request is received.

【0052】この処理が終了すると、イベントが発生し
たか否かを判定する処理がなされる(ステップS2
2)。この判定は、サーバ20からイベントが発生した
旨の報告を受けたか否かを判定することによりなされ
る。
When this process ends, a process for determining whether an event has occurred is performed (step S2).
2). This determination is made by determining whether or not a report that an event has occurred is received from the server 20.

【0053】イベントが発生した場合は、これをアプリ
ケーションプログラム11に報告する処理がなされる
(ステップS23)。この後、ステップS24の処理が
なされる。これに対し、イベントが発生しない場合は、
そのままステップS24の処理がなされる。
When an event occurs, a process of reporting the event to the application program 11 is performed (step S23). Then, the process of step S24 is performed. On the other hand, if the event does not occur,
The process of step S24 is performed as it is.

【0054】このステップS24においては、アプリケ
ーションプログラム11からウィジェットの構築処理の
実行要求を受けたか否かを判定する処理がなされる。こ
の要求を受けた場合は、ステップS25の処理がなされ
る。これに対し、要求を受けない場合は、上記ステップ
S22に戻り、要求を受けるまで、ステップS22,S
24の処理が繰り返される。
In step S24, it is determined whether or not a request for executing the widget construction process has been received from the application program 11. When this request is received, the process of step S25 is performed. On the other hand, if the request is not received, the process returns to step S22, and steps S22 and S are performed until the request is received.
The processing of 24 is repeated.

【0055】ステップS25においては、リソースファ
イル40から相互関係リソースを読み出す処理がなされ
る。この場合、相互関係リソースとしては、アプリケー
ションプログラム11により要求された構築処理に関連
するリソースのみが読み出される。
In step S25, a process for reading the interrelated resource from the resource file 40 is performed. In this case, only the resources related to the construction process requested by the application program 11 are read out as the interrelated resources.

【0056】例えば、要求された構築処理がウィジェッ
ト1の消去である場合は、このウィジェット1の消去に
関連するリソースのみが読み出される。これは、リソー
スの読出し時間を短縮するためである。
For example, when the requested construction process is the deletion of the widget 1, only the resource related to the deletion of the widget 1 is read. This is to shorten the resource read time.

【0057】すなわち、リソースファイル40から相互
関係リソースを読み出す場合、要求のあった構築処理
(上の例では、ウィジェット1の消去)に関連するリソ
ースではなく、この構築処理の要求のあったウィジェッ
ト(上の例では、ウィジェット1)に関連するリソース
を読み出すことが考えられる。
That is, when reading the interrelated resource from the resource file 40, it is not the resource related to the requested construction process (in the above example, deletion of the widget 1), but the widget for which this construction process is requested ( In the above example, it is conceivable to read out the resource associated with widget 1).

【0058】しかし、ウィジェットに関連するリソース
を読み出すようにすると、一般的には、このリソースの
方が構築処理に関連するリソースよりも多いので、リソ
ースの読出し時間が長くなることが多い。
However, when the resource related to the widget is read out, the resource read time is often long because the resource is generally larger than the resource related to the construction process.

【0059】そこで、この実施例では、構築処理に関連
するリソースのみを読み出すことにより、読出し時間の
短縮を図っている。なお、これについては、後で、具体
例を使って詳細に説明する。
Therefore, in this embodiment, the read time is shortened by reading only the resources related to the construction process. Note that this will be described in detail later using a specific example.

【0060】相互関係リソースの読出しが終了すると、
読み出された相互関係リソースの中から、現在の画面の
表示状況に関連するリソースを選択する処理がなされる
(ステップS26)。
When the reading of the interrelated resources is completed,
A process of selecting a resource related to the current display state of the screen from the read mutual relation resources is performed (step S26).

【0061】例えば、リソースファイル40から「ウィ
ジェット1.表示時に削除:ウィジェット2」なるリソ
ースが読み出された場合は、このリソースは、ウィジェ
ット2が画面に表示されている場合のみ選択される。な
お、これについても、後で、具体例を使って詳細に説明
する。
For example, when a resource "widget 1. Deleted when displayed: widget 2" is read from the resource file 40, this resource is selected only when the widget 2 is displayed on the screen. Note that this will also be described later in detail using a specific example.

【0062】相互関係リソースの選択が終了すると、選
択された相互関係リソースに基づいて、複数のウィジェ
ットの構築処理を実行する処理がなされる(ステップS
27)。例えば、相互関係リソースとして上述した「ウ
ィジェット1.表示時に削除:ウィジェット2」なるリ
ソースが読み出された場合は、ウィジェット1の表示と
ウィジェット2の削除が実行される。
When the selection of the interrelationship resource is completed, a process for executing a process for constructing a plurality of widgets is performed based on the selected interrelationship resource (step S).
27). For example, when the resource “widget 1. Deleted when displayed: Widget 2” is read as the inter-related resource, the widget 1 is displayed and the widget 2 is deleted.

【0063】この処理が終了すると、ステップS22に
戻る。これにより、イベントが発生した時点で、再び、
上述した処理が実行される。以下、同様に、イベントが
発生するたびに、上述した処理が繰り返される。
When this process ends, the process returns to step S22. As a result, when the event occurs,
The processing described above is executed. Hereinafter, similarly, each time an event occurs, the above processing is repeated.

【0064】なお、ウィジェットの表示位置は、予め定
めた規則に基づいて定められる。また、ウィジェットの
構築処理は、実際には、上記の如く、ウィンドウマネー
ジャ12の依頼に基づいて、サーバ20により実行され
る。
The display position of the widget is determined based on a predetermined rule. Further, the widget construction process is actually executed by the server 20 based on the request from the window manager 12 as described above.

【0065】ここで、図7〜図11を参照しながら、図
6におけるステップS25,S26の処理を具体例を使
って説明する。
Here, the processing of steps S25 and S26 in FIG. 6 will be described using a concrete example with reference to FIGS.

【0066】なお、以下の説明では、ウィジェットがダ
イアログである場合を代表として説明する。ここで、ダ
イアログとは、簡単には、ウィンドウの本体を構成する
長方形のグラフィック部品と考えることができる。
In the following description, the case where the widget is a dialog will be described as a representative example. Here, the dialog can be simply considered as a rectangular graphic component forming the body of the window.

【0067】図7は、リソースファイル40に登録され
ているリソースのうち、複数のダイアログの相互関係の
管理に関連するリソースの一例を示す図である。
FIG. 7 is a diagram showing an example of the resources registered in the resource file 40 and related to the management of the mutual relation of a plurality of dialogs.

【0068】図において、を除く6つのリソース、
,,,,は、複数のダイアログの相互関係を
規定する相互関係リソースである。これに対し、は、
後処理関数をコールバックとして登録するためのリソー
スである。このリソースは、すでに、上述したMot
if等のツールキットで提供されている。
In the figure, six resources except
,,,, are interrelationship resources that define the interrelationships of multiple dialogs. On the other hand, is
It is a resource for registering post-processing function as a callback. This resource is already available from the above-mentioned Mot.
It is provided by tool kits such as if.

【0069】ここで、コールバックとは、ウィジェット
にイベントが発生した場合に、コールされる関数であ
る。このコールバックは、ウィジェットの生成時(シン
ボルの画像データ生成時)に、ウィンドウマネージャ1
2により、リソースファイル40に登録される。
Here, the callback is a function that is called when an event occurs in the widget. This callback is used by the window manager 1 when the widget is created (when the symbol image data is created).
2 is registered in the resource file 40.

【0070】このようなリソースをリソースファイル
40に登録しておくことにより、後処理が自動的に行わ
れる。これにより、複数のダイアログの相互関係と、そ
れに伴う後処理を切り分けて考えることができるので、
ウィンドウマネージャ12を作成する際の負担を軽減す
ることができる。
By registering such resources in the resource file 40, post-processing is automatically performed. This makes it possible to separate and consider the interrelationships of multiple dialogs and the post processing that accompanies them.
The load when creating the window manager 12 can be reduced.

【0071】各リソースを簡単に説明すると、,,
は、ダイアログ1,2,3の重なり優先度を示すリソ
ースである。は、ダイアログ1の表示によって削除さ
れるダイアログのリストを示すリソースである。は、
ダイアログ1の削除によって表示されるダイアログのリ
ストを示すリソースである。は、ダイアログ6の表示
によって消去されるダイアログのリストを示すリソース
である。は、ダイアログ1が消去される時の後処理関
数を示すリソースである。
Each resource will be briefly described.
Is a resource indicating the overlapping priority of the dialogs 1, 2, and 3. Is a resource indicating a list of dialogs deleted by displaying the dialog 1. Is
It is a resource showing a list of dialogs displayed by deleting dialog 1. Is a resource indicating a list of dialogs that are deleted by displaying the dialog 6. Is a resource indicating a post-processing function when the dialog 1 is deleted.

【0072】図8は、リソース,,に基づく処理
(第1の具体例)を説明するため図である。
FIG. 8 is a diagram for explaining a process (first specific example) based on resources ,.

【0073】今、図8(a)に示すように、ディスプレ
イ31の画面上に、ダイアログ2,3だけが表示されて
いるものとする。この場合、ダイアログ2の方がダイア
ログ3より優先度が高いため、ダイアログ2がダイアロ
グ3の上に重ね表示される。
Now, assume that only the dialogs 2 and 3 are displayed on the screen of the display 31, as shown in FIG. In this case, since the dialog 2 has a higher priority than the dialog 3, the dialog 2 is displayed over the dialog 3.

【0074】この状態において、アプリケーションプロ
グラム11からダイアログ1の表示要求が送られてくる
と、リソースファイル40からリソース,が読み出
される。
In this state, when a request for displaying the dialog 1 is sent from the application program 11, the resource is read from the resource file 40.

【0075】すなわち、表示要求のあったダイアログ1
に関連するリソースとしては、、、、がある。
しかし、これら4つのリソース,,,のうち、
ダイアログ1の表示要求に関連するリソースは、、
の2つである。したがって、この場合は、この2つのリ
ソース,だけが読み出される。
That is, the dialog 1 requested to be displayed
Resources related to are: ,,,.
However, of these four resources,
Resources related to the dialog 1 display request are:
There are two. Therefore, in this case, only these two resources are read.

【0076】読み出されたリソース,は、現在の画
面の表示状況に応じて適宜選択される。今の例では、現
在、画面上に、ダイアログ2,3が表示され、ダイアロ
グ4は表示されていない。したがって、この場合、リソ
ースが選択され、リソースは選択されない。その結
果、図8(b)に示すように、ダイアログ1がダイアロ
グ2の上に重ね表示される。
The resource read out is appropriately selected according to the current display status of the screen. In the present example, the dialogs 2 and 3 are currently displayed on the screen, and the dialog 4 is not currently displayed. Therefore, in this case, the resource is selected and the resource is not selected. As a result, the dialog 1 is displayed over the dialog 2 as shown in FIG.

【0077】図9は、リソースに基づく処理(第2の
具体例)を説明するための図である。
FIG. 9 is a diagram for explaining the resource-based processing (second specific example).

【0078】今、図9(a)に示すように、ダイアログ
4が表示されている状態において、アプリケーションプ
ログラム11からダイアログ1の表示要求が送られてき
たものとする。この場合、リソースファイル40から
は、上記の如く、リソース,が読み出される。
Now, as shown in FIG. 9A, it is assumed that a request for displaying the dialog 1 is sent from the application program 11 while the dialog 4 is being displayed. In this case, the resource is read from the resource file 40 as described above.

【0079】しかし、現在、画面には、ダイアログ4だ
けが表示されている。したがって、この場合、読み出さ
れた2つのリソース,のうち、リソースだけが選
択され、リソースは選択されない。その結果、図9
(b)に示すように、ダイアログ1が表示され、ダイア
ログ4が削除される。
However, at present, only the dialog 4 is displayed on the screen. Therefore, in this case, of the two read resources, only the resource is selected and the resource is not selected. As a result,
As shown in (b), the dialog 1 is displayed and the dialog 4 is deleted.

【0080】図10は、リソースに基づく処理(第3
の具体例)を説明するための図である。
FIG. 10 shows resource-based processing (third part).
FIG. 6 is a diagram for explaining a specific example of FIG.

【0081】今、図10(a)に示すように、ダイアロ
グ1が表示されている状態において、ダイアログ1の削
除要求が送られてきたものとする。この場合、この要求
に関連するリソースはのみであるから、この場合は、
このリソースのみが読み出される。その結果、図10
(b)に示すように、ダイアログ1が削除され、ダイア
ログ5が表示される。
Now, as shown in FIG. 10A, it is assumed that a request for deleting the dialog 1 has been sent while the dialog 1 is being displayed. In this case, the only resource associated with this request is
Only this resource is read. As a result, FIG.
As shown in (b), the dialog 1 is deleted and the dialog 5 is displayed.

【0082】図11は、リソース,に基づく処理
(第4の具体例)を説明するための図である。
FIG. 11 is a diagram for explaining the processing based on the resource (fourth specific example).

【0083】今、図11(a)に示すように、ダイアロ
グ1が表示されている状態において、ダイアログ6の表
示要求が送られてきたものとする。この場合、この要求
に関連するリソースはであるから、このリソースが
読み出される。
Now, as shown in FIG. 11A, it is assumed that the display request for the dialog 6 is sent while the dialog 1 is being displayed. In this case, this resource is read because the resource associated with this request is.

【0084】このリソースは、ダイアログ6の表示時
に、ダイアログ1の消去を指示するリソースである。リ
ソースファイル40には、このダイアログ1の消去に関
連するリソースとして、リソースが設けられている。
したがって、この場合は、リソースの他に、リソース
も読み出される。
This resource is a resource for instructing deletion of the dialog 1 when the dialog 6 is displayed. Resources are provided in the resource file 40 as resources related to the deletion of the dialog 1.
Therefore, in this case, in addition to the resource, the resource is also read.

【0085】その結果、図11(b)に示すように、リ
ソースに基づいて、ダイアログ6が表示され、ダイア
ログ1が消去される。このとき、リソースに基づい
て、ダイアログ1の消去に対する後処理が自動的に行わ
れる。
As a result, as shown in FIG. 11B, the dialog 6 is displayed and the dialog 1 is deleted based on the resources. At this time, post-processing for deleting the dialog 1 is automatically performed based on the resource.

【0086】(1)以上詳述したこの実施例によれば、
構築処理が相互に関連する複数のウィジェットの相互関
係を規定するリソースを用意し、この相互関係リソース
に基づいて、複数のウィジェットの構築処理を実行する
ようにしたので、次のような効果が得られる。
(1) According to this embodiment described in detail above,
Since the resource that defines the mutual relation of multiple widgets related to each other by the construction process is prepared and the construction process of multiple widgets is executed based on this mutual relation resource, the following effects can be obtained. To be

【0087】アプリケーションプログラムのコーディ
ングによって複数のウィジェットの相互関係を定義する
必要がないので、アプリケーションプログラムの開発時
に、GUIの開発に要する工数を短縮することができる
とともに、GUIの仕様変更やバグに対応する工数を短
縮することができる。
Since it is not necessary to define the interrelationship of a plurality of widgets by coding the application program, it is possible to reduce the man-hours required for developing the GUI at the time of developing the application program, and to cope with GUI specification changes and bugs. The number of steps required can be shortened.

【0088】従来に比べ、複数のウィジェットの相互
関係を把握し易いため、GUI上のバグ(画面のデット
ロックなど)の発生を防止することができる。
Since it is easier to understand the mutual relationship between a plurality of widgets as compared with the related art, it is possible to prevent a bug on the GUI (such as a deadlock on the screen) from occurring.

【0089】相互関係リソースを変更することによ
り、複数のウィジェットの相互関係を変更することがで
きるので、複雑な相互関係も、簡単にかつ自由に定義す
ることができる。
By changing the mutual relation resource, the mutual relation of a plurality of widgets can be changed, so that a complicated mutual relation can be defined easily and freely.

【0090】これにより、例えば、複数のダイアログを
グループ分けしておき、あるグループに属する複数のダ
イアログのうち、いずれか1つの削除要求を受けると、
そのグループに属するすべてのダイアログを削除すると
いった相互関係や、特定のダイアログが表示されている
間だけ、画面上に表示されるダイアログや隠れているダ
イアログを設定するといった相互関係も、簡単に定義す
ることができる。
Thus, for example, when a plurality of dialogs are divided into groups and a deletion request for any one of the plurality of dialogs belonging to a certain group is received,
Easily define relationships such as deleting all dialogs belonging to that group, and setting dialogs that are displayed on the screen or hidden dialogs only while a specific dialog is displayed. be able to.

【0091】(2)また、この実施例によれば、相互関
係リソースを、形態リソースと同様に、リソースファイ
ル40を使ってウィンドウマネージャ12に提供するよ
うにしたので、その提供手段を新たに構築することな
く、形態リソースの提供手段を使って提供することがで
きる。
(2) Further, according to this embodiment, since the mutual relation resource is provided to the window manager 12 by using the resource file 40 similarly to the form resource, the providing means is newly constructed. It is possible to provide using the form resource providing means without doing so.

【0092】(3)さらに、この実施例によれば、リソ
ースファイル40から相互関係リソースを読み出す際、
構築処理の実行要求のあったウィジェットに関連するす
べてのリソースを読み出すのではなく、要求のあった構
築処理に関連するリソースのみを読み出すようにしたの
で、リソースの読出し時間を短縮することができる。
(3) Further, according to this embodiment, when the interrelated resource is read from the resource file 40,
Since not all the resources related to the widget for which the construction process execution request has been made, but only the resources related to the construction process that has been requested are read, the resource read time can be shortened.

【0093】(4)さらにまた、この実施例によれば、
リソースファイル40に、相互関係リソースだけでな
く、後処理関数をコールバックとして登録するためのリ
ソースも登録するようにしたので、ウィジェットの相互
関係と、それに伴う後処理を切り分けて考えることがで
きる。これにより、ウィンドウマネージャ12作成時の
負担を軽減することができる。
(4) Furthermore, according to this embodiment,
In the resource file 40, not only the mutual relation resource but also the resource for registering the post-processing function as a callback is registered, so that the mutual relation of the widget and the post-processing associated therewith can be considered separately. As a result, the burden of creating the window manager 12 can be reduced.

【0094】図12はこの発明の第2の実施例の構成を
示すブロック図である。
FIG. 12 is a block diagram showing the configuration of the second embodiment of the present invention.

【0095】先の実施例では、ウィンドウマネージャ1
2により記憶内容を読み出されるリソースファイル40
を使って、相互関係リソースをウィンドウマネージャ1
2に提供する場合を説明した。
In the above embodiment, the window manager 1
Resource file 40 whose stored content is read by 2
A window manager for interrelated resources using
The case where it is provided to 2 was explained.

【0096】これに対し、この実施例は、アプリケーシ
ョンプログラムからウィンドウマネージャに、構築処理
の実行要求を伝えるためのメッセージを使って、アプリ
ケーションプログラムからウィンドウマネージャに相互
関係リソースを供給するようにしたものである。
On the other hand, in this embodiment, the application program supplies the interrelation resource to the window manager by using the message for transmitting the construction process execution request to the window manager. is there.

【0097】図12は、この場合の概念的な構成を示す
ブロック図である。なお、図12において、図1と同一
部には同一符号を付し、詳細な説明を省略する。
FIG. 12 is a block diagram showing a conceptual configuration in this case. 12, the same parts as those in FIG. 1 are designated by the same reference numerals, and detailed description thereof will be omitted.

【0098】図12において、16はこの実施例のアプ
リケーションプログラムであり、17は、同じく、ウィ
ンドウマネージャである。
In FIG. 12, 16 is an application program of this embodiment, and 17 is also a window manager.

【0099】この実施例のアプリケーションプログラム
16は、先の実施例のアプリケーションプログラム11
と異なり、上記要求メッセージを使って相互関係リソー
スをウィンドウマネージャ17に提供する機能を有す
る。このため、この実施例のウィンドウマネージ17に
は、リソースファイル40から相互関係リソースを読み
出す機能は設けられていない。
The application program 16 of this embodiment is the application program 11 of the previous embodiment.
Unlike the above, it has a function of providing the window manager 17 with the interrelated resource using the request message. For this reason, the window management 17 of this embodiment is not provided with the function of reading the interrelated resources from the resource file 40.

【0100】図13は、アプリケーションプログラム1
6の処理を示すフローチャートである。なお、図13に
おいて、先の図5と同一部には、同一符号を付して、詳
細な説明を省略する。
FIG. 13 shows the application program 1
It is a flowchart which shows the process of 6. In FIG. 13, the same parts as those in FIG. 5 are designated by the same reference numerals, and detailed description thereof will be omitted.

【0101】図13において、図4と異なる点は、イベ
ントの解読処理ステップS13の後に、リソースファイ
ル40から相互関係リソースを読み出すステップS16
が設けられている点である。
In FIG. 13, the point different from FIG. 4 is that, after the event decoding processing step S13, the step S16 of reading the interrelated resource from the resource file 40.
Is provided.

【0102】また、ウィンドウマネージャ12に対し
て、ウィジェットの構築処理を要求するステップS17
において、図14に示すように、要求メッセージのパラ
メータ部に、相互関係リソースが挿入される点である。
Also, in step S17, the window manager 12 is requested to execute widget construction processing.
In FIG. 14, as shown in FIG. 14, a mutual relation resource is inserted in the parameter part of the request message.

【0103】なお、この実施例においても、相互関係リ
ソースの読出しは、イベントの解読により決定された構
築処理に関連するリソースのみについてなされる。ま
た、メッセージに挿入されるリソースとしては、上述し
たような後処理関数を登録するためのリソースも含まれ
る。
Also in this embodiment, the reading of the interrelationship resource is performed only for the resource related to the construction processing determined by decoding the event. The resources to be inserted in the message also include the resources for registering the post-processing function as described above.

【0104】図15は、ウィンドウマネージャ17の処
理を示すフローチャートである。なお、図15におい
て、先の図6と同一部には、同一符号を付して、詳細な
説明を省略する。
FIG. 15 is a flow chart showing the processing of the window manager 17. In FIG. 15, the same parts as those in FIG. 6 are designated by the same reference numerals, and detailed description thereof will be omitted.

【0105】この図15において、図6と異なる点は、
図6における相互関係リソースの読出しステップS25
が省略されている点である。これは、この実施例では、
上記の如く、相互関係リソースがアプリケーションプロ
グラム16から与えられるからである。
The difference between FIG. 15 and FIG. 6 is that
Step S25 of reading out the interrelated resource in FIG.
Is omitted. This is, in this example,
This is because the interrelationship resource is given from the application program 16 as described above.

【0106】上記構成においては、アプリケーションプ
ログラム16で、ウィジェットの構築処理の実行要求が
発生すると、まず、リソースファイル40からこの構築
処理に関連する相互関係リソースを読み出す処理がなさ
れる(ステップS16)。この後、読み出された相互関
係リソースを含む要求メッセージをウィンドウマネージ
ャ17に供給する処理がなされる(ステップS17)。
In the above configuration, when the application program 16 issues a request to execute the widget construction process, first, a process is performed to read out the interrelated resource related to the construction process from the resource file 40 (step S16). After that, a process of supplying a request message including the read mutual relation resource to the window manager 17 is performed (step S17).

【0107】これにより、ウィンドウマネージャ17で
は、送られてきた相互関係リソースから、現在の画面の
表示状態に関連するリソースを選択する処理がなされる
(ステップS26)。この後、この選択リソースに基づ
いて、複数のウィジェットの構築処理の実行がなされ
る。
As a result, the window manager 17 performs a process of selecting a resource related to the current display state of the screen from the sent interrelated resources (step S26). After that, based on this selected resource, a process of constructing a plurality of widgets is executed.

【0108】以上詳述したこの実施例においても、先の
実施例と同様の効果を得ることができることは勿論、さ
らに、次のような効果が得られる。
In this embodiment described in detail above, the same effects as those of the previous embodiment can be obtained, and further, the following effects can be obtained.

【0109】すなわち、この実施例では、相互関係リソ
ースが要求メッセージを使って提供されるので、ウィン
ドウマネージャ17は構築処理の実行要求を受けた時点
で、すぐに、構築処理の実行を開始することができる。
That is, in this embodiment, since the interrelationship resource is provided by using the request message, the window manager 17 should immediately start the execution of the construction process upon receiving the construction process execution request. You can

【0110】以上、この発明の2つの実施例を説明した
が、この発明は、上述したような実施例に限定されるも
のではない。
Although two embodiments of the present invention have been described above, the present invention is not limited to the above-mentioned embodiments.

【0111】(1)例えば、先の第2の実施例では、相
互関係リソースをリソースファイル40から読み出す場
合を説明した。しかし、この実施例では、このリソース
をアプリケーションプログラム上にデータとして設定す
るようにしてもよい。
(1) For example, in the above-mentioned second embodiment, the case where the mutual relation resource is read from the resource file 40 has been described. However, in this embodiment, this resource may be set as data on the application program.

【0112】このような構成であっても、相互関係を変
更する場合は、プログラムに書き込まれたデータだけを
変更すればよいので、プログラムのコーディングを変更
する場合に比べ、変更が容易となる。
Even with such a configuration, when the mutual relationship is changed, only the data written in the program need be changed, so that the change is easier than the case where the coding of the program is changed.

【0113】(2)また、先の第1,第2実施例では、
この発明をXウィンドウ・システムに適用する場合を説
明した。しかし、この発明は、GUIを有するシステム
であれば、Xウィンドウ・システム以外のシステムにも
適用することができる。
(2) Further, in the first and second embodiments described above,
The case where the present invention is applied to the X window system has been described. However, the present invention can be applied to systems other than the X window system as long as the system has a GUI.

【0114】すなわち、GUIを有するシステムであれ
ば、Xウィンドウ・システムのようなマルチ・ウィンド
ウ・システム以外のウィンドウ・システム、さらには、
ウィンドウ・システム以外のシステムにも適用すること
ができる。
That is, if the system has a GUI, a window system other than the multi-window system such as the X window system,
It can be applied to systems other than the window system.

【0115】(3)このほかにも、この発明は、その要
旨を逸脱しない範囲で種々様々変形実施可能なことは勿
論である。
(3) In addition to the above, the present invention can of course be variously modified without departing from the scope of the invention.

【0116】[0116]

【発明の効果】以上詳述したようにこの発明によれば、
構築処理が相互に関連する複数のグラフィック部品の相
互関係を規定するリソースを用意し、この相互関係リソ
ースに基づいて、複数のグラフィック部品の構築処理を
実行するようにしたので、プログラムのコーディングに
より、相互関係を定義する場合の問題を解決可能なグラ
フィック部品管理装置を提供することができる。
As described above in detail, according to the present invention,
A resource that defines the mutual relationship between a plurality of graphic components related to each other by the construction process is prepared, and the construction process of the plurality of graphic components is executed based on this mutual relation resource. It is possible to provide a graphic component management device capable of solving a problem when defining a mutual relationship.

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

【図1】この発明の第1の実施例の概念的な構成を示す
ブロック図である。
FIG. 1 is a block diagram showing a conceptual configuration of a first embodiment of the present invention.

【図2】第1の実施例の相互関係リソースの一例を示す
図である。
FIG. 2 is a diagram showing an example of a mutual relation resource according to the first embodiment.

【図3】第1の実施例のリソースファイルの構成の一例
を示す図である。
FIG. 3 is a diagram showing an example of a configuration of a resource file according to the first embodiment.

【図4】第1の実施例のハードウェア構成を示す図であ
る。
FIG. 4 is a diagram showing a hardware configuration of a first embodiment.

【図5】第1の実施例のアプリケーションプログラムの
処理を示すフローチャートである。
FIG. 5 is a flowchart showing processing of an application program of the first embodiment.

【図6】第1の実施例のウィンドウマネージャの処理を
示すフローチャートである。
FIG. 6 is a flowchart showing a process of a window manager according to the first embodiment.

【図7】第1の実施例の相互関係リソースの具体例を示
す図である。
FIG. 7 is a diagram showing a specific example of a mutual relation resource according to the first embodiment.

【図8】第1の実施例の処理の第1の具体例を説明する
ための図である。
FIG. 8 is a diagram for explaining a first specific example of the process of the first embodiment.

【図9】第1の実施例の処理の第2の具体例を説明する
ための図である。
FIG. 9 is a diagram for explaining a second specific example of the processing of the first embodiment.

【図10】第1の実施例の処理の第3の具体例を説明す
るための図である。
FIG. 10 is a diagram for explaining a third specific example of the processing according to the first embodiment.

【図11】第1の実施例の処理の第4の具体例を説明す
るための図である。
FIG. 11 is a diagram for explaining a fourth specific example of the processing according to the first embodiment.

【図12】この発明の第2の実施例の概念的な構成を示
すブロック図である。
FIG. 12 is a block diagram showing a conceptual configuration of a second embodiment of the present invention.

【図13】第2の実施例のアプリケーションプログラム
の処理を示すフローチャートである。
FIG. 13 is a flowchart showing the processing of an application program of the second embodiment.

【図14】第2の実施例の要求メッセージの構成を示す
図である。
FIG. 14 is a diagram showing a structure of a request message according to a second embodiment.

【図15】第2の実施例のウィンドウマネージャの処理
を示すフローチャートである。
FIG. 15 is a flowchart showing the processing of the window manager of the second embodiment.

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

10…クライアント 20…サーバ 30…ハードウエア部 40…リソースファイル 11,16…アプリケーションプログラム 12,17…ウィンドウマネージャ 31…ディスプレイ 32…マウス 33…キーボード 34…CPU 35…メモリ 36…ディスク 10 ... Client 20 ... Server 30 ... Hardware section 40 ... Resource file 11, 16 ... Application program 12, 17 ... Window manager 31 ... Display 32 ... Mouse 33 ... Keyboard 34 ... CPU 35 ... Memory 36 ... Disk

Claims (7)

【特許請求の範囲】[Claims] 【請求項1】 グラフィカル・ユーザ・インタフェース
を構築するための処理が相互に関連する複数のグラフィ
ック部品の相互関係を管理するグラフィック部品管理装
置において、 前記複数のグラフィック部品の相互関係を規定する相互
関係規定情報を提供する相互関係規定情報提供手段と、 前記処理の実行要求を受けると、前記相互関係規定情報
提供手段により提供される相互関係規定情報に基づい
て、前記複数のグラフィック部品の処理を実行する処理
実行手段とを具備したことを特徴とするグラフィック部
品管理装置。
1. A graphic component management apparatus for managing a mutual relation of a plurality of graphic components related to each other by a process for constructing a graphical user interface, the mutual relation defining the mutual relation of the plurality of graphic components. Mutual relationship regulation information providing means for providing regulation information, and, upon receiving the execution request of the processing, executes processing of the plurality of graphic parts based on the mutual relationship regulation information provided by the mutual relationship regulation information providing means. And a processing execution means for performing the processing.
【請求項2】 前記相互関係規定情報提供手段は、前記
処理実行手段により記憶内容が読み出される情報記憶手
段であることを特徴とする請求項1記載のグラフィック
部品管理装置。
2. The graphic component management apparatus according to claim 1, wherein the mutual relation defining information providing unit is an information storing unit whose storage content is read by the process executing unit.
【請求項3】 前記処理実行手段は、 前記情報記憶手段から前記実行要求によって要求された
処理に関連する相互関係規定情報のみを読み出す情報読
出し手段と、 この情報読出し手段により読み出された相互関係規定情
報の中から、現在の画面の表示状態に関連する相互関係
規定情報のみを選択する情報選択手段と、 この情報選択手段により選択された相互関係規定情報に
基づいて、前記複数のグラフィック部品の処理を実行す
る実行手段とを具備したことを特徴とする請求項2記載
のグラフィック部品管理装置。
3. The processing execution means reads information from the information storage means only mutual relationship defining information related to the processing requested by the execution request, and the mutual relationship read by the information reading means. Information selecting means for selecting only mutual relationship defining information related to the current screen display state from the defining information, and the plurality of graphic parts based on the mutual relationship defining information selected by the information selecting means. 3. The graphic component management device according to claim 2, further comprising an execution unit that executes a process.
【請求項4】 前記相互関係規定情報提供手段は、前記
処理の実行要求が発生すると、この要求を前記処理実行
手段に伝えるためのメッセージを使って、前記相互関係
規定情報を前記処理実行手段に供給するように構成され
ていることを特徴とする請求項1記載のグラフィック部
品管理装置。
4. When the execution request for the processing is generated, the mutual relationship defining information providing means uses the message for transmitting the request to the processing executing means, and sends the mutual relationship defining information to the processing executing means. The graphic component management device according to claim 1, wherein the graphic component management device is configured to supply the graphic component.
【請求項5】 前記相互関係規定情報提供手段は、 前記相互関係規定情報を記憶する情報記憶手段と、 前記処理の実行要求が発生すると、前記情報記憶手段か
ら前記相互関係規定情報を読み出す情報読出し手段と、 この情報読出し手段により読み出された相互関係規定情
報を、前記メッセージを使って前記処理実行手段に供給
する情報供給手段とを具備したことを特徴する請求項4
記載のグラフィック部品管理装置。
5. The mutual relationship defining information providing means, an information storing means for storing the mutual relationship defining information, and an information reading operation for reading the mutual relationship defining information from the information storing means when an execution request for the process is issued. 5. A means and an information supplying means for supplying the mutual relation defining information read by the information reading means to the processing executing means by using the message.
Graphic component management device described.
【請求項6】 前記情報提供手段は、前記実行要求によ
って要求される処理に関連する相互関係規定情報のみを
前記処理実行手段に供給するように構成されていること
を特徴とする請求項4記載のグラフィック部品管理装
置。
6. The information providing unit is configured to supply only the interrelationship defining information related to the process requested by the execution request to the process executing unit. Graphic component management device.
【請求項7】 前記処理実行手段は、 前記相互関係規定情報提供手段により供給された相互関
係規定情報の中から、現在の画面の表示状態に関連する
相互関係規定情報のみを選択する情報選択手段と、 この情報選択手段により選択された相互関係規定情報に
基づいて、前記複数のグラフィック部品の処理を実行す
る実行手段とを具備したことを特徴とする請求項6記載
のグラフィック部品管理装置。
7. The information selecting means, wherein the processing executing means selects only the mutual relationship defining information related to the current display state of the screen from the mutual relationship defining information supplied by the mutual relationship defining information providing means. 7. The graphic component management apparatus according to claim 6, further comprising: an execution unit that executes processing of the plurality of graphic components based on the mutual relationship defining information selected by the information selection unit.
JP5335024A 1993-12-28 1993-12-28 Graphic parts management device Pending JPH07200233A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5335024A JPH07200233A (en) 1993-12-28 1993-12-28 Graphic parts management device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5335024A JPH07200233A (en) 1993-12-28 1993-12-28 Graphic parts management device

Publications (1)

Publication Number Publication Date
JPH07200233A true JPH07200233A (en) 1995-08-04

Family

ID=18283896

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5335024A Pending JPH07200233A (en) 1993-12-28 1993-12-28 Graphic parts management device

Country Status (1)

Country Link
JP (1) JPH07200233A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100848129B1 (en) * 2006-12-07 2008-07-24 한국전자통신연구원 Method for providing a personalization service in ubiquitous environment and intelligent gadget therefor
JP2011504334A (en) * 2007-11-15 2011-02-03 フランス・テレコム Method and apparatus for controlling display of information area on standby screen of mobile terminal
WO2014192045A1 (en) * 2013-05-31 2014-12-04 三菱電機株式会社 Pop-up display device
JP2021514093A (en) * 2018-02-20 2021-06-03 タタ・コンサルタンシー・サーヴィシズ・リミテッド Server control framework for controlling table-structured widgets

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100848129B1 (en) * 2006-12-07 2008-07-24 한국전자통신연구원 Method for providing a personalization service in ubiquitous environment and intelligent gadget therefor
US7822804B2 (en) 2006-12-07 2010-10-26 Electronics And Telecommunications Research Institute Method for providing personalization service in ubiquitous environment and intelligent gadget thereof
JP2011504334A (en) * 2007-11-15 2011-02-03 フランス・テレコム Method and apparatus for controlling display of information area on standby screen of mobile terminal
WO2014192045A1 (en) * 2013-05-31 2014-12-04 三菱電機株式会社 Pop-up display device
CN105359207A (en) * 2013-05-31 2016-02-24 三菱电机株式会社 Pop-up display device
JP6058132B2 (en) * 2013-05-31 2017-01-11 三菱電機株式会社 Pop-up display device
JP2021514093A (en) * 2018-02-20 2021-06-03 タタ・コンサルタンシー・サーヴィシズ・リミテッド Server control framework for controlling table-structured widgets

Similar Documents

Publication Publication Date Title
US10157246B2 (en) System and method for scheduling the execution of model components using model events
US5961610A (en) Systems, methods and apparatus for generating and controlling display of medical images
US8327290B2 (en) User task interface in a web application
JP4812337B2 (en) Method and apparatus for generating a form using a form type
US8762936B2 (en) Dynamic design-time extensions support in an integrated development environment
JP4392887B2 (en) Preview control
CA2211373C (en) Learn mode script generation in a medical imaging system
US20090089756A1 (en) Visual debugger for declarative/data-flow applications
US6707469B1 (en) Synchronous execution in a medical imaging system
US20090013321A1 (en) Managing virtual computers
US20130111277A1 (en) System and Method of Error Handling in a Platform as a Service Environment
US20080010082A1 (en) System and method for business process management
JP3265131B2 (en) Event generation distribution method
US5831612A (en) Cell overlap detection and correction in a medical imaging system
US7603624B2 (en) System and method for styling content in a graphical user interface control
JP2553801B2 (en) Graphical user interface management method
US8719704B2 (en) Seamless integration of additional functionality into enterprise software without customization or apparent alteration of same
JPH07200233A (en) Graphic parts management device
US20050120352A1 (en) Meta directory server providing users the ability to customize work-flows
US20080201691A1 (en) Version resiliency for a host application and custom code
JP2006268125A (en) Application server and its program
CN111124386A (en) Unity-based animation event processing method, device, equipment and storage medium
US20230230324A1 (en) Method, System, Equipment and Medium for Modifying the Layering Layer Information of Finite Element Model Unit
JP2907277B2 (en) User interface system for supervisory control system
US20230266978A1 (en) No-code metadata-driven provisioning of generic document service controls