Interceptor.java (a893be29) Interceptor.java (15289133)
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 182 unchanged lines hidden (view full) ---

191 }
192
193 // ____________________
194
195 /**
196 * call back for frame action events
197 * We use it to update our interception. Because if a new component was loaded into
198 * the frame or another interceptor was registered, we should refresh our connection
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 182 unchanged lines hidden (view full) ---

191 }
192
193 // ____________________
194
195 /**
196 * call back for frame action events
197 * We use it to update our interception. Because if a new component was loaded into
198 * the frame or another interceptor was registered, we should refresh our connection
199 * to the frame. Otherwhise we can't guarantee full functionality here.
199 * to the frame. Otherwise we can't guarantee full functionality here.
200 *
201 * Note: Don't react synchronous in an asynchronous listener callback. So use a thread
202 * here to update anything.
203 *
204 * @seealso impl_frameAction()
205 *
206 * @param aEvent
207 * describes the action

--- 392 unchanged lines hidden (view full) ---

600 }
601 shutdown();
602 }
603
604 // ____________________
605
606 /**
607 * If this java application shutdown - we must cancel all current existing
200 *
201 * Note: Don't react synchronous in an asynchronous listener callback. So use a thread
202 * here to update anything.
203 *
204 * @seealso impl_frameAction()
205 *
206 * @param aEvent
207 * describes the action

--- 392 unchanged lines hidden (view full) ---

600 }
601 shutdown();
602 }
603
604 // ____________________
605
606 /**
607 * If this java application shutdown - we must cancel all current existing
608 * listener connections. Otherwhise the office will run into some
608 * listener connections. Otherwise the office will run into some
609 * DisposedExceptions if it tries to use these forgotten listener references.
610 * And of course it can die doing that.
611 * We are registered at a central object to be informed if the VM will exit.
612 * So we can react.
613 */
614 public void shutdown()
615 {
616 com.sun.star.frame.XFrame xFrame = null ;

--- 45 unchanged lines hidden ---
609 * DisposedExceptions if it tries to use these forgotten listener references.
610 * And of course it can die doing that.
611 * We are registered at a central object to be informed if the VM will exit.
612 * So we can react.
613 */
614 public void shutdown()
615 {
616 com.sun.star.frame.XFrame xFrame = null ;

--- 45 unchanged lines hidden ---