« University of Vienna - OMILAB に戻る

Include class derived from __D_swimlane__

構造的に表示 平面上に表示 ツリー上に表示
スレッド [ 前へ | 次へ ]
toggle
Include class derived from __D_swimlane__
community class documentation
答え
14/03/27 12:13
I have created a new class, derived from the abstract class __D_swimlane__ and included it in a model type, but when I open the ADOxx Modelling Toolkit, the class is not available for modelling.
What should I configure for being able to use this class?

RE: Include class derived from __D_swimlane__
答え
13/07/09 12:52 匿名へのコメント
Please note that all classes derived from the abstract class __D_swimlane__ must be included in a MODE. Although all other classes and relation classes are displayed even if no MODE is defined, you must define at least one mode if you want to use a class derived from the __D_swimlane__.
The piece of code below exemplifies the definition of a standard mode for the model type "Sample" (class Swimplane_Vertical has been derived from class __D_swimlane__):

1MODELTYPE "Sample" from:none plural:"Samples" pos:1
2INCL "A"
3INCL "B"
4INCL "C"
5INCL "Swimlane_Vertical"
6INCL "any2any"
7
8MODE "Standard" from: all

RE: Include class derived from __D_swimlane__
答え
13/10/31 13:08 Sabin Popescuへのコメント
Thank you for your reply, Sabin, it really helped. I have further question: the swimlane class is displayed in the "Modelling" toolbar of the modelling tool as a separate group (see picture). How can I do the same to group other elements? Is it possible to give a (viewable) name to such a "group"?
画像の固定

添付ファイル: Grouping.png (40.0k)

RE: Include class derived from __D_swimlane__
答え
13/11/27 9:42 Natalia Sudakovaへのコメント
The current version of ADOxx does not allow customizable grouping of objects in the Modelling toolbar. There is the predefined grouping of modelling items into classes, relation classes and classes derived from the abstract class __D_swimlane__ .

An alternative would be defining subgroups of classes of your modeltype usind the element MODE in the library attribute Modi. A description of how to use the MODE element can be found in the following thread:  http://www.adoxx.org/live/faq/-/message_boards/view_message/20030#_19_message_20017