LibreOffice Module cui (master) 1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
SvxJavaClassPathDlg Class Reference

#include <optjava.hxx>

Inheritance diagram for SvxJavaClassPathDlg:
[legend]
Collaboration diagram for SvxJavaClassPathDlg:
[legend]

Public Member Functions

 SvxJavaClassPathDlg (weld::Window *pParent)
 
virtual ~SvxJavaClassPathDlg () override
 
const OUString & GetOldPath () const
 
void SetFocus ()
 
OUString GetClassPath () 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 (AddArchiveHdl_Impl, weld::Button &, void)
 
 DECL_LINK (AddPathHdl_Impl, weld::Button &, void)
 
 DECL_LINK (RemoveHdl_Impl, weld::Button &, void)
 
 DECL_LINK (SelectHdl_Impl, weld::TreeView &, void)
 
bool IsPathDuplicate (std::u16string_view _rPath)
 
void EnableRemoveButton ()
 

Private Attributes

std::unique_ptr< weld::TreeViewm_xPathList
 
std::unique_ptr< weld::Buttonm_xAddArchiveBtn
 
std::unique_ptr< weld::Buttonm_xAddPathBtn
 
std::unique_ptr< weld::Buttonm_xRemoveBtn
 
OUString m_sOldPath
 

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 174 of file optjava.hxx.

Constructor & Destructor Documentation

◆ SvxJavaClassPathDlg()

SvxJavaClassPathDlg::SvxJavaClassPathDlg ( weld::Window pParent)
explicit

Definition at line 769 of file optjava.cxx.

References LINK, m_xAddArchiveBtn, m_xAddPathBtn, m_xPathList, and m_xRemoveBtn.

◆ ~SvxJavaClassPathDlg()

SvxJavaClassPathDlg::~SvxJavaClassPathDlg ( )
overridevirtual

Definition at line 787 of file optjava.cxx.

Member Function Documentation

◆ DECL_LINK() [1/4]

SvxJavaClassPathDlg::DECL_LINK ( AddArchiveHdl_Impl  ,
weld::Button ,
void   
)
private

◆ DECL_LINK() [2/4]

SvxJavaClassPathDlg::DECL_LINK ( AddPathHdl_Impl  ,
weld::Button ,
void   
)
private

◆ DECL_LINK() [3/4]

SvxJavaClassPathDlg::DECL_LINK ( RemoveHdl_Impl  ,
weld::Button ,
void   
)
private

◆ DECL_LINK() [4/4]

SvxJavaClassPathDlg::DECL_LINK ( SelectHdl_Impl  ,
weld::TreeView ,
void   
)
private

◆ EnableRemoveButton()

void SvxJavaClassPathDlg::EnableRemoveButton ( )
inlineprivate

Definition at line 190 of file optjava.hxx.

References m_xPathList, and m_xRemoveBtn.

◆ GetClassPath()

OUString SvxJavaClassPathDlg::GetClassPath ( ) const

Definition at line 925 of file optjava.cxx.

References CLASSPATH_DELIMITER, i, m_xPathList, and nCount.

◆ GetOldPath()

const OUString & SvxJavaClassPathDlg::GetOldPath ( ) const
inline

Definition at line 199 of file optjava.hxx.

References m_sOldPath.

◆ IsPathDuplicate()

bool SvxJavaClassPathDlg::IsPathDuplicate ( std::u16string_view  _rPath)
private

Definition at line 909 of file optjava.cxx.

References i, m_xPathList, and nCount.

◆ SetFocus()

void SvxJavaClassPathDlg::SetFocus ( )
inline

Definition at line 200 of file optjava.hxx.

References m_xPathList.

Member Data Documentation

◆ m_sOldPath

OUString SvxJavaClassPathDlg::m_sOldPath
private

Definition at line 182 of file optjava.hxx.

Referenced by GetOldPath().

◆ m_xAddArchiveBtn

std::unique_ptr<weld::Button> SvxJavaClassPathDlg::m_xAddArchiveBtn
private

Definition at line 178 of file optjava.hxx.

Referenced by SvxJavaClassPathDlg().

◆ m_xAddPathBtn

std::unique_ptr<weld::Button> SvxJavaClassPathDlg::m_xAddPathBtn
private

Definition at line 179 of file optjava.hxx.

Referenced by SvxJavaClassPathDlg().

◆ m_xPathList

std::unique_ptr<weld::TreeView> SvxJavaClassPathDlg::m_xPathList
private

◆ m_xRemoveBtn

std::unique_ptr<weld::Button> SvxJavaClassPathDlg::m_xRemoveBtn
private

Definition at line 180 of file optjava.hxx.

Referenced by EnableRemoveButton(), and SvxJavaClassPathDlg().


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