Lines Matching refs:xPackage

587 bool DialogHelper::IsSharedPkgMgr( const uno::Reference< deployment::XPackage > &xPackage )  in IsSharedPkgMgr()  argument
589 if ( xPackage->getRepositoryName().equals( OUSTR("shared") ) ) in IsSharedPkgMgr()
596 …ol DialogHelper::continueOnSharedExtension( const uno::Reference< deployment::XPackage > &xPackage, in continueOnSharedExtension() argument
601 if ( !bHadWarning && IsSharedPkgMgr( xPackage ) ) in continueOnSharedExtension()
774 long ExtMgrDialog::addPackageToList( const uno::Reference< deployment::XPackage > &xPackage, in addPackageToList() argument
778 return m_pExtensionBox->addEntry( xPackage, bLicenseMissing ); in addPackageToList()
808 bool ExtMgrDialog::enablePackage( const uno::Reference< deployment::XPackage > &xPackage, in enablePackage() argument
811 if ( !xPackage.is() ) in enablePackage()
816 …if ( ! continueOnSharedExtension( xPackage, this, RID_WARNINGBOX_ENABLE_SHARED_EXTENSION, m_bEnabl… in enablePackage()
821 …if ( ! continueOnSharedExtension( xPackage, this, RID_WARNINGBOX_DISABLE_SHARED_EXTENSION, m_bDisa… in enablePackage()
825 m_pManager->getCmdQueue()->enableExtension( xPackage, bEnable ); in enablePackage()
831 bool ExtMgrDialog::removePackage( const uno::Reference< deployment::XPackage > &xPackage ) in removePackage() argument
833 if ( !xPackage.is() ) in removePackage()
836 if ( !IsSharedPkgMgr( xPackage ) || m_bDeleteWarning ) in removePackage()
838 if ( ! removeExtensionWarn( xPackage->getDisplayName() ) ) in removePackage()
842 …if ( ! continueOnSharedExtension( xPackage, this, RID_WARNINGBOX_REMOVE_SHARED_EXTENSION, m_bDelet… in removePackage()
845 m_pManager->getCmdQueue()->removeExtension( xPackage ); in removePackage()
851 bool ExtMgrDialog::updatePackage( const uno::Reference< deployment::XPackage > &xPackage ) in updatePackage() argument
853 if ( !xPackage.is() ) in updatePackage()
859 …dp_misc::getIdentifier(xPackage), xPackage->getName(), uno::Reference<ucb::XCommandEnvironment>()); in updatePackage()
872 bool ExtMgrDialog::acceptLicense( const uno::Reference< deployment::XPackage > &xPackage ) in acceptLicense() argument
874 if ( !xPackage.is() ) in acceptLicense()
877 m_pManager->getCmdQueue()->acceptLicense( xPackage ); in acceptLicense()
1046 void ExtMgrDialog::updatePackageInfo( const uno::Reference< deployment::XPackage > &xPackage ) in updatePackageInfo() argument
1048 m_pExtensionBox->updateEntry( xPackage ); in updatePackageInfo()
1326 long UpdateRequiredDialog::addPackageToList( const uno::Reference< deployment::XPackage > &xPackage, in addPackageToList() argument
1330 if ( !bLicenseMissing && !checkDependencies( xPackage ) ) in addPackageToList()
1332 m_bHasLockedEntries |= m_pManager->isReadOnly( xPackage ); in addPackageToList()
1334 return m_pExtensionBox->addEntry( xPackage ); in addPackageToList()
1359 bool UpdateRequiredDialog::enablePackage( const uno::Reference< deployment::XPackage > &xPackage, in enablePackage() argument
1362 m_pManager->getCmdQueue()->enableExtension( xPackage, bEnable ); in enablePackage()
1456 …d UpdateRequiredDialog::updatePackageInfo( const uno::Reference< deployment::XPackage > &xPackage ) in updatePackageInfo() argument
1461 if ( isEnabled( xPackage ) && checkDependencies( xPackage ) ) in updatePackageInfo()
1462 m_pExtensionBox->removeEntry( xPackage ); in updatePackageInfo()
1464 m_pExtensionBox->updateEntry( xPackage ); in updatePackageInfo()
1674 bool UpdateRequiredDialog::isEnabled( const uno::Reference< deployment::XPackage > &xPackage ) const in isEnabled()
1678 …beans::Optional< beans::Ambiguous< sal_Bool > > option( xPackage->isRegistered( uno::Reference< ta… in isEnabled()
1703 …teRequiredDialog::checkDependencies( const uno::Reference< deployment::XPackage > &xPackage ) const in checkDependencies()
1707 … bDependenciesValid = xPackage->checkDependencies( uno::Reference< ucb::XCommandEnvironment >() ); in checkDependencies()
1758 const uno::Reference< deployment::XPackage > &xPackage ) : in ShowLicenseDialog()
1765 OUString aText = xPackage->getLicenseText(); in ShowLicenseDialog()