Hi,
I have a browser with some kind of "buffer" where I can hold a value
selected from one of several list in the browser.
The buffer itself is implemented as a pane containing a list with only
one element in it, it is populated when I strongSelect (double click) in
one of the source list:
(browser transmit) to: #buffer; from: #PackagePane port:
#strongSelection; andShow: [:a |
a list
display: [:anEntity | {anEntity} ]
].
(browser transmit) to: #buffer; from: #ClassPane port:
#strongSelection; andShow: [:a |
a list
display: [:anEntity | {anEntity} ]
].
I also transmit from one list to the other with simple selection (click)
(browser transmit) to: #ClassPane; from: #PackagePane; andShow: [:b
| | gmlList |
gmlList := b list.
gmlList
display: [:anEntity | anEntity classes]];
It works "thusly" : if I click on a package in the PackagePane, its
class appear in the ClassPane.
If I double click on a package or a class, then it also appears in the
"buffer"
However, if I double click on a class, it goes correctly in the buffer,
but if after I single click on a package, the "buffer" is wiped.
This is not the intended behavior ...
Bug or feature?
and if it is a feature, how to get the feature I want?
nicolas
--
Nicolas Anquetil -- RMod research team (Inria)