JP2011238151A - Screen program generation device - Google Patents
Screen program generation device Download PDFInfo
- Publication number
- JP2011238151A JP2011238151A JP2010110798A JP2010110798A JP2011238151A JP 2011238151 A JP2011238151 A JP 2011238151A JP 2010110798 A JP2010110798 A JP 2010110798A JP 2010110798 A JP2010110798 A JP 2010110798A JP 2011238151 A JP2011238151 A JP 2011238151A
- Authority
- JP
- Japan
- Prior art keywords
- screen
- definition information
- structure fragment
- storage unit
- fragment
- 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
Links
Images
Abstract
Description
本発明は、画面プログラムを自動生成するための画面プログラム生成装置に関するものである。 The present invention relates to a screen program generation device for automatically generating a screen program.
業務システムなどの画面プログラムの開発において、開発の生産性を向上させる手法として、画面プログラムの自動生成のアプローチがある。 In the development of screen programs such as business systems, there is an approach for automatically generating screen programs as a method for improving development productivity.
従来、そのような画面プログラムの自動生成装置および方法として、特開2004−302571号公報および特開2002−215393号公報に記載のように、画面の設計情報に基づき画面プログラムを自動生成することで、プログラミング工数を削減するのに加え、設計情報とプログラムの同期を人手で行う手間を省くことにより、開発生産性を向上させるものがある。 Conventionally, as such an apparatus and method for automatically generating a screen program, as described in JP-A-2004-302571 and JP-A-2002-215393, a screen program is automatically generated based on screen design information. In addition to reducing programming man-hours, there is a technique that improves development productivity by eliminating the manual labor of synchronizing design information and programs.
一般に画面プログラムでは、ユーザ操作性の観点から、画面デザインが統一されていることが重要である。そのため、画面を共通的なフレームで構成し、例えば、画面上部に画面タイトルやクラムトレイルのようなグローバルナビゲーションといった要素を含む共通領域を全画面に構成し、画面の共通的なUI(User Interface)部品を画面によらず同一デザインにする、例えば、ログアウトするためのボタンは画面によらず同じ「ログアウト」にするなど、画面設計を共通化することが望ましい。 In general, in screen programs, it is important that the screen design is unified from the viewpoint of user operability. For this reason, the screen is composed of a common frame. For example, a common area including elements such as a screen title and a global navigation such as a crumb trail is formed on the entire screen, and a common UI (User Interface) of the screen is formed. It is desirable to make the screen design common, for example, to make the parts have the same design regardless of the screen, for example, the button for logging out is the same “logout” regardless of the screen.
ところが、特開2004−302571号に記載の装置では、画面プログラムを構成する各画面について画面の設計情報を定義し、個々の画面設計情報を入力として個々の画面プログラムを自動生成するため、画面の共通部分の仕様は、個々の画面の設計情報に分散する。そのため、プログラムのエンハンス(新しい機能の追加)の際に、共通部分の仕様を変更しようとしたとき、各画面設計情報に散在した共通仕様の情報を個々に修正する必要がある。 However, in the apparatus described in Japanese Patent Application Laid-Open No. 2004-302571, screen design information is defined for each screen constituting the screen program, and each screen program is automatically generated by inputting each screen design information. The specifications of the common part are distributed in the design information of each screen. Therefore, when changing the specification of the common part during program enhancement (addition of a new function), it is necessary to individually correct the information of the common specification scattered in each screen design information.
このような作業は、一貫性を保つように人手で注意深く行う必要があり、人為的な誤りを生じる危険があるため、仕様書のメンテナンスに余分な工数を要する。 Such work needs to be done carefully by hand to maintain consistency, and there is a risk of human error, so extra work is required to maintain the specifications.
即ち、プログラムのエンハンスまで含めた開発ライフサイクル全体で考えた場合、特開2004−302571号に記載の装置では、仕様書のメンテナンス工数の点で開発の生産性が阻害されることがある。 That is, when considering the entire development life cycle including the enhancement of the program, the productivity described in Japanese Patent Application Laid-Open No. 2004-302571 may impede development productivity in terms of maintenance man-hours for specifications.
一方、特開2002−215393号に記載の方法では、画面プログラム全体で1つのテンプレートを用意し、各画面個別の設計情報については、画面個別に定義する仕組みとなっている。この方法によれば、画面が全体で1つの共通的なフレームを持つような画面プログラムについては、共通部分の画面設計情報を1箇所に集約して、仕様書のメンテナンス工数の問題を回避できる。 On the other hand, in the method described in Japanese Patent Laid-Open No. 2002-215393, one template is prepared for the entire screen program, and design information for each screen is defined for each screen. According to this method, with respect to a screen program in which the screen has one common frame as a whole, the screen design information of the common part can be aggregated in one place, and the problem of the maintenance man-hour of the specification can be avoided.
しかし、一般に画面プログラムでは、画面グループごとに異なるフレームをもつケースや、フレームが階層的になるケースといったような、テンプレートで表現できない共通性を持つケースもあり、そのようなケースには、特開2002−215393号に記載の方法では、対応できない。 However, in general, there are cases in which screen programs have commonality that cannot be expressed by templates, such as cases having different frames for each screen group and cases in which frames are hierarchical, in such cases, The method described in 2002-215393 cannot respond.
さらに、特開2002−215393号に記載の方法のようなテンプレートによる手法では、画面プログラムの仕様情報を定義する際、全画面の共通部分を切り出すために、全画面の仕様が明確である必要がある。 Furthermore, in the method using a template such as the method described in Japanese Patent Laid-Open No. 2002-215393, when defining the specification information of the screen program, the specification of the entire screen needs to be clear in order to cut out the common part of the entire screen. is there.
しかも、近年、一般的に行われつつある反復型の開発プロセスでは、全画面の仕様を最初の段階で明確にすることは難しく、そのようなプロセスにテンプレート手法を適用した場合、開発が進むにつれてテンプレートに適合しない画面が出た場合、テンプレートと全画面の仕様定義を修正するのに多くの手間が必要になる。 Moreover, in the iterative development process that is generally performed in recent years, it is difficult to clarify the specifications of the full screen at the first stage, and when the template method is applied to such a process, as the development progresses When a screen that does not match the template appears, it takes a lot of work to modify the template and full screen specification definition.
本発明の目的は、複数の画面の仕様定義情報を各画面共通の仕様定義情報と各画面固有の仕様定義情報に区別して管理し、エンハンス時に各画面共通の仕様定義情報を自動で修正することができる画面プログラム生成装置を提供することにある。 An object of the present invention is to manage specification definition information of a plurality of screens by distinguishing them between specification definition information common to each screen and specification definition information specific to each screen, and automatically correct the specification definition information common to each screen during enhancement. An object of the present invention is to provide a screen program generation apparatus capable of
上記目的を達成するため、本発明は、複数の画面に関する画面仕様定義情報を、各画面に共通する部分に関する画面仕様定義情報と各画面固有の部分に関する画面仕様定義情報に区別して記憶するとともに、各画面に共通する部分に関する画面仕様定義情報のうち画面インタフェース部品に関する画面仕様定義情報と構造に関する画面仕様定義情報をそれぞれ1つの画面仕様定義情報として記憶するようにしたものである。この際、プログラムのエンハンス時に、複数画面で共通の画面仕様定義情報を変更する必要が生じたときには、それぞれ1つの画面仕様定義情報を自動で修正可能とするものである。 In order to achieve the above object, the present invention stores the screen specification definition information related to a plurality of screens separately in the screen specification definition information related to a part common to each screen and the screen specification definition information related to a part specific to each screen, Of the screen specification definition information related to the portions common to each screen, the screen specification definition information related to the screen interface component and the screen specification definition information related to the structure are stored as one screen specification definition information. At this time, when it is necessary to change the screen specification definition information common to a plurality of screens during program enhancement, each of the screen specification definition information can be automatically corrected.
本発明によれば、エンハンス時に各画面共通の仕様定義情報を、人手を確保することなく自動で修正することができる。 According to the present invention, it is possible to automatically correct the specification definition information common to each screen at the time of enhancement without securing manpower.
以下、本発明の一実施形態を図面に基づいて説明する。 Hereinafter, an embodiment of the present invention will be described with reference to the drawings.
本実施例は、複数の表示領域と、いずれかの表示領域内に配置される画面UI部品を構成要素とする複数の画面の画面プログラムを生成するに際して、各画面共通の画面UI部品定義情報を一つの画面UI部品定義情報として記憶し、各画面共通の画面構造断片定義情報を一つの画面構造断片定義情報として記憶し、各画面共通の仕様定義情報を修正するときには、一つの画面UI部品定義情報と一つの画面構造断片定義情報をそれぞれ修正するものである。 In this embodiment, when generating a screen program of a plurality of screens having a plurality of display areas and screen UI parts arranged in any of the display areas as component elements, the screen UI part definition information common to the screens is generated. Store as one screen UI component definition information, store screen structure fragment definition information common to each screen as one screen structure fragment definition information, and modify one screen UI component definition Information and one screen structure fragment definition information are each corrected.
図1は、本発明に係る画面プログラム生成装置を適用した画面プログラム生成システムの一実施例を示す構成図である。図1において、画面プログラム生成システムは、表示装置101と、入力装置102と、本実施形態の画面プログラム生成装置103から構成される。
FIG. 1 is a configuration diagram showing an embodiment of a screen program generation system to which a screen program generation device according to the present invention is applied. In FIG. 1, the screen program generation system includes a
表示装置101は、画面プログラム生成装置103と接続されており、画面仕様定義情報の編集操作を行う際に、利用者にグラフィカルに情報を提示する。また、表示装置101は、画面プログラムのプログラムコード生成処理の実行状況の通知など、生成処理の実行状況の情報についても利用者に通知する。
The
入力装置102は、画面プログラム生成装置103と接続されており、画面仕様定義情報の編集を行う際、利用者の操作に応答して、画面仕様定義情報を対話形式で画面プログラム生成装置103に入力する。また、入力装置102は、画面プログラムのプログラムコード生成処理の実行や停止、実行状況の把握といった生成処理の制御を対話的に行う。
The
画面プログラム生成装置103は、定義情報編集部104と、画面UI(ユーザインタフェース)部品定義情報記憶部105と、画面構造断片定義情報記憶部106と、画面構成定義情報記憶部107と、画面プログラムコード生成部108と、画面UI部品コード生成規則記憶部109と、画面構造断片コード生成規則記憶部110と、画面プログラムコード記憶部111と、画面仕様定義情報再構成部112から構成される。
The screen
定義情報編集部104と、画面プログラムコード生成部108および画面仕様定義情報再構成部112は、例えば、CPU(Central Processing Unit)またはマイクロプロセッサを有し、CPUまたはマイクロプロセッサが、定義情報編集プログラム、画面プログラムコード生成プログラムまたは画面仕様定義情報再構成プログラムを起動することで、定義情報編集部104、画面プログラムコード生成部108または画面仕様定義情報再構成部112が構成される。
The definition
画面UI部品定義情報記憶部105と、画面構造断片定義情報記憶部106と、画面構成定義情報記憶部107と、画面UI部品コード生成規則記憶部109と、画面構造断片コード生成規則記憶部110および画面プログラムコード記憶部111は、例えば、RAM(Random Access Memory)なでのメモリで構成される。
Screen UI part definition
定義情報編集部104は、例えば、画面プログラムを生成するための画面が複数の画面で構成されている場合、各画面の仕様を定義した情報である画面仕様定義情報の編集を行う。画面仕様定義情報は、画面UI部品定義情報と、画面構造断片定義情報および画面構成定義情報の3種類の情報から構成される。
For example, when the screen for generating the screen program is composed of a plurality of screens, the definition
定義情報編集部104は、これら各記憶部105、106、107に記憶された画面仕様定義情報を表示装置101および入力装置102を介して入出力する。例えば、定義情報編集部104は、3種類の画面仕様定義情報を入力装置102から入力し、画面UI部品定義情報を画面UI部品定義情報記憶部105に記憶し、画面構造断片定義情報を画面構造断片定義情報記憶部106に記憶し、画面構成定義情報を画面構成定義情報記憶部107に記憶する。
The definition
画面UI部品定義情報記憶部105は、例えば、各画面が、複数の表示領域といずれかの表示領域内に配置される画面UI部品を構成要素とする場合、画面UI部品、例えば、ボタンやラベルなどに関する仕様の定義情報である画面UI部品定義情報を記憶する。画面UI部品定義情報記憶部105は、画面プログラム生成装置103の生成対象とする画面プログラムが、例えば、複数画面を構成するための画面プログラムであった場合、全画面の画面UI部品定義情報を一元的に管理して記憶する。
For example, when each screen includes a plurality of display areas and screen UI parts arranged in one of the display areas, the screen UI part definition
この際、複数の画面で共通的に使われる画面UI部品に関しては、画面UI部品定義情報は1つの定義情報として記憶する。即ち、画面UI部品定義情報記憶部105は、画面UI部品定義情報を、各画面固有の画面UI部品定義情報と各画面共通の画面UI部品定義情報に区別して記憶し、各画面共通の画面UI部品定義情報を1つの定義情報として記憶する。
At this time, regarding the screen UI parts that are commonly used in a plurality of screens, the screen UI part definition information is stored as one definition information. That is, the screen UI component definition
画面構造断片定義情報記憶部106は、各画面の構造断片に関する画面仕様定義情報である画面構造断片定義情報を記憶する。各画面は、構成要素、例えば、UI部品や矩形領域などの互いの包含により構造を作る。構造断片とは、各画面の画面構造の部分構造である。例えば、HTML(HyperText Markup Language)で画面を構成する場合を例にとると、画面は、グリッドの階層構造により表現できるため、構造断片は、グリッドの部分階層構造となる。
The screen structure fragment definition
この際、画面の表示領域を規定する線、例えば、鉛直方向の線、水平方向の線をそれぞれグリッドとし、鉛直方向のグリッドと水平方向のグリッドで囲まれた表示領域(矩形領域)内をセルとすると、このセル内を鉛直方向の複数のグリッドと水平方向の複数のグリッドで複数の表示領域に分割したときには、この分割により得られた各表示領域内には、それぞれ小さいセルが形成されることになる。 At this time, lines defining the display area of the screen, for example, vertical lines and horizontal lines are set as grids, and cells are displayed in the display area (rectangular area) surrounded by the vertical grid and the horizontal grid. Then, when this cell is divided into a plurality of display areas by a plurality of vertical grids and a plurality of horizontal grids, small cells are formed in the respective display areas obtained by this division. It will be.
図2は、グリッドの階層構造の例である。最も上位のグリッド201は、鉛直方向にセル211、212が2つ並ぶグリッドである。グリッド201を親のグリッドとした場合、上側のセル211には、子のグリッド202が含まれ、下側のセル212には、子のグリッド203が含まれる。子のグリッド202は、水平方向にセル213、214、215が3つ並ぶグリッドであり、各セル213、214、215には、グリッドは含まれていない。子のグリッド203は、鉛直方向にセル216、217が2つ並ぶグリッドであり、下側のセル217には、子のグリッド204が含まれる。
FIG. 2 is an example of the hierarchical structure of the grid. The
グリッド201と、グリッド202と、グリッド203およびグリッド204を全て含むグリッドで構成される構造も構造断片であり、また、各部分構造、例えば、グリッド203とグリッド204から構成される構造も構造断片である。なお、各画面のUI要素である画面UI部品は、いずれかのセル内に配置される。
A structure including a
画面構造断片定義情報記憶部106は、画面プログラム生成装置103が生成対象とする1セットの画面プログラム、例えば、複数画面を構成する画面プログラムの場合、全画面の部分構造を一元的に管理する。複数の画面で共通的な部分構造は、画面構造断片定義情報記憶部106では、1つの定義情報として記憶する。即ち、画面構造断片定義情報記憶部106は、各画面の部分階層構造を示す構造断片に関する画面仕様定義情報である画面構造断片定義情報を、各画面固有の画面構造断片定義情報と各画面共通の画面構造断片定義情報に区別して記憶するとともに、各画面共通の画面構造断片定義情報を1つの画面構造断片定義情報として記憶する。
In the case of a set of screen programs to be generated by the screen
画面構成定義情報記憶部107は、画面の構成に関する仕様定義情報である画面構成定義情報を記憶する。画面構成定義情報記憶部107は、画面プログラム生成装置103が生成対象とする1セットの画面プログラム、例えば、複数画面を構成するための画面プログラムの場合、各画面の構造定義情報を画面ごとに1つずつ記憶する。
The screen configuration definition
この際、画面構成定義情報記憶部107は、各画面の構成に関する画面仕様定義情報であって、各画面固有の部分と各画面共通の部分との結合点に関する情報を含む画面構成定義情報を記憶する。
At this time, the screen configuration definition
画面プログラムコード生成部108は、画面UI部品定義情報記憶部105、画面構造断片記憶部106、および、画面構成定義情報記憶部107に記憶された画面仕様定義情報を入力し、入力した画面仕様定義情報をコード生成規則に従ってコードに変換して、画面プログラムコードを機械的に生成し、生成した画面プログラムコードを画面プログラムコード記憶部111に格納する。
The screen program
画面UI部品コード生成規則記憶部109は、画面UI部品定義情報記憶部105に記憶された画面UI部品定義情報について、画面UI部品のタイプごとに画面UI部品定義情報からプログラムコードの断片を生成するためのコード生成規則である画面UI部品コード生成規則を記憶する。
The screen UI component code generation rule storage unit 109 generates program code fragments from the screen UI component definition information for each type of screen UI component for the screen UI component definition information stored in the screen UI component definition
画面構造断片コード生成規則記憶部110は、画面構造断片定義情報記憶部106に記憶された画面構造断片定義情報からプログラムコードの断片を生成するためのコード生成規則である画面構造断片コード生成規則を記憶する。
The screen structure fragment code generation
画面プログラムコード記憶部111は、画面プログラムコード生成部108が生成した画面プログラムコードを記憶する。
The screen program code storage unit 111 stores the screen program code generated by the screen program
画面仕様定義情報再構成部112は、画面構造断片定義情報記憶部106に記憶された画面構造断片定義情報の分割を行い、画面構成定義情報記憶部107に記憶されている画面構成定義情報のうち、分割した画面構造断片定義情報を参照していた画面構成定義情報を、分割後の構造断片定義情報を参照するように再構成する。
The screen specification definition
次に、本実施形態において、複数の画面を構成するための画面プログラムであって、各画面共通の部分と各画面固有の部分を有する複数の画面を構成するための画面プログラムを自動生成する場合の全体動作を、図3に基づいて説明する。 Next, in this embodiment, when a screen program for configuring a plurality of screens and automatically generating a screen program for configuring a plurality of screens having a portion common to each screen and a portion specific to each screen The overall operation will be described with reference to FIG.
まず、定義情報編集部104は、利用者が編集した画面仕様定義情報を表示装置101と入力装置102から入力し、入力した画面仕様定義情報を識別して、画面UI部品定義情報記憶部105と、画面構造断片定義情報記憶部106および、画面構成定義記憶部107に記憶する(S301)。
First, the definition
次に、画面プログラムコード生成部108は、画面UI部品定義情報記憶部105、画面構造断片定義情報記憶部106、および、画面構成定義記憶部107にそれぞれ記憶された画面仕様定義情報から、画面UI部品コード生成規則記憶部109に記憶された画面UI部品コード生成規則と画面構造断片コード生成規則記憶部110に記憶された画面構造断片コード生成規則に従って画面プログラムコードを生成し、生成した画面プログラムコードを画面プログラムコード記憶部111に記憶する(S302)。以下、各ステップS301、S302における具体的内容について説明する。
Next, the screen program
まず、画面UI部品定義情報記憶部105、画面構造断片定義情報記憶部106、および、画面構成定義情報記憶部107にそれぞれ記憶する画面仕様定義情報について、図4に示す画面プログラムを例に説明する。
First, the screen specification definition information stored in each of the screen UI component definition
図4は、共通のフレーム部分を有する2つの画面の構成の例を示す。各画面(第1の画面と第2の画面)は、共通のフレーム部分(各画面共通のグリッド)403を持ち、画面上部404の画面タイトル401と終了ボタン402は各画面共通である。この場合、画面上部404を構成するグリッドで囲まれた2つの表示領域(セル)内に、画面UI部品の画面タイトル401と終了ボタン402が配置される。
FIG. 4 shows an example of the configuration of two screens having a common frame portion. Each screen (the first screen and the second screen) has a common frame portion (a grid common to each screen) 403, and the
画面下部405は、各画面により異なる。例えば、第1の画面固有の部分408は、第1の画面固有の画面UI部品として、テキストフィールド406や検索ボタン407などを含む構成である。第2の画面固有の部分409は、第2の画面固有の画面UI部品として、編集ボタン410や取消ボタン411などを含む構成である。
The
図5は、画面UI部品定義情報記憶部105に記憶される画面UI部品定義情報を示す。1つの画面UI部品に関する画面UI部品定義情報は、画面仕様定義情報の一要素として、画面UI部品ID(IDentifier)501、名称502、タイプ503、表示文字列504、0セット以上の属性値を含む属性(属性と属性値がペアとなる)505〜508で構成される。
FIG. 5 shows screen UI component definition information stored in the screen UI component definition
画面UI部品ID501は、画面UI部品を一意に識別する識別子である。名称502は、画面UI部品の名称であり、利用者の理解を助けるためのものである。タイプ503は、ボタンや1行テキスト入力など、画面UI部品の種別を示す識別子である。表示文字列504は、画面UI部品が画面表示される際の文字列表現である。属性値を含む属性505〜508は、画面UI部品の詳細な振る舞いや見た目を決定する情報であり、タイプ503によって指定すべき属性は異なる。
The screen
レコード509は、図4の画面タイトル401に対応する画面UI部品定義情報である。レコード509には、画面UI部品ID501として、「ELM0001」が定義され、名称502として、「画面タイトル」が定義され、タイプ503として、「ラベル」が定義され、表示文字列504として、「検索画面」が定義され、これらに対して、属性505として、「フォントサイズ」が定義され、属性505の属性値として、「18pt」が定義され、属性506として、「文字スタイル」が定義され、属性506の属性値として、「bold」が定義されている。
A
レコード510は、図4の終了ボタン402に対応する画面UI部品定義情報である。レコード510には、画面UI部品ID501として、「ELM0002」が定義され、名称502として、「終了ボタン」が定義され、タイプ503として、「ボタン」が定義され、表示文字列504として、「終了」が定義され、これらに対して、属性505として、「ボタンタイプ」が定義され、属性505の属性値として、「button」が定義され、属性506として、「起動スクリプト」が定義され、属性506の属性値として、「logout()」が定義され、属性507として、「文字スタイル」が定義され、属性507の属性値として、「bold」が定義されている。
A record 510 is screen UI component definition information corresponding to the
レコード511は、図4の検索フィールド406に対応する画面UI部品定義情報である。レコード511には、画面UI部品ID501として、「ELM0003」が定義され、名称502として、「検索条件フィールド」が定義され、タイプ503として、「1行テキスト入力」が定義され、表示文字列504として、「(なし)」が定義され、これらに対して、属性505として、「データ長」が定義され、属性505の属性値として、「64」が定義され、属性506として、「表示長」が定義され、属性506の属性値として、「32」が定義され、属性507として、「項目名」が定義され、属性507の属性値として、「SearchCond」が定義され、属性508として、「初期値」が定義され、属性508の属性値として、「0011」が定義されている。
A
画面タイトル401と終了ボタン402は、複数の画面に存在するが、画面UI部品定義情報記憶部105では、1つの画面UI部品定義情報として記憶する。この際、定義情報編集部104は、例えば、画面プログラムのエンハンス等の際に、複数画面で共通のUI部品の仕様を変更する必要が生じ、編集要求元である入力装置102から、各画面共通の仕様定義情報に関する修正の指示を受けた場合、1つの画面UI部品定義情報を修正の指示に従って自動で修正することができる。このため、エンハンス時に、各画面共通の画面仕様定義情報を、人手を確保することなく自動で修正することができるとともに、修正すべき画面UI部品定義情報も1つで済む利点がある。
Although the
図6は、画面構造断片定義情報記憶部106に記憶される画面構造断片定義情報を示す。1つの画面構造断片定義情報は、画面仕様定義情報の一要素として、構造断片ID601と構造断片定義内容602で構成される。構造断片ID601は、構造断片を一意に識別するための識別子である。構造断片定義内容602は、構造断片の定義内容である。
FIG. 6 shows screen structure fragment definition information stored in the screen structure fragment definition
レコード603は、図4における各画面共通のフレーム部分403の画面構造断片定義情報であり、その構造断片定義内容の詳細を図8に示す。レコード604は、図4における第1の画面固有の部分408の画面構造断片定義情報であり、その構造断片定義内容を図9に示す。レコード605は、図4における第2の画面固有の部分409の画面構造断片定義情報であり、その構造断片定義内容を図10に示す。
A
図8〜図10における構造断片定義内容は、表現方法としてXML(Extensible Markup Language)を利用した場合の例を示している。そのXMLスキーマを図7に示す。図7に示されるように、グリッドは、グリッドエレメントに対応し、行エレメントと列エレメントの2階層で1つのセルを表現する。セルは、グリッドエレメント、画面UI部品IDエレメントまたは、結合点IDエレメントのいずれか1つを持つ。 The structure fragment definition contents in FIGS. 8 to 10 show an example in which XML (Extensible Markup Language) is used as an expression method. The XML schema is shown in FIG. As shown in FIG. 7, the grid corresponds to the grid element, and expresses one cell in two layers of a row element and a column element. The cell has any one of a grid element, a screen UI component ID element, and a connection point ID element.
グリッドエレメントの場合、グリッドの再帰構造を表現する。画面UI部品IDエレメントの場合、当該セルにその画面UI部品IDを持つ別の画面UI部品が配置されることを表現する。結合点IDエレメントの場合、当該のセルに、他の構造断片のルートノードが結合可能であることを示し、結合点IDの値により、1つの構造断片中で結合点を一意にする。 For grid elements, it represents the recursive structure of the grid. In the case of the screen UI component ID element, it represents that another screen UI component having the screen UI component ID is arranged in the cell. In the case of the connection point ID element, it indicates that the root node of another structural fragment can be combined with the cell, and the connection point is made unique in one structural fragment by the value of the connection point ID.
図8の例では、図4における各画面共通のフレーム部分403に配置される画面UI要素ELM0001とELM0002の画面UI要素がセルに配置されることや、結合点ID「LNK0001」の結合点が定義されている。即ち、画面UI要素ELM0001とELM0002の画面UI要素となるセルにそれぞれ画面タイトル401、終了ボタン402が配置され、結合点ID「LNK0001」の結合点に第1の画面固有の部分408が結合されることが定義されている。
In the example of FIG. 8, the screen UI elements ELM0001 and ELM0002 arranged in the
図9の例では、図4における第1の画面固有の部分408に配置される画面UI要素ELM0003とELM0004の画面UI要素がセルに配置されることが定義されている。
In the example of FIG. 9, it is defined that the screen UI elements ELM0003 and ELM0004 arranged in the first screen-
図10の例では、図4における第2の画面固有の部分409に配置される画面UI要素ELM0005とELM0006の画面UI要素がセルに配置されることが定義されている。
In the example of FIG. 10, it is defined that the screen UI elements ELM0005 and ELM0006 arranged in the
図11は、画面構成定義情報記憶部107に記憶される画面構成定義情報を示す。1つの画面構成定義情報は、画面仕様定義情報の一要素として、画面構成ID1101と、1セット以上の構造断片ID・親構造断片ID・結合点IDの3つを含む画面構成定義内容1102〜1104で構成される。
FIG. 11 shows screen configuration definition information stored in the screen configuration definition
画面ID1101は、画面構成定義情報を一意に識別する識別子である。画面構成定義内容1103の構造断片IDは、各画面の構成要素となる構造断片の識別子であり、画面構造断片定義情報記憶部106に記憶される構造断片ID601に対応する。画面構成定義内容1103の親構造断片IDと結合点IDは、構造断片IDで指定した構造断片のルートノードが連結する別の構造断片の構造断片IDおよびその構造断片中の結合点IDであり、定義情報記憶部106に記憶される構造断片ID601およびその構造断片定義内容602で定義された結合点IDに対応する。
The
画面構成定義内容1102の親構造断片IDと結合点IDは、各画面を構成する構造断片のうち最上位の構造断片については値なしである。画面構成定義内容1102〜1103は、1つの画面構成定義に対して、各画面を構成する構造断片の個数と同じ数だけある。
The parent structure fragment ID and the connection point ID of the screen
レコード1105は、図4における第1の画面固有の部分408の画面構成定義情報である。レコード1105では、第1の画面は、2つの構造断片STR0001とSTR0002で構成され、構造断片STR0002は、構造断片STR0001の結合点LNK0001に結合することが定義されている。レコード1106は、図4における第2の画面固有の部分409の画面構成定義情報である。レコード1106では、第2の画面は、2つの構造断片STR0001とSTR0003で構成され、構造断片STR0003は、構造断片STR0001の結合点LNK0001に結合することが定義されている。
A
即ち、第1の画面は、各画面共通のフレーム部分403に対応する構造断片STR0001と第1の画面固有の部分408に対応する構造断片STR0002で構成され、構造断片STR0002は、構造断片STR0001の結合点LNK0001に結合されている。第2の画面は、各画面共通のフレーム部分403に対応する構造断片STR0001と第2の画面固有の部分409に対応する構造断片STR0003で構成され、構造断片STR0003は、構造断片STR0001の結合点LNK0001に結合されている。
That is, the first screen includes a structural fragment STR0001 corresponding to the
この際、画面構成定義情報記憶部107は、各画面の構成に関する画面仕様定義情報として、各画面固有の部分と各画面共通の部分との結合点に関する情報を含む画面構成定義情報を記憶することになる。また、画面構造断片定義情報記憶部106は、画面構造断片定義情報を、各画面固有の画面構造断片定義情報と各画面共通の画面構造断片定義情報に区別して記憶するとともに、画面UI部品定義情報と画面構成定義情報に関連付けて記憶することになる。
At this time, the screen configuration definition
次に、図4における第1の画面固有の部分408について、画面プログラムコードを生成する動作の流れを説明する。
Next, an operation flow for generating a screen program code for the first screen-
画面プログラムコード生成部108は、画面構成定義情報記憶部107から、当該画面(第1の画面固有の部分408)に関する画面構成定義情報1105を取得し、取得した画面構成定義情報1105から最上位の構造断片のID「STR0001」を取得する。最も上位の構造断片は、親構造断片IDが値をもたないことから判別できる。取得した構造断片のID「STR0001」をキーに、画面構造断片定義記憶部106から、レコード603の構造断片定義情報として、レコード603の構造断片定義内容602のXMLデータ(図8の構造断片定義内容から得られるデータ)を取得する。
The screen program
画面プログラムコード生成部108は、取得したXMLデータの構造断片エレメント直下のグリッドエレメントに対して、図12フローチャートに示される、グリッドに対応するコードの生成処理を行う。
The screen program
まず、グリッド開始コード生成処理(S1201)では、画面プログラムコード生成部108は、画面構造断片コード生成規則記憶部110に記憶された画面構造断片コード生成規則(図14参照)から、種別1402が「グリッド開始」のコード生成規則1403を取得し、生成プログラムコード断片1402に記憶された内容のコード「〈table〉」を生成する。
First, in the grid start code generation process (S1201), the screen program
ループ部分では、グリッドエレメント下の各行エレメントについてループ処理(S1202〜S1204)を行う。 In the loop portion, loop processing (S1202 to S1204) is performed for each row element under the grid element.
即ち、行開始コード生成処理(S1203)では、画面構造断片コード生成規則記憶部110から種別1401が「行開始」のコード生成規則1405を取得し、生成プログラムコード断片1402に記憶された内容のコード「〈tr〉」を生成する。
That is, in the line start code generation process (S1203), the
次のループ部分では、行エレメント下の各列エレメントについてループ処理(S1204〜S1212)を行う。 In the next loop portion, loop processing (S1204 to S1212) is performed for each column element under the row element.
即ち、列開始コード生成1205では、画面構造断片コード生成規則記憶部110から種別1401が「列開始」のコード生成規則1407を取得し、生成プログラムコード断片1402に記憶された内容のコード「〈td〉」を生成する。
That is, in the column start code generation 1205, the
ステップS1206〜S1210では、列エレメント下のエレメントの種類によって処理が分岐し、画面プログラムコード生成部108は、列エレメント下のエレメントの種類によって以下の処理を実行する。
In steps S1206 to S1210, the process branches depending on the element type below the column element, and the screen program
(1)グリッドエレメントの場合
当該グリッドについて、ステップS1201〜S1206を再帰呼び出しして、当該グリッドに対応する画面プログラムコードを生成する(S1207)。
(1) In the case of a grid element For the grid, steps S1201 to S1206 are recursively called to generate a screen program code corresponding to the grid (S1207).
(2)画面UI部品IDエレメントの場合
画面UI部品定義情報記憶部105から、画面UI部品ID501をキーに、当該画面UI部品の画面UI部品定義情報を取得し、画面UI部品コード生成規則記憶部109に記憶された画面UI部品コード生成規則(図13)から、タイプ1301が、当該の画面UI部品のタイプ503に対応する生成プログラムコード断片1302を取得し、取得した生成プログラムコード断片1302に従って画面プログラムコードを生成する(S1209)。
(2) In the case of a screen UI component ID element From the screen UI component definition
例えば、画面UI部品ID510が「ELM0001」であれば、画面UI部品定義情報のレコード509において、タイプ503が「ラベル」であるため、画面UI部品コード生成規則のレコード1303が対応し、レコード1303の生成プログラムコード断片1302の内容のうち、属性パラメータ「[フォントサイズ]」の部分と「[文字スタイル]」の部分を、図5の画面UI部品定義情報のレコード509で定義された属性505のフォントサイズの属性値「18pt」と属性506の文字スタイルの属性値「bold」で置換する。
For example, if the screen UI component ID 510 is “ELM0001”, since the
(3)結合点IDエレメントの場合
当該画面に関する画面構成定義情報1105から当該の結合点を結合先とする構造断片の構造断片ID「STR0002」を取得し、取得した構造断片ID「STR0002」をキーに、画面構造断片定義情報記憶部106から、図6の画面構造断片定義情報のレコード604に対応した構造断片定義内容602を取得し、その構造断片定義内容602のXMLデータ(図9の構造断片定義内容から得られるデータ)を取得する。
(3) In the case of the connection point ID element, the structure fragment ID “STR0002” of the structure fragment having the connection point as the connection destination is acquired from the screen
取得したXMLデータの構造断片エレメント直下のグリッドエレメントに対して、当該グリッドエレメントに対応する画面プログラムコードを生成する(S1210)。 For the grid element immediately below the structure fragment element of the acquired XML data, a screen program code corresponding to the grid element is generated (S1210).
次に、列終了コード生成処理では、画面構造断片コード生成規則記憶部110から、種別1401が「列終了」のレコード1408の内容を取得し、生成プログラムコード断片1402に記憶された内容のコード「〈/td〉」を生成する(S1211)。
Next, in the column end code generation process, the content of the record 1408 whose
この後、ループ部分では、グリッドエレメント下の各行エレメントについてループ処理(S1212〜S1214)を行う。 Thereafter, in the loop portion, loop processing (S1212 to S1214) is performed for each row element under the grid element.
行終了コード生成処理では、画面構造断片コード生成規則記憶部110から、種別1401が「行終了」のレコード1406の内容を取得し、生成プログラムコード断片1402に記憶された内容のコード「〈/tr〉」を生成する(S1213)。
In the line end code generation process, the content of the record 1406 whose
次に、グリッド終了コード生成処理では、画面構造断片コード生成規則記憶部110から、種別1401が「グリッド終了」のレコード1404の内容を取得し、生成プログラムコード断片1402に記憶された内容のコード「〈/table〉」を生成する(S1215)。
Next, in the grid end code generation processing, the content of the
ステップS1201〜S1215までの処理が完了したら、画面プログラムコード生成部108は、生成された画面プログラムコードを画面プログラムコード記憶部111に記憶する。
When the processing of steps S1201 to S1215 is completed, the screen program
上述したように、複数の画面のうち、例えば、第1の画面に関する画面プログラムコードを生成するに際しては、各画面共通のフレーム部分403の画面構造断片定義情報を参照し、各画面共通のフレーム部分403の構造断片STR0001に関するXMLデータを画面プログラムコードに順次変換し、この過程で、例えば、画面UI要素IDをXMLデータが存在するときには、図5の画面UI部品定義情報を参照し、画面UI部品定義情報に関するXMLデータを画面プログラムコードに順次変換し、結合点IDを示すXMLデータが存在するときには、図11の画面構成定義情報を参照し、第1の画面固有の部分408の構造断片STR0002に関するXMLデータを画面プログラムコードに順次変換し、これらの変換処理が終了した後、各画面共通のフレーム部分403の構造断片STR0001に関するXMLデータを画面プログラムコードに順次変換することになる。
As described above, among the plurality of screens, for example, when generating the screen program code related to the first screen, the screen structure fragment definition information of the
本実施例においては、画面仕様定義情報を各記憶部に記憶するに際して、各画面の共通部分に関する画面仕様定義情報のうち、画面UI部品に関するものであれば、画面UI部品定義情報記憶部105に、構造に関するものであれば、画面構造断片定義情報記憶部106に、それぞれ1つの画面仕様定義情報として記憶しているので、定義情報編集部104は、例えば、画面プログラムのエンハンス等の際に、複数画面で共通の画面仕様定義情報を変更する必要が生じ、編集要求元である入力装置102から各画面共通の画面仕様定義情報に関する修正の指示を受けた場合、それぞれ1つの画面仕様定義情報を修正の指示に従って自動で修正することができる。
In the present embodiment, when the screen specification definition information is stored in each storage unit, if the screen specification definition information related to the common part of each screen is related to the screen UI component, the screen UI component definition
このため、本実施例によれば、画面プログラムのエンハンスを行う際などに、各画面共通部分の仕様を変更する場合、1か所のみ修正すれば済み、各画面共通部分の画面仕様定義情報の一貫性を確保するのに人手を必要としないという利点がある。 Therefore, according to this embodiment, when changing the specifications of each screen common part, for example, when enhancing the screen program, only one place needs to be corrected, and the screen specification definition information of each screen common part is changed. The advantage is that no human intervention is required to ensure consistency.
また、本実施例によれば、2つの画面構造に関する仕様を構造断片の階層的な結合で定義できるため、従来のようなテンプレートで表現できない画面グループごとに異なるフレームを持つケースやフレームが階層的になるケースでも、共通仕様を集約して定義できるという利点がある。 In addition, according to the present embodiment, since specifications relating to two screen structures can be defined by hierarchical combination of structural fragments, cases and frames having different frames for each screen group that cannot be represented by a template as in the past are hierarchical. Even in this case, there is an advantage that common specifications can be defined collectively.
本実施例は、画面の共通的なフレーム構造が画面構造断片定義としてすでに画面構造断片定義情報記憶部105に記憶されているとき、そのフレーム構造に一部適合しない部分構造をもった新たな画面を追加する必要が生じた際に、既存の共通フレーム構造を再構成して、新たな画面の画面仕様定義を追加するものである。
In this embodiment, when a common frame structure of a screen is already stored in the screen structure fragment definition
図15は、本実施例における2つの画面(第1の画面と第2の画面)の構造断片の例を示す。グリッド1501を最上位とする画面構造断片は、各画面の共通フレームである。グリッド1501に属する2つのセル1521、1522のうち上側のセル1521には、グリッド1503が含まれ、下側のセル1522には、グリッド1502が含まれる。グリッド1502に属する2つのセル1523、1524のうち上側のセル1523にはグリッド1504が含まれ、下側のセル1524には結合点1505が含まれる。この結合点1505に、各画面固有(個別)の部分グリッド構造(第1の画面固有の部分グリッド構造または第2の画面固有の部分グリッド構造)が結合する。グリッド1501を最上位とする画面構造断片定義情報は、すでに画面構造断片定義情報記憶部105に記憶されているものとする。
FIG. 15 shows an example of a structural fragment of two screens (first screen and second screen) in the present embodiment. The screen structure fragment having the
グリッド1506は、新たに追加される画面の画面構造断片である。グリッド1506、1507、1508は、それぞれ各画面の共通フレームのグリッド1501、1502、1503と同一であり、グリッド1507の上側のセル1533に属するグリッド1509のみが、各画面の共通フレームのグリッド1504と異なっている。
A
なお、グリッド1506に属する2つのセル1531、1532のうち上側のセル1531には、グリッド1508が含まれ、下側のセル1532には、グリッド1507が含まれる。グリッド1507に属する2つのセル1533、1534のうち上側のセル1533には、グリッド1509が含まれ、下側のセル1534には、結合点1510が含まれる。
Of the two
図16は、既存の共通フレーム構造を再構成して新たな画面の画面仕様定義情報を追加する場合の全体動作の流れを示す。 FIG. 16 shows the flow of the entire operation when reconstructing an existing common frame structure and adding screen specification definition information for a new screen.
まず、定義情報編集部103は、対象構造断片定義の選択処理を実行し、表示装置101と入力装置102を介して、再構成する対象の画面フレーム構造に対応する画面構造断片定義の構造断片ID1101に関する情報を利用者から受け付ける(S1601)。
First, the definition
次に、定義情報編集部103は、差異グリッドの選択処理を実行し、利用者によって選択された画面フレーム構造と新たに追加する画面のフレーム構造とで異なる部分構造の最上位のグリッドである差異グリッドに関する情報として、例えば、グリッド1504の情報を利用者から受け付ける(S1602)。
Next, the definition
次に、画面仕様定義情報再構成部112は、画面構造断片の分割処理を実行し、差異グリッドに関する情報として選択された構造断片IDをキーとして、画面構造断片定義情報を画面構造断片定義情報記憶部106から取得し、以下の手順で構造断片を分割する。
Next, the screen specification definition
(1)差異グリッドの親グリッドを最上位とする構造断片定義情報を画面構造断片定義情報記憶部106に新たに追加する。
(2)対象となる構造断片定義情報に関して、差異グリッドの親グリッドを結合点に置換する。
(1) The structure fragment definition information having the highest parent grid of the difference grid is newly added to the screen structure fragment definition
(2) For the target structural fragment definition information, replace the parent grid of the difference grid with a connection point.
図17は、図15に示す画面の例に対して、上述の構造断片の分割を実施した場合の例を示す。グリッド1502を最上位とする構造断片は、差異グリッドであるグリッド1504の親グリッド1502を最上位とする構造断片から、新たに追加される構造断片である。グリッド1501を最上位とする構造断片は、差異グリッド1504の親グリッド1502が結合点1505に置換される。
FIG. 17 shows an example in which the above-described structural fragment division is performed on the example of the screen shown in FIG. The structure fragment having the
次に、画面仕様定義情報再構成部112は、画面構成定義の更新処理を実行し、画面構成定義情報記憶部107に記憶されている画面構成定義情報のうち対象となる画面構造断片定義情報を、参照していた全ての画面構成定義情報に、分割により追加した画面構造断片定義情報を追加する更新を行う(S1604)。
Next, the screen specification definition
図18は、図15に示す画面の例に対して、画面構成定義情報の更新を行った場合の例を示す。図18の(a)に示す画面構成定義情報は、更新前の情報であり、図18の(b)に示す画面構成定義情報は、更新後の情報である。 FIG. 18 shows an example when the screen configuration definition information is updated with respect to the screen example shown in FIG. The screen configuration definition information shown in (a) of FIG. 18 is information before update, and the screen configuration definition information shown in (b) of FIG. 18 is information after update.
図18の(a)に示す更新前の画面構成定義情報において、画面構成定義内容1102の構造断片ID「STR1001」は、グリッド1501を最上位とする構造断片、画面構成定義内容1103の構造断片ID「STR1002」は、画面構成定義内容1103の親構造断片ID「STR1001」に結合点ID「LNK1001」で結合していた別の構造断片である。
In the screen configuration definition information before update shown in FIG. 18A, the structural fragment ID “STR1001” of the screen
図18の(b)に示す更新後の画面構成定義情報において、画面構造断片の分割処理で追加された構造断片ID「STR1003」が、画面構成定義情報に追加されている。それに伴い、親構造断片ID「STR1001」の結合点LNK1001に結合する構造断片が、「STR1002」から「STR1003」に更新され、構造断片ID「STR1002」の結合先が、構造断片ID「STR1003」の結合点LNK1001に更新される。また、構造断片ID「STR1002」が、画面構成定義情報に追加されている。それに伴い、親構造断片ID「STR1002」の結合点LNK1001に結合する構造断片として、「STR1003」が追加される。 In the updated screen configuration definition information shown in (b) of FIG. 18, the structure fragment ID “STR1003” added in the screen structure fragment dividing process is added to the screen configuration definition information. Along with this, the structural fragment that is coupled to the coupling point LNK1001 of the parent structural fragment ID “STR1001” is updated from “STR1002” to “STR1003”, and the coupling destination of the structural fragment ID “STR1002” is the structural fragment ID “STR1003”. Updated to join point LNK1001. Further, the structure fragment ID “STR1002” is added to the screen configuration definition information. Along with this, “STR1003” is added as a structural fragment that binds to the binding point LNK1001 of the parent structural fragment ID “STR1002”.
次に、画面仕様定義情報再構成部112は、追加画面の画面仕様の定義処理を実行し、追加する画面の画面仕様定義情報を編集する(S1605)。例えば、図15に示す画面の例では、追加する画面の画面固有部分の構造断片であるグリッド1507を最上位とする構造断片に関する画面構造断片定義情報を画面構造断片定義情報記憶部106に記憶し、グリッド1507を最上位とする構造断片が、グリッド1501を最上位とする構造断片を分割したときの結合点1505に結合するような画面構成定義情報を画面構成定義情報記憶部107に記憶する。
Next, the screen specification definition
即ち、画面仕様定義情報再構成部112は、新たに追加される画面と各画面共通の部分との差異を示す情報(グリッド1504に関する情報)を基に、各画面共通の画面に属する画面構造断片定義情報を、新たに追加される画面に流用できる部分に関する画面構造断片定義情報(グリッド1501に関する画面構造断片情報)と、新たに追加される画面と各画面共通の部分との差異に関する画面構造断片定義情報(グリッド1504に関する画面構造断片情報)とに分割し、新たに追加される画面に流用できる部分に関する画面構造断片定義情報を、新たに追加される画面固有の画面構造断片定義情報との結合点として、新たに追加される画面に関する画面構成定義情報を画面構成定義情報記憶部107に記憶し、既存の共通フレーム構造の再構成と関連する画面構成定義情報の変更を自動的に実行する。
That is, the screen specification definition
本実施例によれば、各画面で共通なフレーム構造が画面構造断片定義情報として既に画面構造断片定義情報記憶部106に記憶されている場合、各画面で共通なフレーム構造に一部適合しない部分構造をもった新たな画面を追加する必要が生じた際に、既存の共通フレーム構造の再構成と関連する画面構成定義情報の変更を自動的に行うことができる。
According to the present embodiment, when a frame structure common to each screen is already stored in the screen structure fragment definition
このため、本実施例によれば、反復型の開発プロセスのように仕様が当初からすべて明確でなく、後で画面を追加する際に、共通フレームの共通範囲の変更を行うような開発方法でも、全画面の画面仕様定義情報を変更する手戻りが不要であるという利点がある。 For this reason, according to the present embodiment, the specification is not completely clear from the beginning as in an iterative development process, and even when a screen is added later, a development method in which the common range of the common frame is changed is also used. There is an advantage that rework for changing the screen specification definition information of the entire screen is unnecessary.
また、本実施例によれば、フレーム部分に対応する画面共通の構造の仕様定義がなされた状態で、フレーム部分の共通範囲の変更が必要になったとき、定義済みのフレーム部分の共通構造を分割するとともに、そのフレーム部分に関係する定義済みの画面仕様情報を一括して更新できるため、本発明を反復型の開発プロセスに適用しても、共通範囲変更が必要になった際の各画面の仕様定義の修正の手戻りが不要になる利点がある。 In addition, according to the present embodiment, when the specification of the structure common to the screen corresponding to the frame portion is defined and the common range of the frame portion needs to be changed, the common structure of the defined frame portion is changed. As the screen specification information related to the frame part can be updated at once, it is possible to update the screen at once, so even if the present invention is applied to an iterative development process, each screen when a common range change is required There is an advantage that reworking of the revision of the specification definition is unnecessary.
なお、本発明において、画面プログラムコード生成部108は、画面ごとに1つずつのプログラムモジュールとして画面プログラムコードを生成することもできるとともに、画面共通の部分に対応する画面プログラムコードを1つのモジュールに共通化したものとして生成することもできる。即ち、画面プログラムコード生成部108は、画面プログラムコードを、各画面共通の画面プログラムコードと各画面固有の画面プログラムコードに分けて生成することができる。後者の場合、画面プログラムのサイズを、前者に比べて小さくできる為、画面プログラムの実行時のメモリサイズを削減できる利点がある。
In the present invention, the screen program
101 表示装置
102 入力装置
103 画面プログラム生成装置
104 定義情報編集部
105 画面UI部品定義情報記憶部
106 画面構成断片定義情報記憶部
107 画面構成定義情報記憶部
108 画面プログラムコード生成部
109 画面UI部品コード生成規則記憶部
110 画面構造断片コード生成規則記憶部
111 画面プログラムコード記憶部
112 画面仕様定義情報再構成部
DESCRIPTION OF
Claims (5)
前記画面ユーザインタフェース部品に関する画面仕様定義情報である画面ユーザインタフェース部品定義情報を、前記各画面固有の画面ユーザインタフェース部品定義情報と前記各画面共通の画面ユーザインタフェース部品定義情報に区別して記憶する画面ユーザインタフェース部品定義情報記憶部と、
前記各画面の構成に関する画面仕様定義情報であって、前記各画面固有の部分と前記各画面共通の部分との結合点に関する情報を含む画面構成定義情報を記憶する画面構成定義情報記憶部と、
前記各画面の部分階層構造を示す構造断片に関する画面仕様定義情報である画面構造断片定義情報を、前記各画面固有の画面構造断片定義情報と前記各画面共通の画面構造断片定義情報に区別して記憶するとともに、前記画面ユーザインタフェース部品定義情報と前記画面構成定義情報に関連付けて記憶する画面構造断片定義情報記憶部と、
前記各記憶部に記憶された画面仕様定義情報を編集する定義情報編集部と、を有することを特徴とする画面プログラム生成装置。 A screen program generation device for generating a screen program for configuring a plurality of screens having a plurality of display areas and screen user interface components arranged in any one of the display areas as components,
A screen user that stores screen user interface component definition information, which is screen specification definition information related to the screen user interface component, separately into screen user interface component definition information unique to each screen and screen user interface component definition information common to each screen An interface component definition information storage unit;
Screen configuration definition information related to the configuration of each screen, a screen configuration definition information storage unit that stores screen configuration definition information including information about a connection point between a part unique to each screen and a part common to each screen;
Screen structure fragment definition information, which is screen specification definition information related to a structure fragment indicating a partial hierarchical structure of each screen, is stored separately in screen structure fragment definition information unique to each screen and screen structure fragment definition information common to each screen. And a screen structure fragment definition information storage unit for storing the screen user interface component definition information and the screen configuration definition information in association with each other;
And a definition information editing unit that edits the screen specification definition information stored in each storage unit.
前記画面ユーザインタフェース部品定義情報記憶部は、前記各画面共通の画面ユーザインタフェース部品定義情報を1つの画面ユーザインタフェース部品定義情報として記憶し、
前記画面構造断片定義情報記憶部は、前記各画面共通の画面構造断片定義情報を1つの画面構造断片定義情報として記憶してなることを特徴とする画面プログラム生成装置。 The screen program generation device according to claim 1,
The screen user interface component definition information storage unit stores screen user interface component definition information common to the screens as one screen user interface component definition information,
The screen structure fragment definition information storage unit stores screen structure fragment definition information common to the screens as one screen structure fragment definition information.
前記定義情報編集部は、編集要求元から前記各画面共通の仕様定義情報に関する修正の指示を受けた場合、前記1つの画面ユーザインタフェース部品定義情報と前記1つの画面構造断片定義情報をそれぞれ前記修正の指示に従って修正してなることを特徴とする画面プログラム生成装置。 The screen program generation device according to claim 2,
When the definition information editing unit receives an instruction to modify the specification definition information common to each screen from an editing request source, the one screen user interface component definition information and the one screen structure fragment definition information are respectively modified. A screen program generation device, wherein the screen program generation device is modified according to the instructions.
前記画面構造断片定義情報記憶部に記憶された画面構造断片定義情報と画面ユーザインタフェース部品定義情報記憶部に記憶された画面ユーザインタフェース部品定義情報をそれぞれコード生成規則に従ってコードに変換して画面プログラムコードを生成する画面プログラムコード生成部を有し、
前記画面プログラムコード生成部は、前記画面プログラムコードを、前記各画面共通の画面プログラムコードと前記各画面固有の画面プログラムコードに分けて生成してなることを特徴とする画面プログラム生成装置。 The screen program generation device according to claim 1,
Screen program code by converting the screen structure fragment definition information stored in the screen structure fragment definition information storage unit and the screen user interface component definition information stored in the screen user interface component definition information storage unit into codes according to the code generation rules, respectively. A screen program code generation unit for generating
The screen program code generation unit is characterized in that the screen program code is generated by dividing the screen program code into a screen program code common to each screen and a screen program code unique to each screen.
新たに追加される画面に関する画面仕様定義情報を再構成する画面仕様定義情報再構成部を有し、
前記画面仕様定義情報再構成部は、前記新たに追加される画面と前記各画面共通の部分との差異を示す情報を基に前記複数の画面のうち何れか1つの画面に属する前記画面構造断片定義情報を、前記新たに追加される画面に流用できる部分に関する画面構造断片定義情報と前記差異に関する画面構造断片定義情報とに分割し、前記新たに追加される画面に流用できる部分に関する画面構造断片定義情報を、前記新たに追加される画面固有の画面構造断片定義情報との結合点として、前記新たに追加される画面に関する画面構成定義情報を前記画面構成定義情報記憶部に記憶してなることを特徴とする画面プログラム生成装置。 The screen program generation device according to claim 1,
It has a screen specification definition information reconfiguration unit that reconfigures screen specification definition information related to newly added screens,
The screen specification definition information reconfiguring unit, the screen structure fragment belonging to any one of the plurality of screens based on information indicating a difference between the newly added screen and a common portion of each screen The screen structure fragment relating to the part that can be diverted to the newly added screen by dividing the definition information into the screen structure fragment definition information relating to the part that can be diverted to the newly added screen and the screen structure fragment definition information relating to the difference The screen configuration definition information storage unit stores the screen configuration definition information related to the newly added screen as a coupling point with the screen structure fragment definition information unique to the newly added screen. A screen program generation device characterized by the above.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2010110798A JP2011238151A (en) | 2010-05-13 | 2010-05-13 | Screen program generation device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2010110798A JP2011238151A (en) | 2010-05-13 | 2010-05-13 | Screen program generation device |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2011238151A true JP2011238151A (en) | 2011-11-24 |
Family
ID=45326038
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2010110798A Pending JP2011238151A (en) | 2010-05-13 | 2010-05-13 | Screen program generation device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2011238151A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104077124A (en) * | 2013-03-27 | 2014-10-01 | 株式会社捷太格特 | Screen definition device for operating panel |
KR101489762B1 (en) | 2012-10-15 | 2015-02-04 | 삼성에스디에스 주식회사 | System and method for constructing layout |
JP2015038669A (en) * | 2012-09-25 | 2015-02-26 | 株式会社東芝 | Screen specification data generation device and program |
JP2016019717A (en) * | 2014-06-20 | 2016-02-04 | 株式会社スクウェア・エニックス | Game program, game execution method, and game system |
-
2010
- 2010-05-13 JP JP2010110798A patent/JP2011238151A/en active Pending
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2015038669A (en) * | 2012-09-25 | 2015-02-26 | 株式会社東芝 | Screen specification data generation device and program |
KR101489762B1 (en) | 2012-10-15 | 2015-02-04 | 삼성에스디에스 주식회사 | System and method for constructing layout |
CN104077124A (en) * | 2013-03-27 | 2014-10-01 | 株式会社捷太格特 | Screen definition device for operating panel |
US20140298225A1 (en) * | 2013-03-27 | 2014-10-02 | Jtekt Corporation | Screen definition device for operating panel |
JP2014191566A (en) * | 2013-03-27 | 2014-10-06 | Jtekt Corp | Screen definition device of operation panel |
EP2808765A1 (en) * | 2013-03-27 | 2014-12-03 | Jtekt Corporation | Screen definition device for operating panel |
US9830053B2 (en) | 2013-03-27 | 2017-11-28 | Jtekt Corporation | Screen definition device for operating panel |
JP2016019717A (en) * | 2014-06-20 | 2016-02-04 | 株式会社スクウェア・エニックス | Game program, game execution method, and game system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8464229B2 (en) | Creation of form-based software application in a graphical user interface (GUI) environment | |
US8549353B2 (en) | Batch processing error handling modes | |
US8683431B2 (en) | Applying rules to data | |
US9678719B1 (en) | System and software for creation and modification of software | |
CN104424338B (en) | The automatically generating device and automatic generation method of web system | |
US20110161916A1 (en) | Transformation of data between hierarchical data formats | |
US20160170719A1 (en) | Software database system and process of building and operating the same | |
KR101572509B1 (en) | the operating method of user interface framework for web-based application construction | |
US8140894B2 (en) | Transaction regions in graphical computer-implemented methods of processing data | |
WO2004086222A2 (en) | Development of software systems | |
JP5005510B2 (en) | Software design support method, design support apparatus, and design support program | |
JP4613214B2 (en) | Software automatic configuration device | |
US20080028328A1 (en) | System and method to dynamically change object data patterns | |
US8732596B2 (en) | Transformation of hierarchical data formats using graphical rules | |
CN101799754A (en) | Method and system for developing web application | |
US20110161917A1 (en) | Processing collections of data items | |
EP1895407A1 (en) | HMI development support apparatus, HMI development support method and HMI development support program | |
JP2011238151A (en) | Screen program generation device | |
US20110161934A1 (en) | Generating and monitoring data items | |
Cicchetti et al. | Supporting incremental synchronization in hybrid multi-view modelling | |
JP2001325098A (en) | Method for preparing application program method for operating database, method for managing item object, method for controlling module operation and computer- readable recording medium recorded with program for realizing operation, management and control methods | |
US20100011018A1 (en) | Custom database system and method of building the same | |
JP4629183B2 (en) | Requirement specification description support apparatus and method, and recording medium | |
JP4686117B2 (en) | Source code conversion apparatus, source code conversion method, and program | |
Elodie et al. | Lightweight model-based testing for enterprise IT |