I'm looking for some way to have a sort of "single-shot" intention or quickfix, which is only usable after some other action is taken by the user. Here's the use case: I want the user to select a menu action requesting that some complex analysis be done. The action would do an enormous amount of calculation, the end result of which is some blocks of code are highlighted. Then, if the user selects one of those highlighted blocks, they get an intention offering them to perform some interesting action on the code in that block. The initial action, calculation, and highlighting are all pretty easy, but things fall down when I try to offer that intention. I could use a standard intention and allow it to try to figure out when the user has selected in a code segment that had been highlighted, but that seems clunky and error-prone, since calculation results would have to be stored indefinitely.