LibreOffice Module dbaccess (master) 1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
dbaui::OCollectionView Class Reference

#include <CollectionView.hxx>

Inheritance diagram for dbaui::OCollectionView:
[legend]
Collaboration diagram for dbaui::OCollectionView:
[legend]

Public Member Functions

 OCollectionView (weld::Window *pParent, const css::uno::Reference< css::ucb::XContent > &_xContent, const OUString &_sDefaultName, css::uno::Reference< css::uno::XComponentContext > _xContext)
 
virtual ~OCollectionView () override
 
const css::uno::Reference< css::ucb::XContent > & getSelectedFolder () const
 
OUString getName () const
 
- Public Member Functions inherited from weld::GenericDialogController
 GenericDialogController (weld::Widget *pParent, const OUString &rUIFile, const OUString &rDialogId, bool bMobile=false)
 
virtual DialoggetDialog () override
 
virtual ~GenericDialogController () COVERITY_NOEXCEPT_FALSE override
 
- Public Member Functions inherited from weld::DialogController
virtual DialoggetDialog ()=0
 
const DialoggetConstDialog () const
 
virtual short run ()
 
void set_title (const OUString &rTitle)
 
OUString get_title () const
 
void set_help_id (const OUString &rHelpId)
 
OUString get_help_id () const
 
void response (int nResponse)
 
virtual ~DialogController () COVERITY_NOEXCEPT_FALSE
 

Private Member Functions

 DECL_LINK (Up_Click, weld::Button &, void)
 
 DECL_LINK (NewFolder_Click, weld::Button &, void)
 
 DECL_LINK (Save_Click, weld::Button &, void)
 
 DECL_LINK (Dbl_Click_FileView, weld::TreeView &, bool)
 
void initCurrentPath ()
 sets the fixedtext to the right content More...
 
void Initialize ()
 

Private Attributes

css::uno::Reference< css::ucb::XContent > m_xContent
 
css::uno::Reference< css::uno::XComponentContext > m_xContext
 
css::uno::Reference< css::ucb::XCommandEnvironment > m_xCmdEnv
 
bool m_bCreateForm
 
std::unique_ptr< weld::Labelm_xFTCurrentPath
 
std::unique_ptr< weld::Buttonm_xNewFolder
 
std::unique_ptr< weld::Buttonm_xUp
 
std::unique_ptr< weld::TreeViewm_xView
 
std::unique_ptr< weld::Entrym_xName
 
std::unique_ptr< weld::Buttonm_xPB_OK
 

Additional Inherited Members

- Static Public Member Functions inherited from weld::DialogController
static bool runAsync (const std::shared_ptr< DialogController > &rController, const std::function< void(sal_Int32)> &)
 
- Protected Attributes inherited from weld::GenericDialogController
std::unique_ptr< weld::Builderm_xBuilder
 
std::shared_ptr< weld::Dialogm_xDialog
 

Detailed Description

Definition at line 31 of file CollectionView.hxx.

Constructor & Destructor Documentation

◆ OCollectionView()

dbaui::OCollectionView::OCollectionView ( weld::Window pParent,
const css::uno::Reference< css::ucb::XContent > &  _xContent,
const OUString &  _sDefaultName,
css::uno::Reference< css::uno::XComponentContext >  _xContext 
)

◆ ~OCollectionView()

dbaui::OCollectionView::~OCollectionView ( )
overridevirtual

Definition at line 93 of file CollectionView.cxx.

Member Function Documentation

◆ DECL_LINK() [1/4]

dbaui::OCollectionView::DECL_LINK ( Dbl_Click_FileView  ,
weld::TreeView ,
bool   
)
private

◆ DECL_LINK() [2/4]

dbaui::OCollectionView::DECL_LINK ( NewFolder_Click  ,
weld::Button ,
void   
)
private

◆ DECL_LINK() [3/4]

dbaui::OCollectionView::DECL_LINK ( Save_Click  ,
weld::Button ,
void   
)
private

◆ DECL_LINK() [4/4]

dbaui::OCollectionView::DECL_LINK ( Up_Click  ,
weld::Button ,
void   
)
private

◆ getName()

OUString dbaui::OCollectionView::getName ( ) const

Definition at line 278 of file CollectionView.cxx.

References m_xName.

◆ getSelectedFolder()

const css::uno::Reference< css::ucb::XContent > & dbaui::OCollectionView::getSelectedFolder ( ) const
inline

Definition at line 60 of file CollectionView.hxx.

References m_xContent.

◆ initCurrentPath()

void dbaui::OCollectionView::initCurrentPath ( )
private

sets the fixedtext to the right content

Definition at line 249 of file CollectionView.cxx.

References DBG_UNHANDLED_EXCEPTION, Exception, m_bCreateForm, m_xContent, m_xFTCurrentPath, m_xUp, and o3tl::make_unsigned().

Referenced by OCollectionView().

◆ Initialize()

void dbaui::OCollectionView::Initialize ( )
private

Member Data Documentation

◆ m_bCreateForm

bool dbaui::OCollectionView::m_bCreateForm
private

Definition at line 36 of file CollectionView.hxx.

Referenced by initCurrentPath().

◆ m_xCmdEnv

css::uno::Reference< css::ucb::XCommandEnvironment > dbaui::OCollectionView::m_xCmdEnv
private

Definition at line 35 of file CollectionView.hxx.

Referenced by Initialize(), and OCollectionView().

◆ m_xContent

css::uno::Reference< css::ucb::XContent> dbaui::OCollectionView::m_xContent
private

Definition at line 33 of file CollectionView.hxx.

Referenced by getSelectedFolder(), initCurrentPath(), Initialize(), and OCollectionView().

◆ m_xContext

css::uno::Reference< css::uno::XComponentContext > dbaui::OCollectionView::m_xContext
private

Definition at line 34 of file CollectionView.hxx.

Referenced by OCollectionView().

◆ m_xFTCurrentPath

std::unique_ptr<weld::Label> dbaui::OCollectionView::m_xFTCurrentPath
private

Definition at line 38 of file CollectionView.hxx.

Referenced by initCurrentPath().

◆ m_xName

std::unique_ptr<weld::Entry> dbaui::OCollectionView::m_xName
private

Definition at line 42 of file CollectionView.hxx.

Referenced by getName(), and OCollectionView().

◆ m_xNewFolder

std::unique_ptr<weld::Button> dbaui::OCollectionView::m_xNewFolder
private

Definition at line 39 of file CollectionView.hxx.

Referenced by OCollectionView().

◆ m_xPB_OK

std::unique_ptr<weld::Button> dbaui::OCollectionView::m_xPB_OK
private

Definition at line 43 of file CollectionView.hxx.

Referenced by OCollectionView().

◆ m_xUp

std::unique_ptr<weld::Button> dbaui::OCollectionView::m_xUp
private

Definition at line 40 of file CollectionView.hxx.

Referenced by initCurrentPath(), and OCollectionView().

◆ m_xView

std::unique_ptr<weld::TreeView> dbaui::OCollectionView::m_xView
private

Definition at line 41 of file CollectionView.hxx.

Referenced by Initialize(), and OCollectionView().


The documentation for this class was generated from the following files: