Re: Pick

Hi Doug,

I usually handle that situation by adding an "ignoreNextAction" flag
that I set to true just before calling cell.enableAction().  Then,
in the Cell's doAction() method, I put:
   if (ignoreNextAction) {
     ignoreNextAction = false;
     return;
   }
as the first couple of lines for the method.

-Curtis

At 12:06 PM 2/5/2002, Doug Lindholm wrote:
>I have a CellImpl handling "picks" for my data with a
>PickManipulationRendererJ3D. I also have GUI hooks that allow the user
>to turn off/on the data using the renderer's toggle method. However,
>when I
>toggle the thing on, it performs the CellImpl's action. How can I make
>the CellImpl respond only to "picks" but not other things?


  • References:
    • Pick
      • From: Doug Lindholm
  • 2002 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the visad archives: