🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.interviews
Article #810

ibuild question

#810
From: Paul Shannon
Date: Sat, 07 Nov 1992 13:37
40 lines
1744 bytes
As a new user of ibuild (iv 3.1beta3) I'm confused on a point that's 
arisen as I try to merge an existing program with the ibuild techniques
described in the User's Guide (Vlissides, Tang and Brauer, August 1992).
By the way, I'm very impressed with the Guide: it's well-written and
is itself a good example of user interface design.

Here's a very simple case of what my problem seems to be.  I need to
create a scroller that will adjust an object that is *not* an interactor.
The object-to-be-adjusted is declared in my program

   class ColorValue: public Adjustable {....}

and has no graphical attributes.  It's invisible.  It sends messages to
an object delcared

   class ColorValueDisplay: public MonoGlyph, public Observer {...}

which, of course, is visible.

Using ibuild,
  - I create and position an vscroller
  - choose the Examine tool
  - rename the vscroller "redScroller"
  - export the member name
  - specify "Member Adjusted" as "redColorValue"

and get the error message

   "No interactor member named redColorValue exists."

How do I tell ibuild that it should relax its rules, and let me
create an adjuster (the scroller) for an object it doesn't yet
know about?  

Or is there a way to create a proxy, within ibuild, for this 
non-graphical object in my program?

All suggestions are welcome.

 - Paul
Technical Details
Message-ID: <PSHANNON.92Nov7083740@iapetus.cv.nrao.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!olivea!hal.com!decwrl!concert!uvaarpa!cv3.cv.nrao.edu!cv3.cv.nrao.edu!pshannon

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!olivea!hal.com!decwrl!concert!uvaarpa!cv3.cv.nrao.edu!cv3.cv.nrao.edu!pshannon
From: pshannon@iapetus.cv.nrao.edu (Paul Shannon)
Newsgroups: comp.windows.interviews
Subject: ibuild question
Message-ID: <PSHANNON.92Nov7083740@iapetus.cv.nrao.edu>
Date: 7 Nov 92 13:37:40 GMT
Sender: news@nrao.edu
Distribution: comp
Organization: nrao
Lines: 40