>>>>> "Chris" == Chris Coat <[email protected]> writes:

 Chris> If you can please just confirm me that the api.ExtensionContext
 Chris> you were talking about is the context that can be found in the
 Chris> perform methods.  Didn't find the ExtensionContext in
 Chris> org.netlogo.api.

Oops, sorry, yes, I meant api.Context.  (That's the interface that
nvm.ExtensionContext implements.  Confusingly, there is also nvm.Context
which is unrelated.)

 Chris> Do you know how it works when the View is set to 3D mode ? I
 Chris> can't find how to get the position in that case.

I don't know the 3D code very well, but this should put you on the
trail, at least:

window.GUIWorkspace has a public `glView` member, where the "gl" part
means 3D, in reference to OpenGL.  It holds an object that implements
the window.GLViewManagerInterface.  The implementing class is
org.nlogo.gl.view.ViewManager, which has a currentView() member which
will return a gl.view.View, which extends java.awt.Frame.

-- 
Seth Tisue | http://tisue.net

-- 
You received this message because you are subscribed to the Google Groups 
"netlogo-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to