Michael Weisheit wrote:
> 
> the problem is that I need the Applet-Object in JSObject.getWindow(Applet 
> applet). Can I get the Object maybe from getApp().get...??? oder something 
> else?
> 

It's:

((com.xmlmind.xmleditapp.app.ApplicationBase) app).getApplet()

See 
http://www.xmlmind.com/xmleditor/_distrib/doc/api/com/xmlmind/xmleditapp/app/ApplicationBase.html#getApplet()

Now, how to access *app* ? the answer is: it depends on the kind of 
extension you write. (No, there is no global variable pointing to the 
application object.)

For example, any application part (AppAction, AppTool, etc) has access 
to the application which contains it. See for example: 
http://www.xmlmind.com/xmleditor/_distrib/doc/api/com/xmlmind/xmleditapp/kit/AppAction.html#app




Reply via email to