LibreOffice Module extensions (master) 1
|
#include <propcontroller.hxx>
Public Member Functions | |
OPropertyBrowserController (const css::uno::Reference< css::uno::XComponentContext > &_rxContext) | |
Public Member Functions inherited from comphelper::OMutexAndBroadcastHelper | |
OMutexAndBroadcastHelper () | |
::osl::Mutex & | GetMutex () |
::cppu::OBroadcastHelper & | GetBroadcastHelper () |
const ::cppu::OBroadcastHelper & | GetBroadcastHelper () const |
virtual void | Clicked (const OUString &_rName, bool _bPrimary)=0 |
virtual void | Commit (const OUString &_rName, const css::uno::Any &_rVal)=0 |
virtual void | focusGained (const css::uno::Reference< css::inspection::XPropertyControl > &Control)=0 |
virtual void | valueChanged (const css::uno::Reference< css::inspection::XPropertyControl > &Control)=0 |
virtual bool | hasPropertyByName (const OUString &_rName)=0 |
Protected Member Functions | |
virtual OUString SAL_CALL | getImplementationName () override |
virtual sal_Bool SAL_CALL | supportsService (const OUString &ServiceName) override |
virtual css::uno::Sequence< OUString > SAL_CALL | getSupportedServiceNames () override |
virtual void SAL_CALL | attachFrame (const css::uno::Reference< css::frame::XFrame > &xFrame) override |
virtual sal_Bool SAL_CALL | attachModel (const css::uno::Reference< css::frame::XModel > &xModel) override |
virtual sal_Bool SAL_CALL | suspend (sal_Bool bSuspend) override |
virtual css::uno::Any SAL_CALL | getViewData () override |
virtual void SAL_CALL | restoreViewData (const css::uno::Any &Data) override |
virtual css::uno::Reference< css::frame::XModel > SAL_CALL | getModel () override |
virtual css::uno::Reference< css::frame::XFrame > SAL_CALL | getFrame () override |
virtual void SAL_CALL | dispose () override |
virtual void SAL_CALL | addEventListener (const css::uno::Reference< css::lang::XEventListener > &xListener) override |
virtual void SAL_CALL | removeEventListener (const css::uno::Reference< css::lang::XEventListener > &aListener) override |
virtual void SAL_CALL | focusGained (const css::awt::FocusEvent &_rSource) override |
virtual void SAL_CALL | focusLost (const css::awt::FocusEvent &_rSource) override |
virtual void SAL_CALL | disposing (const css::lang::EventObject &Source) override |
virtual css::awt::Size SAL_CALL | getMinimumSize () override |
virtual css::awt::Size SAL_CALL | getPreferredSize () override |
virtual css::awt::Size SAL_CALL | calcAdjustedSize (const css::awt::Size &rNewSize) override |
virtual void SAL_CALL | propertyChange (const css::beans::PropertyChangeEvent &_rEvent) override |
virtual css::uno::Reference< css::inspection::XPropertyControl > SAL_CALL | createPropertyControl (::sal_Int16 ControlType, sal_Bool CreateReadOnly) override |
XPropertyControlFactory. More... | |
virtual | ~OPropertyBrowserController () override |
virtual void | Clicked (const OUString &_rName, bool _bPrimary) override |
virtual void | Commit (const OUString &_rName, const css::uno::Any &_rVal) override |
virtual void | focusGained (const css::uno::Reference< css::inspection::XPropertyControl > &Control) override |
virtual void | valueChanged (const css::uno::Reference< css::inspection::XPropertyControl > &Control) override |
virtual bool | hasPropertyByName (const OUString &_rName) override |
virtual void SAL_CALL | enablePropertyUI (const OUString &_rPropertyName, sal_Bool _bEnable) override |
virtual void SAL_CALL | enablePropertyUIElements (const OUString &_rPropertyName, ::sal_Int16 _nElements, sal_Bool _bEnable) override |
virtual void SAL_CALL | rebuildPropertyUI (const OUString &_rPropertyName) override |
virtual void SAL_CALL | showPropertyUI (const OUString &_rPropertyName) override |
virtual void SAL_CALL | hidePropertyUI (const OUString &_rPropertyName) override |
virtual void SAL_CALL | showCategory (const OUString &_rCategory, sal_Bool _bShow) override |
virtual css::uno::Reference< css::inspection::XPropertyControl > SAL_CALL | getPropertyControl (const OUString &_rPropertyName) override |
virtual void SAL_CALL | registerControlObserver (const css::uno::Reference< css::inspection::XPropertyControlObserver > &Observer) override |
virtual void SAL_CALL | revokeControlObserver (const css::uno::Reference< css::inspection::XPropertyControlObserver > &Observer) override |
virtual void SAL_CALL | setHelpSectionText (const OUString &HelpText) override |
virtual css::uno::Reference< css::inspection::XObjectInspectorModel > SAL_CALL | getInspectorModel () override |
virtual void SAL_CALL | setInspectorModel (const css::uno::Reference< css::inspection::XObjectInspectorModel > &_inspectormodel) override |
virtual css::uno::Reference< css::inspection::XObjectInspectorUI > SAL_CALL | getInspectorUI () override |
virtual void SAL_CALL | inspect (const css::uno::Sequence< css::uno::Reference< css::uno::XInterface > > &Objects) override |
virtual css::uno::Reference< css::frame::XDispatch > SAL_CALL | queryDispatch (const css::util::URL &URL, const OUString &TargetFrameName, ::sal_Int32 SearchFlags) override |
virtual css::uno::Sequence< css::uno::Reference< css::frame::XDispatch > > SAL_CALL | queryDispatches (const css::uno::Sequence< css::frame::DispatchDescriptor > &Requests) override |
virtual void SAL_CALL | initialize (const css::uno::Sequence< css::uno::Any > &aArguments) override |
Protected Member Functions inherited from pcr::IPropertyLineListener | |
~IPropertyLineListener () | |
Protected Member Functions inherited from pcr::IPropertyControlObserver | |
~IPropertyControlObserver () | |
Protected Member Functions inherited from pcr::IPropertyExistenceCheck | |
~IPropertyExistenceCheck () | |
Private Types | |
typedef std::multimap< sal_Int32, css::beans::Property > | OrderedPropertyMap |
typedef std::vector< css::uno::Reference< css::uno::XInterface > > | InterfaceArray |
typedef css::uno::Reference< css::inspection::XPropertyHandler > | PropertyHandlerRef |
typedef std::vector< PropertyHandlerRef > | PropertyHandlerArray |
typedef std::unordered_map< OUString, PropertyHandlerRef > | PropertyHandlerRepository |
typedef std::unordered_multimap< OUString, PropertyHandlerRef > | PropertyHandlerMultiRepository |
typedef std::unordered_map< OUString, sal_uInt16 > | HashString2Int16 |
Private Member Functions | |
void | UpdateUI () |
void | startContainerWindowListening () |
void | stopContainerWindowListening () |
void | stopInspection (bool _bCommitModified) |
bool | haveView () const |
OPropertyEditor & | getPropertyBox () |
void | doInspection () |
void | impl_rebindToInspectee_nothrow (InterfaceArray &&_rObjects) |
void | getPropertyHandlers (const InterfaceArray &_rObjects, PropertyHandlerArray &_rHandlers) |
retrieves special property handlers for our introspectee More... | |
void | impl_broadcastPropertyChange_nothrow (const OUString &_rPropertyName, const css::uno::Any &_rNewValue, const css::uno::Any &_rOldValue, bool _bFirstTimeInit) const |
called when a property changed, to broadcast any handlers which might have registered for this property More... | |
bool | impl_isActuatingProperty_nothrow (const OUString &_rPropertyName) const |
determines whether the given property is an actuating property, that is, at least one handler expressed interest in changes to this property's value. More... | |
css::uno::Any | impl_getPropertyValue_throw (const OUString &_rPropertyName) |
retrieves the value of the given property, by asking the appropriate XPropertyHandler More... | |
bool | suspendPropertyHandlers_nothrow (bool _bSuspend) |
calls XPropertyHandler::suspend for all our property handlers More... | |
bool | suspendAll_nothrow () |
suspends the complete inspector More... | |
void | selectPageFromViewData () |
selects a page according to our current view data More... | |
void | updateViewDataFromActivePage () |
updates our view data from the currently active page More... | |
void | describePropertyLine (const css::beans::Property &_rPropertyName, OLineDescriptor &_rDescriptor) |
describes the UI for the given property More... | |
bool | impl_findObjectProperty_nothrow (const OUString &_rName, OrderedPropertyMap::const_iterator *_pProperty=nullptr) |
retrieves the position of the property given by name in m_aProperties More... | |
void | Construct (const css::uno::Reference< css::awt::XWindow > &rContainerWindow, std::unique_ptr< weld::Builder > xBuilder) |
PropertyHandlerRef const & | impl_getHandlerForProperty_throw (const OUString &_rPropertyName) const |
retrieves the property handler for a given property name More... | |
bool | impl_hasPropertyHandlerFor_nothrow (const OUString &_rPropertyName) const |
determines whether we have a handler for the given property More... | |
void | impl_buildCategories_throw () |
builds up m_aPageIds from InspectorModel::describeCategories, and insert all the respective tab pages into our view @precond m_aPageIds is empty More... | |
sal_uInt16 | impl_getPageIdForCategory_nothrow (const OUString &_rCategoryName) const |
retrieves the id of the tab page which represents a given category. More... | |
void | impl_toggleInspecteeListening_nothrow (bool _bOn) |
adds or removes ourself as XEventListener to/from all our inspectees More... | |
void | impl_bindToNewModel_nothrow (const css::uno::Reference< css::inspection::XObjectInspectorModel > &_rxInspectorModel) |
binds the instance to a new model More... | |
void | impl_initializeView_nothrow () |
initializes our view, as indicated by the model's view-relevant properties More... | |
bool | impl_isReadOnlyModel_throw () const |
determines whether the view should be readonly. More... | |
void | impl_startOrStopModelListening_nothrow (bool _bDoListen) const |
starts or stops listening at the model More... | |
DECL_LINK (OnPageActivation, LinkParamNone *, void) | |
void | createWithModel (const css::uno::Reference< css::inspection::XObjectInspectorModel > &_rxModel) |
Additional Inherited Members | |
Protected Attributes inherited from comphelper::OMutexAndBroadcastHelper | |
::osl::Mutex | m_aMutex |
::cppu::OBroadcastHelper | m_aBHelper |
Definition at line 64 of file propcontroller.hxx.
|
private |
Definition at line 115 of file propcontroller.hxx.
|
private |
Definition at line 77 of file propcontroller.hxx.
|
private |
Definition at line 75 of file propcontroller.hxx.
|
private |
Definition at line 94 of file propcontroller.hxx.
|
private |
Definition at line 98 of file propcontroller.hxx.
|
private |
Definition at line 93 of file propcontroller.hxx.
|
private |
Definition at line 96 of file propcontroller.hxx.
|
explicit |
Definition at line 68 of file propcontroller.cxx.
|
overrideprotectedvirtual |
Definition at line 79 of file propcontroller.cxx.
References stopInspection().
|
overrideprotectedvirtual |
Definition at line 495 of file propcontroller.cxx.
References comphelper::OInterfaceContainerHelper2::addInterface(), and m_aDisposeListeners.
|
overrideprotectedvirtual |
Definition at line 315 of file propcontroller.cxx.
References Construct(), Application::CreateBuilder(), Application::CreateInterimBuilder(), VCLUnoHelper::GetWindow(), haveView(), comphelper::OMutexAndBroadcastHelper::m_aMutex, m_xBuilder, m_xFrame, m_xPropView, startContainerWindowListening(), stopContainerWindowListening(), and UpdateUI().
|
overrideprotectedvirtual |
Definition at line 360 of file propcontroller.cxx.
References getInspectorModel(), setInspectorModel(), and xModel.
|
overrideprotectedvirtual |
Definition at line 1063 of file propcontroller.cxx.
References getMinimumSize().
|
overrideprotectedvirtual |
Implements pcr::IPropertyLineListener.
Definition at line 1242 of file propcontroller.cxx.
References aData, Any, pcr::OPropertyEditor::CommitModified(), DBG_ASSERT, DBG_UNHANDLED_EXCEPTION, Exception, getPropertyBox(), m_aPropertyHandlers, m_pUIRequestComposer, and m_xInteractiveHandler.
|
overrideprotectedvirtual |
Implements pcr::IPropertyLineListener.
Definition at line 1295 of file propcontroller.cxx.
References Any, Application::CreateMessageDialog(), Exception, getPropertyBox(), impl_broadcastPropertyChange_nothrow(), impl_getHandlerForProperty_throw(), impl_getPropertyValue_throw(), impl_isActuatingProperty_nothrow(), m_sCommittingProperty, m_xPropView, pcr::PcrRes(), PROPERTY_IMAGE_URL, pcr::OPropertyEditor::SetPropertyValue(), and TOOLS_WARN_EXCEPTION.
|
private |
Definition at line 613 of file propcontroller.cxx.
References DBG_ASSERT, getPropertyBox(), haveView(), impl_initializeView_nothrow(), LINK, m_xBuilder, m_xContext, m_xPropView, m_xView, pcr::OPropertyEditor::SetControlObserver(), and pcr::OPropertyEditor::SetLineListener().
Referenced by attachFrame().
|
overrideprotectedvirtual |
XPropertyControlFactory.
Definition at line 678 of file propcontroller.cxx.
References pcr::eMultiLineText, pcr::eStringList, pcr::PropertyHandlerHelper::getDialogParentFrame(), impl_isReadOnlyModel_throw(), comphelper::OMutexAndBroadcastHelper::m_aMutex, m_xContext, and pcr::PropertyHandlerHelper::makeBuilder().
|
private |
Definition at line 303 of file propcontroller.cxx.
References m_bConstructed, m_refCount, and setInspectorModel().
Referenced by initialize().
|
private |
|
private |
describes the UI for the given property
Definition at line 1075 of file propcontroller.cxx.
References pcr::OLineDescriptor::assignFrom(), pcr::OLineDescriptor::aValue, pcr::OLineDescriptor::bReadOnly, pcr::OLineDescriptor::bUnknownValue, Exception, weld::Widget::get_buildable_name(), impl_isReadOnlyModel_throw(), m_aPropertyHandlers, SAL_WARN, weld::Widget::set_buildable_name(), pcr::OLineDescriptor::sName, TOOLS_WARN_EXCEPTION, and pcr::OLineDescriptor::xPropertyHandler.
Referenced by rebuildPropertyUI(), showPropertyUI(), and UpdateUI().
|
overrideprotectedvirtual |
Definition at line 471 of file propcontroller.cxx.
References comphelper::OInterfaceContainerHelper2::disposeAndClear(), impl_bindToNewModel_nothrow(), m_aControlObservers, m_aDisposeListeners, m_aInspectedObjects, m_xBuilder, m_xPropView, m_xView, and stopInspection().
|
overrideprotectedvirtual |
Definition at line 543 of file propcontroller.cxx.
References m_aInspectedObjects, m_xBuilder, m_xPropView, and m_xView.
|
private |
Definition at line 932 of file propcontroller.cxx.
References aProperties, DBG_ASSERT, pcr::StlSyntaxSequence< ELEMENT >::empty(), Exception, getInspectorUI(), getPropertyHandlers(), impl_toggleInspecteeListening_nothrow(), m_aDependencyHandlers, m_aInspectedObjects, m_aProperties, m_aPropertyHandlers, m_pUIRequestComposer, m_xModel, nPos, pcr::StlSyntaxSequence< ELEMENT >::size(), and TOOLS_WARN_EXCEPTION.
Referenced by impl_rebindToInspectee_nothrow().
|
overrideprotectedvirtual |
Definition at line 1474 of file propcontroller.cxx.
References pcr::OPropertyEditor::EnablePropertyLine(), getPropertyBox(), haveView(), impl_findObjectProperty_nothrow(), and comphelper::OMutexAndBroadcastHelper::m_aMutex.
|
overrideprotectedvirtual |
Definition at line 1487 of file propcontroller.cxx.
References pcr::OPropertyEditor::EnablePropertyControls(), getPropertyBox(), haveView(), impl_findObjectProperty_nothrow(), and comphelper::OMutexAndBroadcastHelper::m_aMutex.
|
overrideprotectedvirtual |
|
overrideprotectedvirtual |
Implements pcr::IPropertyControlObserver.
|
overrideprotectedvirtual |
Definition at line 537 of file propcontroller.cxx.
|
overrideprotectedvirtual |
Definition at line 466 of file propcontroller.cxx.
References m_xFrame.
|
overrideprotectedvirtual |
Reimplemented in pcr::FormController.
Definition at line 505 of file propcontroller.cxx.
|
overrideprotectedvirtual |
Definition at line 138 of file propcontroller.cxx.
References m_xModel.
Referenced by attachModel().
|
overrideprotectedvirtual |
Definition at line 226 of file propcontroller.cxx.
Referenced by doInspection().
|
overrideprotectedvirtual |
Definition at line 1047 of file propcontroller.cxx.
References m_xPropView.
Referenced by calcAdjustedSize(), and getPreferredSize().
|
overrideprotectedvirtual |
Definition at line 460 of file propcontroller.cxx.
|
overrideprotectedvirtual |
Definition at line 1057 of file propcontroller.cxx.
References getMinimumSize().
|
inlineprivate |
Definition at line 217 of file propcontroller.hxx.
References m_xPropView.
Referenced by Clicked(), Commit(), Construct(), enablePropertyUI(), enablePropertyUIElements(), getPropertyControl(), hidePropertyUI(), impl_buildCategories_throw(), impl_initializeView_nothrow(), propertyChange(), rebuildPropertyUI(), setHelpSectionText(), showCategory(), showPropertyUI(), stopInspection(), suspend(), and UpdateUI().
|
overrideprotectedvirtual |
Definition at line 1576 of file propcontroller.cxx.
References getPropertyBox(), haveView(), and comphelper::OMutexAndBroadcastHelper::m_aMutex.
|
private |
retrieves special property handlers for our introspectee
Definition at line 1391 of file propcontroller.cxx.
References m_xContext, and m_xModel.
Referenced by doInspection().
|
overrideprotectedvirtual |
Reimplemented in pcr::FormController.
Definition at line 516 of file propcontroller.cxx.
|
overrideprotectedvirtual |
Definition at line 444 of file propcontroller.cxx.
References Any, and m_sPageSelection.
|
overrideprotectedvirtual |
css::uno::RuntimeException |
Implements pcr::IPropertyExistenceCheck.
Definition at line 1286 of file propcontroller.cxx.
References m_aProperties.
|
inlineprivate |
Definition at line 216 of file propcontroller.hxx.
References m_xPropView.
Referenced by attachFrame(), Construct(), enablePropertyUI(), enablePropertyUIElements(), getPropertyControl(), hidePropertyUI(), impl_bindToNewModel_nothrow(), impl_initializeView_nothrow(), propertyChange(), rebuildPropertyUI(), selectPageFromViewData(), setHelpSectionText(), showCategory(), showPropertyUI(), stopInspection(), suspend(), UpdateUI(), and updateViewDataFromActivePage().
|
overrideprotectedvirtual |
Definition at line 1550 of file propcontroller.cxx.
References getPropertyBox(), haveView(), impl_findObjectProperty_nothrow(), comphelper::OMutexAndBroadcastHelper::m_aMutex, and pcr::OPropertyEditor::RemoveEntry().
|
private |
binds the instance to a new model
Definition at line 199 of file propcontroller.cxx.
References haveView(), impl_initializeView_nothrow(), impl_rebindToInspectee_nothrow(), impl_startOrStopModelListening_nothrow(), m_aInspectedObjects, and m_xModel.
Referenced by dispose(), and setInspectorModel().
|
private |
called when a property changed, to broadcast any handlers which might have registered for this property
_bFirstTimeInit | if set to <FALSE>, this is a real change in the property value, not just a call for purposes of initialization. |
Definition at line 1614 of file propcontroller.cxx.
References DBG_UNHANDLED_EXCEPTION, Exception, m_aDependencyHandlers, and m_pUIRequestComposer.
Referenced by Commit(), propertyChange(), and UpdateUI().
|
private |
builds up m_aPageIds from InspectorModel::describeCategories, and insert all the respective tab pages into our view @precond m_aPageIds is empty
css::uno::RuntimeException | if one of the callees of this method throws this exception |
Definition at line 1125 of file propcontroller.cxx.
References pcr::OPropertyEditor::AppendPage(), pcr::HelpIdUrl::getHelpId(), getPropertyBox(), m_aPageIds, and m_xModel.
Referenced by UpdateUI().
|
private |
retrieves the position of the property given by name in m_aProperties
Definition at line 1440 of file propcontroller.cxx.
References m_aProperties.
Referenced by enablePropertyUI(), enablePropertyUIElements(), hidePropertyUI(), rebuildPropertyUI(), and showPropertyUI().
|
private |
retrieves the property handler for a given property name
_rPropertyName | the name whose handler is to be obtained. Must be the name of a property for which a handler is registered. |
RuntimeException | if there is no handler for the given property |
Definition at line 894 of file propcontroller.cxx.
References m_aPropertyHandlers.
Referenced by Commit(), impl_getPropertyValue_throw(), and propertyChange().
|
private |
retrieves the id of the tab page which represents a given category.
_rCategoryName | the programmatic name of a category. |
(sal_uInt16)-1
if there is no tab page for the given category Definition at line 593 of file propcontroller.cxx.
References m_aPageIds, and nPageId.
Referenced by selectPageFromViewData(), showCategory(), showPropertyUI(), and UpdateUI().
|
private |
retrieves the value of the given property, by asking the appropriate XPropertyHandler
_rPropertyName | the name whose handler is to be obtained. Must be the name of a property for which a handler is registered. |
RuntimeException | if there is no handler for the given property |
Definition at line 903 of file propcontroller.cxx.
References Any, and impl_getHandlerForProperty_throw().
Referenced by Commit(), propertyChange(), and UpdateUI().
|
private |
determines whether we have a handler for the given property
_rPropertyName | the name of the property for which the existence of a handler should be checked |
Definition at line 887 of file propcontroller.cxx.
References m_aPropertyHandlers.
Referenced by propertyChange().
|
private |
initializes our view, as indicated by the model's view-relevant properties
It's allowed to call this method when no model exists, yet. In this case, nothing happens.
Definition at line 144 of file propcontroller.cxx.
References DBG_UNHANDLED_EXCEPTION, pcr::OPropertyEditor::EnableHelpSection(), Exception, getPropertyBox(), haveView(), and m_xModel.
Referenced by Construct(), and impl_bindToNewModel_nothrow().
|
inlineprivate |
determines whether the given property is an actuating property, that is, at least one handler expressed interest in changes to this property's value.
Definition at line 241 of file propcontroller.hxx.
References m_aDependencyHandlers.
Referenced by Commit(), propertyChange(), and UpdateUI().
|
private |
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.
css::uno::RuntimeException | in case asking the model for its IsReadOnly attribute throws a css::uno::RuntimeException itself. |
Definition at line 165 of file propcontroller.cxx.
References m_xModel.
Referenced by createPropertyControl(), and describePropertyLine().
|
private |
Definition at line 910 of file propcontroller.cxx.
References doInspection(), Exception, m_aInspectedObjects, stopInspection(), TOOLS_WARN_EXCEPTION, and UpdateUI().
Referenced by impl_bindToNewModel_nothrow(), inspect(), and propertyChange().
|
private |
starts or stops listening at the model
Definition at line 174 of file propcontroller.cxx.
References DBG_UNHANDLED_EXCEPTION, Exception, m_xModel, and XPropertySet.
Referenced by impl_bindToNewModel_nothrow().
|
private |
adds or removes ourself as XEventListener to/from all our inspectees
Definition at line 803 of file propcontroller.cxx.
References DBG_UNHANDLED_EXCEPTION, Exception, and m_aInspectedObjects.
Referenced by doInspection(), and stopInspection().
|
overrideprotectedvirtual |
Definition at line 278 of file propcontroller.cxx.
References createWithModel(), pcr::StlSyntaxSequence< ELEMENT >::empty(), m_bConstructed, pcr::StlSyntaxSequence< ELEMENT >::size(), and xModel.
|
overrideprotectedvirtual |
Definition at line 233 of file propcontroller.cxx.
References impl_rebindToInspectee_nothrow(), comphelper::OMutexAndBroadcastHelper::m_aMutex, m_bBindingIntrospectee, m_bSuspendingPropertyHandlers, and suspendAll_nothrow().
|
overrideprotectedvirtual |
Definition at line 635 of file propcontroller.cxx.
References Any, getPropertyBox(), haveView(), impl_broadcastPropertyChange_nothrow(), impl_getHandlerForProperty_throw(), impl_getPropertyValue_throw(), impl_hasPropertyHandlerFor_nothrow(), impl_isActuatingProperty_nothrow(), impl_rebindToInspectee_nothrow(), m_aInspectedObjects, m_sCommittingProperty, m_xModel, and pcr::OPropertyEditor::SetPropertyValue().
|
overrideprotectedvirtual |
Definition at line 254 of file propcontroller.cxx.
Referenced by queryDispatches().
|
overrideprotectedvirtual |
Definition at line 261 of file propcontroller.cxx.
References queryDispatch().
|
overrideprotectedvirtual |
Definition at line 1450 of file propcontroller.cxx.
References pcr::OPropertyEditor::ChangeEntry(), describePropertyLine(), Exception, getPropertyBox(), haveView(), impl_findObjectProperty_nothrow(), comphelper::OMutexAndBroadcastHelper::m_aMutex, and TOOLS_WARN_EXCEPTION.
Referenced by showPropertyUI().
|
overrideprotectedvirtual |
Definition at line 1587 of file propcontroller.cxx.
References comphelper::OInterfaceContainerHelper2::addInterface(), and m_aControlObservers.
|
overrideprotectedvirtual |
Definition at line 500 of file propcontroller.cxx.
References m_aDisposeListeners, and comphelper::OInterfaceContainerHelper2::removeInterface().
|
overrideprotectedvirtual |
Definition at line 450 of file propcontroller.cxx.
References Data, m_sPageSelection, and selectPageFromViewData().
|
overrideprotectedvirtual |
Definition at line 1593 of file propcontroller.cxx.
References m_aControlObservers, and comphelper::OInterfaceContainerHelper2::removeInterface().
|
private |
selects a page according to our current view data
Definition at line 602 of file propcontroller.cxx.
References haveView(), impl_getPageIdForCategory_nothrow(), m_sPageSelection, m_xPropView, and updateViewDataFromActivePage().
Referenced by restoreViewData(), and UpdateUI().
|
overrideprotectedvirtual |
Definition at line 1599 of file propcontroller.cxx.
References getPropertyBox(), haveView(), comphelper::OMutexAndBroadcastHelper::m_aMutex, and pcr::OPropertyEditor::SetHelpText().
|
overrideprotectedvirtual |
Definition at line 215 of file propcontroller.cxx.
References impl_bindToNewModel_nothrow(), comphelper::OMutexAndBroadcastHelper::m_aMutex, and m_xModel.
Referenced by attachModel(), and createWithModel().
|
overrideprotectedvirtual |
Definition at line 1563 of file propcontroller.cxx.
References getPropertyBox(), haveView(), impl_getPageIdForCategory_nothrow(), comphelper::OMutexAndBroadcastHelper::m_aMutex, nPageId, and pcr::OPropertyEditor::ShowPropertyPage().
|
overrideprotectedvirtual |
Definition at line 1500 of file propcontroller.cxx.
References describePropertyLine(), EDITOR_LIST_ENTRY_NOTFOUND, getPropertyBox(), pcr::OPropertyEditor::GetPropertyPos(), haveView(), impl_findObjectProperty_nothrow(), impl_getPageIdForCategory_nothrow(), pcr::OPropertyEditor::InsertEntry(), comphelper::OMutexAndBroadcastHelper::m_aMutex, m_aProperties, and rebuildPropertyUI().
|
private |
Definition at line 100 of file propcontroller.cxx.
References DBG_ASSERT, m_bContainerFocusListening, and m_xFrame.
Referenced by attachFrame().
|
private |
Definition at line 119 of file propcontroller.cxx.
References DBG_ASSERT, m_bContainerFocusListening, and m_xFrame.
Referenced by attachFrame(), and suspend().
|
private |
Definition at line 826 of file propcontroller.cxx.
References pcr::OPropertyEditor::ClearAll(), pcr::clearContainer(), pcr::OPropertyEditor::CommitModified(), DBG_UNHANDLED_EXCEPTION, Exception, getPropertyBox(), haveView(), pcr::OPropertyEditor::Hide(), impl_toggleInspecteeListening_nothrow(), m_aDependencyHandlers, m_aPageIds, m_aProperties, m_aPropertyHandlers, m_pUIRequestComposer, and pcr::OPropertyEditor::RemovePage().
Referenced by dispose(), impl_rebindToInspectee_nothrow(), and ~OPropertyBrowserController().
|
overrideprotectedvirtual |
Definition at line 510 of file propcontroller.cxx.
References ServiceName, and cppu::supportsService().
|
overrideprotectedvirtual |
Definition at line 417 of file propcontroller.cxx.
References pcr::OPropertyEditor::CommitModified(), getPropertyBox(), haveView(), comphelper::OMutexAndBroadcastHelper::m_aMutex, stopContainerWindowListening(), suspendAll_nothrow(), and suspendPropertyHandlers_nothrow().
|
private |
suspends the complete inspector
Definition at line 371 of file propcontroller.cxx.
References m_bSuspendingPropertyHandlers, m_xInteractiveHandler, and suspendPropertyHandlers_nothrow().
|
private |
calls XPropertyHandler::suspend for all our property handlers
Definition at line 387 of file propcontroller.cxx.
References Exception, m_aPropertyHandlers, and TOOLS_WARN_EXCEPTION.
Referenced by suspend(), and suspendAll_nothrow().
|
private |
Definition at line 1144 of file propcontroller.cxx.
References pcr::OPropertyEditor::AppendPage(), DBG_UNHANDLED_EXCEPTION, describePropertyLine(), Exception, getPropertyBox(), haveView(), impl_broadcastPropertyChange_nothrow(), impl_buildCategories_throw(), impl_getPageIdForCategory_nothrow(), impl_getPropertyValue_throw(), impl_isActuatingProperty_nothrow(), pcr::OPropertyEditor::InsertEntry(), m_aPageIds, m_aProperties, m_sLastValidPageSelection, m_sPageSelection, m_xModel, m_xPropView, pcr::OPropertyEditor::RemovePage(), SAL_WARN_IF, selectPageFromViewData(), and pcr::OPropertyEditor::Show().
Referenced by attachFrame(), and impl_rebindToInspectee_nothrow().
|
private |
updates our view data from the currently active page
Definition at line 565 of file propcontroller.cxx.
References haveView(), m_aPageIds, m_sLastValidPageSelection, m_sPageSelection, and m_xPropView.
Referenced by selectPageFromViewData().
|
overrideprotectedvirtual |
Implements pcr::IPropertyControlObserver.
Definition at line 1363 of file propcontroller.cxx.
References m_aControlObservers, and comphelper::OInterfaceContainerHelper2::notifyEach().
|
private |
Definition at line 84 of file propcontroller.hxx.
Referenced by dispose(), registerControlObserver(), revokeControlObserver(), and valueChanged().
|
private |
Definition at line 100 of file propcontroller.hxx.
Referenced by doInspection(), impl_broadcastPropertyChange_nothrow(), impl_isActuatingProperty_nothrow(), and stopInspection().
|
private |
Definition at line 83 of file propcontroller.hxx.
Referenced by addEventListener(), dispose(), and removeEventListener().
|
private |
the object(s) we're currently inspecting
Definition at line 109 of file propcontroller.hxx.
Referenced by dispose(), disposing(), doInspection(), impl_bindToNewModel_nothrow(), impl_rebindToInspectee_nothrow(), impl_toggleInspecteeListening_nothrow(), and propertyChange().
|
private |
Definition at line 116 of file propcontroller.hxx.
Referenced by impl_buildCategories_throw(), impl_getPageIdForCategory_nothrow(), stopInspection(), UpdateUI(), and updateViewDataFromActivePage().
|
private |
the properties of the currently inspected object(s)
Definition at line 111 of file propcontroller.hxx.
Referenced by doInspection(), hasPropertyByName(), impl_findObjectProperty_nothrow(), showPropertyUI(), stopInspection(), and UpdateUI().
|
private |
Definition at line 99 of file propcontroller.hxx.
Referenced by Clicked(), describePropertyLine(), doInspection(), impl_getHandlerForProperty_throw(), impl_hasPropertyHandlerFor_nothrow(), stopInspection(), and suspendPropertyHandlers_nothrow().
|
private |
Definition at line 121 of file propcontroller.hxx.
Referenced by inspect().
|
private |
Definition at line 120 of file propcontroller.hxx.
Referenced by createWithModel(), and initialize().
|
private |
Definition at line 118 of file propcontroller.hxx.
Referenced by startContainerWindowListening(), and stopContainerWindowListening().
|
private |
Definition at line 119 of file propcontroller.hxx.
Referenced by inspect(), and suspendAll_nothrow().
|
private |
Definition at line 103 of file propcontroller.hxx.
Referenced by Clicked(), doInspection(), impl_broadcastPropertyChange_nothrow(), and stopInspection().
|
private |
the property we're just committing
Definition at line 113 of file propcontroller.hxx.
Referenced by Commit(), and propertyChange().
|
private |
Definition at line 90 of file propcontroller.hxx.
Referenced by UpdateUI(), and updateViewDataFromActivePage().
|
private |
Definition at line 89 of file propcontroller.hxx.
Referenced by getViewData(), restoreViewData(), selectPageFromViewData(), UpdateUI(), and updateViewDataFromActivePage().
|
private |
Definition at line 86 of file propcontroller.hxx.
Referenced by attachFrame(), Construct(), dispose(), and disposing().
|
private |
Definition at line 79 of file propcontroller.hxx.
Referenced by Construct(), createPropertyControl(), and getPropertyHandlers().
|
private |
Definition at line 80 of file propcontroller.hxx.
Referenced by attachFrame(), getFrame(), startContainerWindowListening(), and stopContainerWindowListening().
|
private |
Definition at line 101 of file propcontroller.hxx.
Referenced by Clicked(), and suspendAll_nothrow().
|
private |
our InspectorModel
Definition at line 107 of file propcontroller.hxx.
Referenced by doInspection(), getInspectorModel(), getPropertyHandlers(), impl_bindToNewModel_nothrow(), impl_buildCategories_throw(), impl_initializeView_nothrow(), impl_isReadOnlyModel_throw(), impl_startOrStopModelListening_nothrow(), propertyChange(), setInspectorModel(), and UpdateUI().
|
private |
Definition at line 87 of file propcontroller.hxx.
Referenced by attachFrame(), Commit(), Construct(), dispose(), disposing(), getMinimumSize(), getPropertyBox(), haveView(), selectPageFromViewData(), UpdateUI(), and updateViewDataFromActivePage().
|
private |
Definition at line 81 of file propcontroller.hxx.
Referenced by Construct(), dispose(), and disposing().