Zat Home
Support | Bug Report

270

allow access to methods other than get* in With= popup

Not exactly a bug, more a feature request.

I've been testing Spin with the IBM alphabeans (jolly good, BTW), and I was
trying to use the "Randomiser" bean, which just gives you a series of random
nimubers. The problem is that the way you use this bean is that you get the
next (long) number by calling "nextLong". Since their method name stupidly
doesn't have "get" in front of it, the only way for me to be able to access
this method is by manually typing its' name into the action box. It doesn't
appear on the popup menu.
    I realise that this problem is mostly due to stupid Bean design on their
part, but since they build their beans to be used in other visual authoring
tools such as Visual Age, I assume that Visual Age is giving people a visual
way to wire to this method. If that's the case then other people are also
probably writing beans using similar techniques and it would be good to give
people a method to use them - how about an "Other Methods" menu at the
bottom of the existing "with=" popup, that heirarchically opens a list of
other methods that return the correct type, but aren't strictly properties ?

** Josh Portway 1/21/99 **

Same as 61

** Philip 2/15/99 **


New key combinations in Spin allow more options
Control key with popup => gives get* menu but ignores argument type matching
Shift key with popup => gives any method (not only gets), but matches arg type
shift & Control => gives any method, and ignores arg type matching

** Philip 6/21/99 **

Generated on: Mon Apr 10 11:49:39 PDT 2000