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

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