home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / windows / openloo / 4596 < prev    next >
Encoding:
Internet Message Format  |  1992-11-19  |  3.9 KB

  1. Path: sparky!uunet!mcsun!news.funet.fi!news.cs.tut.fi!tut!ks
  2. From: ks@cs.tut.fi (Syst{ Kari)
  3. Newsgroups: comp.windows.open-look
  4. Subject: Help me in choosing a new toolkit to replace TNT
  5. Date: 20 Nov 92 10:51:49
  6. Organization: Tampere Univ. of Technology, Finland.
  7. Lines: 81
  8. Distribution: comp
  9. Message-ID: <KS.92Nov20105149@karikukko.cs.tut.fi>
  10. NNTP-Posting-Host: karikukko.cs.tut.fi
  11.  
  12.  
  13. I'm now convinced that Sun will drop NeWS and TNT. (We should have a
  14. silent moment to honour NeWS and not so silent moment to discus
  15. with Sun :-)
  16.  
  17. I hope that you could give me information about possible X-based
  18. toolkits that could be used to port my application. I'm adding a quite
  19. long description of our tool. I hope that some of you will have the time
  20. to look at that description in order to understand my requirements.
  21.  
  22. My wish list is the following:
  23.  
  24.  * Object oriented structure (see example below)
  25.  * A nice way to define new "widgets" (see example below)
  26.  * OpenLook look&feel. At least it should be color-based and 3D.
  27.  * Lightweight processes.
  28.  * A nice way to create good hard-copies. In the NeWS-version I used
  29.    the same ps-code that created the display images.
  30.  * Source code or guarantee that it will last for the next 5-10 years.
  31.  * Low price
  32.  * No licensing problems if we share the resulting tool with others
  33.  
  34. The problem is to port a NeWS-based application to X11. My current impression
  35. is that we should use a C++-based toolkit. I'm going to look more carefully
  36. at least OI (from Soulbourne) and InterViews.
  37.  
  38. The tool is a graphical animation and execution environment for executable
  39. specifications. So far we have been quite happy with NeWS, but now it seems
  40. that NeWS is dying, we have to port the application.
  41.  
  42.  
  43. The tool consists of a mainwindow and of about 10 different popup windows.
  44. The popups are quite normal windows with sliders, textfields etc.
  45. The difficult task in converting the tool is an "animation" display,
  46. for which we have a the following class hierarchy:
  47.  
  48.  
  49.              ClassCanvas (a part of NeWS distribution)
  50.                              |
  51.                              |
  52.                           DisCoItem
  53.                              |
  54.                              |
  55.      +-----------------------+---------+----------+-----------+
  56.      |                       |         |          |           |
  57.   ActionSymbolItem      ActionItem  ClassItem  ObjectItem   State
  58.                                                               |
  59.                                                +--------------+
  60.                                                |              |
  61.                                             OrState        AndState
  62.  
  63.  
  64. The animation display consist of instances of these clases and from
  65. connecting lines between instances.
  66.  
  67. The objects are used both to display state and changes in the specification,
  68. and for user interaction. For instance an action looks like the following:
  69.  
  70.                +--------------------------------+
  71.                |        action name             |
  72.                +----------------+---------------+
  73.                | role-name      | role-name     |
  74.                +----------------+---------------+
  75.  
  76. (The number of "role-name" boxes varies from 1 to n, typical values 1-3)
  77.  
  78. This action-object is sensitive to mouse button as follows:
  79.  
  80.   * RIGHT:  a popup menu a displayed. Several operations concerning this
  81.             action are available.
  82.   * MIDDLE: action is dragged to a new place. As a result all connecting
  83.             lines are updated, and the new place is sent to the application.
  84.             (This operation is inherited from class DisCoItem.)
  85.   * LEFT:   a select event is sent to the application. The event is different
  86.             for all subareas of the action.
  87.  
  88. --
  89. % This article represents my personal views.
  90. % Kari Systa, Tampere Univ. Technology, Box 553, 33101 Tampere, Finland
  91. % work: +358 31 162585      fax: +358 31 162913      home: +358 31 177412
  92. % Internet: ks@cs.tut.fi    X.400: C=fi ADMD=fumail O=TUT OU=CS S=ks
  93.