I just added an instance variable to Model.
Le 28/8/15 11:34, Yuriy Tymchuk a écrit :
Wow, this is weird.
Yes, GLMAsyncTask spawns a process. I use it not to block the ui in nautilus
while critics are retrieved. So when you switch to a new method it changes
plugin’s critic list to “loading progress morph” and runs the task with a lower
priority. If in ui you go through methods, it simply reschedules the task to
check different critics. When you stop working with UI it calculates the
critics and shows them to you.
For me its weird that you get DNU for symbol while `morph` should be a
QANautilusPluginMorph. Did I do something very evil not knowing about all the
concurrent/morphic black magic?
Uko
On 28 Aug 2015, at 10:50, stepharo <steph...@free.fr> wrote:
When I add an iv to Model I get a ByteSymbol>>entity:
QANautilusPluggin>>initialize
changeHandler := GLMAsyncTask new
priority: Processor activePriority - 1;
doInBackground: [ morph entity: self currentEntity ];
yourself
And in the debugger morph is a a Morph exactly a
QANautilusPluginMorph(493092864)
Yuriy do you use thread?
Stef