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

#include <optjava.hxx>

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

Public Member Functions

 SvxJavaOptionsPage (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet)
 
virtual ~SvxJavaOptionsPage () override
 
virtual bool FillItemSet (SfxItemSet *rSet) override
 
virtual void Reset (const SfxItemSet *rSet) override
 
virtual void FillUserData () override
 
- Public Member Functions inherited from SfxTabPage
void SetDialogController (SfxOkDialogController *pDialog)
 
virtual ~SfxTabPage () override
 
void set_visible (bool bVisible)
 
const SfxItemSetGetItemSet () const
 
bool HasExchangeSupport () const
 
void SetExchangeSupport ()
 
virtual void ActivatePage (const SfxItemSet &)
 
virtual DeactivateRC DeactivatePage (SfxItemSet *pSet)
 
void SetUserData (const OUString &rString)
 
const OUString & GetUserData () const
 
virtual bool IsReadOnly () const
 
virtual void PageCreated (const SfxAllItemSet &aSet)
 
virtual void ChangesApplied ()
 
void SetFrame (const css::uno::Reference< css::frame::XFrame > &xFrame)
 
css::uno::Reference< css::frame::XFrame > GetFrame () const
 
const SfxItemSetGetDialogExampleSet () const
 
OString GetHelpId () const
 
OString GetConfigId () const
 
bool IsVisible () const
 
weld::WindowGetFrameWeld () const
 

Static Public Member Functions

static std::unique_ptr< SfxTabPageCreate (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rSet)
 
- Static Public Member Functions inherited from SfxTabPage
static const SfxPoolItemGetItem (const SfxItemSet &rSet, sal_uInt16 nSlot, bool bDeep=true)
 
static const T * GetItem (const SfxItemSet &rSet, TypedWhichId< T > nSlot, bool bDeep=true)
 

Private Types

typedef std::pair< int, introw_col
 

Private Member Functions

 DECL_LINK (EnableHdl_Impl, weld::Button &, void)
 
 DECL_LINK (CheckHdl_Impl, const row_col &, void)
 
 DECL_LINK (SelectHdl_Impl, weld::TreeView &, void)
 
 DECL_LINK (AddHdl_Impl, weld::Button &, void)
 
 DECL_LINK (ParameterHdl_Impl, weld::Button &, void)
 
 DECL_LINK (ClassPathHdl_Impl, weld::Button &, void)
 
 DECL_LINK (ResetHdl_Impl, Timer *, void)
 
 DECL_LINK (StartFolderPickerHdl, void *, void)
 
 DECL_LINK (DialogClosedHdl, css::ui::dialogs::DialogClosedEvent *, void)
 
 DECL_LINK (ExpertConfigHdl_Impl, weld::Button &, void)
 
void ClearJavaInfo ()
 
void ClearJavaList ()
 
void LoadJREs ()
 
void AddJRE (JavaInfo const *_pInfo)
 
void HandleCheckEntry (int nCheckedRow)
 
void AddFolder (const OUString &_rFolder)
 
void RequestRestart (svtools::RestartReason eReason)
 

Private Attributes

OUString m_sInstallText
 
OUString m_sAccessibilityText
 
OUString m_sAddDialogText
 
Idle m_aResetIdle
 
std::vector< std::unique_ptr< JavaInfo > > m_aAddedInfos
 
rtl::Reference< ::svt::DialogClosedListenerxDialogListener
 
css::uno::Reference< css::ui::dialogs::XFolderPicker2 > xFolderPicker
 
std::unique_ptr< weld::CheckButtonm_xJavaEnableCB
 
std::unique_ptr< weld::TreeViewm_xJavaList
 
std::unique_ptr< weld::Labelm_xJavaPathText
 
std::unique_ptr< weld::Buttonm_xAddBtn
 
std::unique_ptr< weld::Buttonm_xParameterBtn
 
std::unique_ptr< weld::Buttonm_xClassPathBtn
 
std::unique_ptr< weld::Buttonm_xExpertConfigBtn
 
std::unique_ptr< SvxJavaParameterDlgm_xParamDlg
 
std::unique_ptr< SvxJavaClassPathDlgm_xPathDlg
 
std::unique_ptr< weld::CheckButtonm_xExperimentalCB
 
std::unique_ptr< weld::CheckButtonm_xMacroCB
 
std::unique_ptr< weld::Labelm_xAccessibilityText
 
std::unique_ptr< weld::Labelm_xAddDialogText
 
std::unique_ptr< weld::Widgetm_xJavaFrame
 

Additional Inherited Members

- Protected Member Functions inherited from SfxTabPage
 SfxTabPage (weld::Container *pPage, weld::DialogController *pController, const OUString &rUIXMLDescription, const OString &rID, const SfxItemSet *rAttrSet)
 
sal_uInt16 GetWhich (sal_uInt16 nSlot, bool bDeep=true) const
 
const SfxPoolItemGetOldItem (const SfxItemSet &rSet, sal_uInt16 nSlot, bool bDeep=true)
 
const T * GetOldItem (const SfxItemSet &rSet, TypedWhichId< T > nSlot, bool bDeep=true)
 
SfxOkDialogControllerGetDialogController () const
 

Detailed Description

Definition at line 49 of file optjava.hxx.

Member Typedef Documentation

typedef std::pair<int, int> SvxJavaOptionsPage::row_col
private

Definition at line 87 of file optjava.hxx.

Constructor & Destructor Documentation

SvxJavaOptionsPage::SvxJavaOptionsPage ( weld::Container pPage,
weld::DialogController pController,
const SfxItemSet rSet 
)
SvxJavaOptionsPage::~SvxJavaOptionsPage ( )
overridevirtual

Definition at line 131 of file optjava.cxx.

References ClearJavaInfo(), jfw_unlock(), and m_aAddedInfos.

Member Function Documentation

void SvxJavaOptionsPage::AddFolder ( const OUString &  _rFolder)
private
void SvxJavaOptionsPage::AddJRE ( JavaInfo const *  _pInfo)
private
void SvxJavaOptionsPage::ClearJavaInfo ( )
private

Definition at line 307 of file optjava.cxx.

References void().

Referenced by Reset(), and ~SvxJavaOptionsPage().

void SvxJavaOptionsPage::ClearJavaList ( )
private

Definition at line 316 of file optjava.cxx.

References m_xJavaList.

Referenced by Reset().

std::unique_ptr< SfxTabPage > SvxJavaOptionsPage::Create ( weld::Container pPage,
weld::DialogController pController,
const SfxItemSet rSet 
)
static

Definition at line 470 of file optjava.cxx.

Referenced by CreateGeneralTabPage().

SvxJavaOptionsPage::DECL_LINK ( EnableHdl_Impl  ,
weld::Button ,
void   
)
private
SvxJavaOptionsPage::DECL_LINK ( CheckHdl_Impl  ,
const row_col ,
void   
)
private
SvxJavaOptionsPage::DECL_LINK ( SelectHdl_Impl  ,
weld::TreeView ,
void   
)
private
SvxJavaOptionsPage::DECL_LINK ( AddHdl_Impl  ,
weld::Button ,
void   
)
private
SvxJavaOptionsPage::DECL_LINK ( ParameterHdl_Impl  ,
weld::Button ,
void   
)
private
SvxJavaOptionsPage::DECL_LINK ( ClassPathHdl_Impl  ,
weld::Button ,
void   
)
private
SvxJavaOptionsPage::DECL_LINK ( ResetHdl_Impl  ,
Timer ,
void   
)
private
SvxJavaOptionsPage::DECL_LINK ( StartFolderPickerHdl  ,
void ,
void   
)
private
SvxJavaOptionsPage::DECL_LINK ( DialogClosedHdl  ,
css::ui::dialogs::DialogClosedEvent *  ,
void   
)
private
SvxJavaOptionsPage::DECL_LINK ( ExpertConfigHdl_Impl  ,
weld::Button ,
void   
)
private
bool SvxJavaOptionsPage::FillItemSet ( SfxItemSet rSet)
overridevirtual
void SvxJavaOptionsPage::FillUserData ( )
overridevirtual

Reimplemented from SfxTabPage.

Definition at line 591 of file optjava.cxx.

References SfxTabPage::SetUserData().

void SvxJavaOptionsPage::HandleCheckEntry ( int  nCheckedRow)
private

Definition at line 383 of file optjava.cxx.

References i, m_xJavaList, TRISTATE_FALSE, and TRISTATE_TRUE.

Referenced by AddFolder(), and LoadJREs().

void SvxJavaOptionsPage::LoadJREs ( )
private
void SvxJavaOptionsPage::RequestRestart ( svtools::RestartReason  eReason)
private

Definition at line 463 of file optjava.cxx.

References SfxTabPage::GetDialogController(), and OfaTreeOptionsDialog::SetNeedsRestart().

Referenced by FillItemSet().

void SvxJavaOptionsPage::Reset ( const SfxItemSet rSet)
overridevirtual

Member Data Documentation

std::vector<std::unique_ptr<JavaInfo> > SvxJavaOptionsPage::m_aAddedInfos
private

Definition at line 62 of file optjava.hxx.

Referenced by AddFolder(), FillItemSet(), LoadJREs(), and ~SvxJavaOptionsPage().

Idle SvxJavaOptionsPage::m_aResetIdle
private

Definition at line 60 of file optjava.hxx.

Referenced by Reset(), and SvxJavaOptionsPage().

OUString SvxJavaOptionsPage::m_sAccessibilityText
private

Definition at line 58 of file optjava.hxx.

Referenced by AddJRE(), and SvxJavaOptionsPage().

OUString SvxJavaOptionsPage::m_sAddDialogText
private

Definition at line 59 of file optjava.hxx.

Referenced by SvxJavaOptionsPage().

OUString SvxJavaOptionsPage::m_sInstallText
private

Definition at line 57 of file optjava.hxx.

Referenced by SvxJavaOptionsPage().

std::unique_ptr<weld::Label> SvxJavaOptionsPage::m_xAccessibilityText
private

Definition at line 81 of file optjava.hxx.

Referenced by SvxJavaOptionsPage().

std::unique_ptr<weld::Button> SvxJavaOptionsPage::m_xAddBtn
private

Definition at line 70 of file optjava.hxx.

Referenced by SvxJavaOptionsPage().

std::unique_ptr<weld::Label> SvxJavaOptionsPage::m_xAddDialogText
private

Definition at line 82 of file optjava.hxx.

Referenced by SvxJavaOptionsPage().

std::unique_ptr<weld::Button> SvxJavaOptionsPage::m_xClassPathBtn
private

Definition at line 72 of file optjava.hxx.

Referenced by SvxJavaOptionsPage().

std::unique_ptr<weld::CheckButton> SvxJavaOptionsPage::m_xExperimentalCB
private

Definition at line 78 of file optjava.hxx.

Referenced by FillItemSet(), Reset(), and SvxJavaOptionsPage().

std::unique_ptr<weld::Button> SvxJavaOptionsPage::m_xExpertConfigBtn
private

Definition at line 73 of file optjava.hxx.

Referenced by SvxJavaOptionsPage().

std::unique_ptr<weld::CheckButton> SvxJavaOptionsPage::m_xJavaEnableCB
private

Definition at line 67 of file optjava.hxx.

Referenced by FillItemSet(), Reset(), and SvxJavaOptionsPage().

std::unique_ptr<weld::Widget> SvxJavaOptionsPage::m_xJavaFrame
private

Definition at line 84 of file optjava.hxx.

Referenced by SvxJavaOptionsPage().

std::unique_ptr<weld::TreeView> SvxJavaOptionsPage::m_xJavaList
private
std::unique_ptr<weld::Label> SvxJavaOptionsPage::m_xJavaPathText
private

Definition at line 69 of file optjava.hxx.

Referenced by SvxJavaOptionsPage().

std::unique_ptr<weld::CheckButton> SvxJavaOptionsPage::m_xMacroCB
private

Definition at line 79 of file optjava.hxx.

Referenced by FillItemSet(), Reset(), and SvxJavaOptionsPage().

std::unique_ptr<SvxJavaParameterDlg> SvxJavaOptionsPage::m_xParamDlg
private

Definition at line 75 of file optjava.hxx.

Referenced by FillItemSet().

std::unique_ptr<weld::Button> SvxJavaOptionsPage::m_xParameterBtn
private

Definition at line 71 of file optjava.hxx.

Referenced by SvxJavaOptionsPage().

std::unique_ptr<SvxJavaClassPathDlg> SvxJavaOptionsPage::m_xPathDlg
private

Definition at line 76 of file optjava.hxx.

Referenced by FillItemSet().

rtl::Reference< ::svt::DialogClosedListener > SvxJavaOptionsPage::xDialogListener
private

Definition at line 64 of file optjava.hxx.

Referenced by SvxJavaOptionsPage().

css::uno::Reference< css::ui::dialogs::XFolderPicker2 > SvxJavaOptionsPage::xFolderPicker
private

Definition at line 65 of file optjava.hxx.

Referenced by AddFolder().


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