Re: Guards and notifiers

From: [at]} <gruntz{>
Date: Mon, 8 Mar 1999 13:40:20 +0100

>I have written a View module where the view has
>some visible attributes, like e.g. plot labels.
>I can instantiate several such plots on screen at the
>same time, each one with different plots, and hence
>different labels.
>
>I am now trying to be able to change any of these labels
>by having a Tool dialog, which would adapt itself to
>currently focused view. When the view being focused
>is changed, the labels in the Tool dialog would change
>to be the ones of the currently focused view.

This has to be done using an action. The action should
copy the instance data of the currently selected view into
the interactor and update the controls. If no view is
selected, then guards should disable the controls.

Below is an example which demonstrates such a tool
dialog with a simple view wich has one attribute (its color).
For another example look at ObxCubes.

- Dominik Gruntz

--------------------------------------------------------------
Dr. Dominik Gruntz
Oberon microsystems, Inc., Technoparkstrasse 1, CH-8005 Zurich
gruntz{([at]})nowhere.xy
tel ++41-1-445-1751
fax ++41-1-445-1752


StdCoder.Decode ..,, ..ps....3Qw7uP5PRPPNR9Rbf9b8R79FTvMf1GomCrlAy2xhX,Cb2x
 hXhC6FU1xhiZiVBhihgmRiioedhgrZcZRiXFfaqmSrtuGfa4700zdGrr8rmCLLCJuyKtYcZRiX
 7.2.s,ciP.0k,5TWyql.bnayKmKKqGomC5XzET1.PuP.MHT9N9ntumaU2,CJuyKtQC98P9PP7O
 NbXmb.2.2VBk2UBE.2.8cIhgsZiKBhZxintId9NhOO9HWUlbeZ3Dkto8Y6cw3.0.k1EJn.0U18
 J99SqorGqmQCbWBxhYFWUl1UnNHEWUmr.6.Yq8k5EKf.,E.E28E.cUX5.bnUGLu8ro8quGrmCL
 WKqtE0E.kHE.0.p.,6.M.EJwcNC.6.VQ.EFl.8Mtr.2.m00.y,2.AU.U5hgihgqBADOa1.0E6,
 b03cUZT1E.6E2.s56.,.1.S2.U.Yr0U.Y.AUv.N216i1.N.5cUZT16.,U0,,UO.,.16.c8.2Uw
 0S.ABAU1,VU.2.c5Nf.OS28U0Cy2hgqRcjhhhBgiZgZJinpZHZCh0E.4TWKKv.Uio8.,cw5.0.
 ,,,.B.0UJUf.,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OFRNKRd9Rd9RtMntE1fOj7InPMPfJluAf
 eONNJRN1,dARd9Xd9VNFntJnf9TPRRvNRdI1OMNOFFuIbPAHuONPAf8B38OpeKFPKpuMpeI5e9
 Vd9FvFRdBRtPfdBRtBRNJ799Rd9Rd9R79RlMu0WodqEEGnrKraCIKWKoeKpKIbSodGnYiKq4Xl
 2jcxgs3hh3iXZgcBcioZgge9xaiIaigilIaJJaiQhjpZio3RNJRd9RNJLuJL8J1vAPOBNOSbNR
 XOHlO1,NJRtFRd9bNGluOhOSLeQfuNFvNPfIAeZxhohcIpgEZgloa4BbqBekQhn3emoZJphkJf
 l2jcBhgoa4paiQcmYaooZ7RcioZiAedBhioZr2agQgB2YrxaiYZioZ,ZZqoZsoZmgekAcJRhkh
 dkwh,ZaJRaiYZfpZhhcrxalYhWBe7JjEpaVZcIJasQin3dmoZGZi3pZioanoaioZJpaJpZigeB
 ReYphroaB2Y2ZiX3aBBjaheiAgu3bqYaI3bD3aDJdLxac3ekoZioZB2YhgZh2YZphY3YjpgUgg
 iRgjZgdphb3YhgZhgVBIklbeZlVyKrIC.Gb1ZimZh2hgnRg.AyI,.ELCoruKu.GomCrl0U1VV,
 u0IC...Qii..70,cw7.,.d.,.HE.2U..U,Iklb8IepZhZJinpZHFdKLq6F6.XDJ.QiiIepZhZ7
 F6.Zz.E.se0U5UXW.2.52.CLLC3b8Rn9P99F9vQ59.X5.u0n9PU.Iy5.,.60,UOF.2.86.c918
 RkuGrmY62.7.,..Y22U,2.2.2YXK90U.wcNC.zwPA.A.2U.E,9z4U...p.0.4.I3E.6.VQ.E..
 YVsH4EKithQVs9E3Qw7uPgBGrt...Z6.6..E2E.U76.2n9RC,t75J.nT32kwL,lsHFHEfGA,nC
 ,...
 --- end of encoding ---
Received on Mon Mar 08 1999 - 13:49:00 UTC

This archive was generated by hypermail 2.3.0 : Thu Sep 26 2013 - 06:27:42 UTC