summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2007-05-10 09:49:37 +0000
committerKurt Zenker <kz@openoffice.org>2007-05-10 09:49:37 +0000
commit4eefd4fc9e990b9006624a968e06e99b66d68b48 (patch)
tree397cd07ebb0072695cf49b7970512ce16687427e
parent1dc6d732cbaa1e248f6ed693e9c63019047b2266 (diff)
INTEGRATION: CWS dba23a (1.32.44); FILE MERGED
2007/03/01 12:53:01 fs 1.32.44.3: #i74061# be a listener at the model's IsReadOnly property 2007/03/01 12:02:13 fs 1.32.44.2: #i74061# support for read-only object inspector 2007/02/21 13:45:00 fs 1.32.44.1: #i74719# don't suspend (or inspect another object) if one handler is inside an interactive property selection
-rw-r--r--extensions/source/propctrlr/propcontroller.hxx30
1 files changed, 27 insertions, 3 deletions
diff --git a/extensions/source/propctrlr/propcontroller.hxx b/extensions/source/propctrlr/propcontroller.hxx
index 053c79e63..cf587ae1f 100644
--- a/extensions/source/propctrlr/propcontroller.hxx
+++ b/extensions/source/propctrlr/propcontroller.hxx
@@ -4,9 +4,9 @@
*
* $RCSfile: propcontroller.hxx,v $
*
- * $Revision: 1.32 $
+ * $Revision: 1.33 $
*
- * last change: $Author: kz $ $Date: 2006-12-13 12:02:20 $
+ * last change: $Author: kz $ $Date: 2007-05-10 10:49:37 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -222,6 +222,7 @@ namespace pcr
PropertyHandlerMultiRepository;
PropertyHandlerRepository m_aPropertyHandlers;
PropertyHandlerMultiRepository m_aDependencyHandlers;
+ PropertyHandlerRef m_xInteractiveHandler;
::std::auto_ptr< ComposedPropertyUIUpdate > m_pUIRequestComposer;
@@ -350,7 +351,7 @@ namespace pcr
void doInspection();
// bind the browser to m_xIntrospecteeAsProperty
- void rebindToInspectee( const InterfaceArray& _rObjects );
+ void impl_rebindToInspectee_nothrow( const InterfaceArray& _rObjects );
/** retrieves special property handlers for our introspectee
*/
@@ -390,6 +391,9 @@ namespace pcr
/// calls XPropertyHandler::suspend for all our property handlers
sal_Bool suspendPropertyHandlers_nothrow( sal_Bool _bSuspend );
+ /// suspends the complete inspector
+ sal_Bool suspendAll_nothrow();
+
/** selects a page according to our current view data
*/
void selectPageFromViewData();
@@ -465,6 +469,26 @@ namespace pcr
*/
void impl_initializeView_nothrow();
+ /** determines whether the view should be readonly.
+
+ Effectively, this means that the method simply checks the IsReadOnly attribute of the model.
+ If there is no model, <FALSE/> is returned.
+
+ @throws ::com::sun::star::uno::RuntimeException
+ in case asking the model for its IsReadOnly attribute throws a ::com::sun::star::uno::RuntimeException
+ itself.
+ */
+ bool impl_isReadOnlyModel_throw() const;
+
+ /** updates our view so that it is read-only, as indicated by the model property
+ @see impl_isReadOnlyModel_throw
+ */
+ void impl_updateReadOnlyView_nothrow();
+
+ /** starts or stops listening at the model
+ */
+ void impl_startOrStopModelListening_nothrow( bool _bDoListen ) const;
+
private:
DECL_LINK(OnPageActivation, void*);