Lines Matching refs:getContainer
384 getContainer()->showPreview(NULL); in disposing()
464 getContainer()->Construct(); in Construct()
506 if ( getContainer() && getContainer()->getElementType() == E_TABLE ) in disposing()
507 getContainer()->clearPages(); in disposing()
598 if ( !getContainer() || m_bReadOnly ) in GetState()
612 sal_Int32 nCount = getContainer()->getSelectionCount(); in GetState()
614 if ( aReturn.bEnabled && nCount == 1 && getContainer()->getElementType() == E_TABLE ) in GetState()
615 aReturn.bEnabled = getContainer()->isALeafSelected(); in GetState()
619 aReturn.bEnabled = !isDataSourceReadOnly() && getContainer()->getSelectionCount() >= 1; in GetState()
620 …eturn.bEnabled && ( (ID_BROWSER_CUT == _nId && getContainer()->getElementType() == E_TABLE) ? getC… in GetState()
623 switch( getContainer()->getElementType() ) in GetState()
632 …ExtractComponentDescriptor(getViewClipboard().GetDataFlavorExVector(),getContainer()->getElementTy… in GetState()
636 …aReturn.bEnabled = getContainer()->getElementType() == E_TABLE && !isDataSourceReadOnly() && !isCo… in GetState()
649 aReturn.bEnabled = getContainer()->isFilled() && getContainer()->getElementCount(); in GetState()
650 aReturn.bChecked = aReturn.bEnabled && getContainer()->isSortUp(); in GetState()
653 aReturn.bEnabled = getContainer()->isFilled() && getContainer()->getElementCount(); in GetState()
654 aReturn.bChecked = aReturn.bEnabled && !getContainer()->isSortUp(); in GetState()
683 aReturn.bChecked = getContainer()->getElementType() == E_TABLE; in GetState()
687 aReturn.bChecked = getContainer()->getElementType() == E_QUERY; in GetState()
691 aReturn.bChecked = getContainer()->getElementType() == E_FORM; in GetState()
695 aReturn.bChecked = getContainer()->getElementType() == E_REPORT; in GetState()
734 aReturn.bEnabled = !isDataSourceReadOnly() && getContainer()->getSelectionCount() <= 1; in GetState()
737 const ElementType eType = getContainer()->getElementType(); in GetState()
746 && getContainer()->isALeafSelected(); in GetState()
749 ElementType eType = getContainer()->getElementType(); in GetState()
766 …aReturn.bEnabled = isRenameDeleteAllowed(getContainer()->getElementType(), _nId == SID_DB_APP_DELE… in GetState()
786 …aReturn.bEnabled = getContainer()->getElementCount() > 0 && getContainer()->getSelectionCount() !=… in GetState()
793 aReturn.bEnabled = !isDataSourceReadOnly() && getContainer()->getSelectionCount() > 0 in GetState()
794 && getContainer()->isALeafSelected(); in GetState()
801 switch ( getContainer()->getElementType() ) in GetState()
804 aReturn.bEnabled = ( getContainer()->getSelectionCount() > 0 ) in GetState()
805 && ( getContainer()->isALeafSelected() ); in GetState()
811 if ( ( getContainer()->getSelectionCount() > 0 ) in GetState()
812 && ( getContainer()->isALeafSelected() ) in GetState()
838 aReturn.bEnabled = getContainer()->getSelectionCount() > 0 && getContainer()->isALeafSelected(); in GetState()
850 aReturn.bEnabled = getContainer()->getElementType() == E_TABLE && isConnected(); in GetState()
865 ElementType eType = getContainer()->getElementType(); in GetState()
866 aReturn.bEnabled = eType == E_QUERY && getContainer()->getSelectionCount() > 0; in GetState()
876 aReturn.bChecked = getContainer()->getPreviewMode() == E_PREVIEWNONE; in GetState()
880 ElementType eType = getContainer()->getElementType(); in GetState()
882 aReturn.bChecked = getContainer()->getPreviewMode() == E_DOCUMENTINFO; in GetState()
887 aReturn.bChecked = getContainer()->getPreviewMode() == E_DOCUMENT; in GetState()
897 ElementType eType = getContainer()->getElementType(); in GetState()
898 …aReturn.bEnabled = E_REPORT == eType && getContainer()->getSelectionCount() > 0 && getContainer()-… in GetState()
1026 if ( !getContainer() || m_bReadOnly ) in Execute()
1034 getContainer()->cut(); in Execute()
1048 ElementType eType = getContainer()->getElementType(); in Execute()
1099 getSupportedFormats(getContainer()->getElementType(),aFormatIds); in Execute()
1200 if ( getContainer()->getElementType() == E_NONE ) in Execute()
1202 getContainer()->selectContainer(E_NONE); in Execute()
1203 getContainer()->selectContainer(E_TABLE); in Execute()
1205 getContainer()->Invalidate(); in Execute()
1212 getContainer()->sortUp(); in Execute()
1216 getContainer()->sortDown(); in Execute()
1274 …getContainer()->PostUserEvent( LINK( this, OApplicationController, OnCreateWithPilot ), reinterpre… in Execute()
1284 ElementType eType = getContainer()->getElementType(); in Execute()
1285 ::rtl::OUString sName = getContainer()->getQualifiedName( NULL ); in Execute()
1339 getContainer()->selectAll(); in Execute()
1409 getContainer()->switchPreview(m_ePreviewMode); in Execute()
1413 getContainer()->switchPreview(m_ePreviewMode); in Execute()
1417 getContainer()->switchPreview(m_ePreviewMode); in Execute()
1545 OApplicationView* OApplicationController::getContainer() const in getContainer() function in dbaui::OApplicationController
1560 OSL_ENSURE(getContainer(),"View is NULL! -> GPF"); in elementInserted()
1561 if ( getContainer() ) in elementInserted()
1583 getContainer()->elementAdded(eType,sName,_rEvent.Element); in elementInserted()
1596 OSL_ENSURE(getContainer(),"View is NULL! -> GPF"); in elementRemoved()
1618 getContainer()->elementRemoved(eType,sName); in elementRemoved()
1630 OSL_ENSURE(getContainer(),"View is NULL! -> GPF"); in elementReplaced()
1701 OSL_ENSURE(getContainer(),"View is NULL! -> GPF"); in onContainerSelect()
1712 if ( xConnection.is() && getContainer()->getDetailView() ) in onContainerSelect()
1714 getContainer()->getDetailView()->createTablesPage(xConnection); in onContainerSelect()
1746 if ( _eType != E_TABLE && getContainer()->getDetailView() ) in onContainerSelect()
1750 getContainer()->getDetailView()->createPage(_eType,xContainer); in onContainerSelect()
1758 getContainer()->selectElements( aSelected ); in onContainerSelect()
1772 if ( getContainer() && getContainer()->isLeaf( _rTree.GetHdlEntry() ) ) in onEntryDoubleClick()
1777 getContainer()->getQualifiedName( _rTree.GetHdlEntry() ), in onEntryDoubleClick()
1778 getContainer()->getElementType(), in onEntryDoubleClick()
1827 OSL_PRECOND( getContainer(), "OApplicationController::openElementWithArguments: no view!" ); in openElementWithArguments()
1828 if ( !getContainer() ) in openElementWithArguments()
1835 getContainer()->showPreview(NULL); in openElementWithArguments()
1935 getContainer()->selectContainer(eType); in IMPL_LINK()
1952 OSL_ENSURE( getContainer(), "OApplicationController::newElementWithPilot: without a view?" ); in newElementWithPilot()
1996 OSL_ENSURE(getContainer(),"View is NULL! -> GPF"); in newElement()
2075 OSL_ENSURE(getContainer(),"View is NULL! -> GPF"); in renameEntry()
2079 Reference< XNameAccess > xContainer = getElements(getContainer()->getElementType()); in renameEntry()
2092 const ElementType eType = getContainer()->getElementType(); in renameEntry()
2189 getContainer()->elementReplaced( eType , sOldName, sNewName ); in renameEntry()
2229 OApplicationView* pView = getContainer(); in onSelectionChanged()
2249 OApplicationView* pView = getContainer(); in showPreviewFor()
2321 ElementType eType = getContainer()->getElementType(); in onDeleteEntry()
2426 getContainer()->describeCurrentSelectionForControl( _rControl, aSelection ); in getCurrentSelection()
2440 if ( getContainer() && getContainer()->getSelectionCount() ) in requestDrag()
2447 if ( pTransfer && getContainer()->getDetailView() ) in requestDrag()
2449 ElementType eType = getContainer()->getElementType(); in requestDrag()
2450 …pTransfer->StartDrag( getContainer()->getDetailView()->getTreeWindow(), ((eType == E_FORM || eType… in requestDrag()
2466 OApplicationView* pView = getContainer(); in queryDrop()
2512 OApplicationView* pView = getContainer(); in executeDrop()
2789 getContainer()->switchPreview( m_ePreviewMode ); in attachModel()
2819 _rnCommandType = ( (getContainer()->getElementType() == E_QUERY) in getCurrentlySelectedName()
2820 …? CommandType::QUERY : ( (getContainer()->getElementType() == E_TABLE) ? CommandType::TABLE : -1 )… in getCurrentlySelectedName()
2828 sName = getContainer()->getQualifiedName( NULL ); in getCurrentlySelectedName()
2859 getContainer()->selectElements(aSelection); in select()
2886 getContainer()->selectContainer(eType); in select()
2887 getContainer()->selectElements(aSelection); in select()
2961 getContainer()->selectElements( aSelected ); in select()
2970 getContainer()->selectContainer( eSelectedCategory ); in select()
2981 const ElementType eType( getContainer()->getElementType() ); in getSelection()
2984 getContainer()->describeCurrentSelectionForType( eType, aCurrentSelection ); in getSelection()