LibreOffice Module cui (master) 1
Public Member Functions | Static Public Member Functions | 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
 
virtual bool FillItemSet (SfxItemSet *)
 
virtual void Reset (const SfxItemSet *)
 
virtual bool DeferResetToFirstActivation ()
 
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 void FillUserData ()
 
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
 
OUString GetHelpId () const
 
OUString GetConfigId () const
 
bool IsVisible () const
 
weld::WindowGetFrameWeld () const
 
std::unordered_map< OUString, css::uno::Any > & getAdditionalProperties ()
 

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 Member Functions

 DECL_LINK (EnableHdl_Impl, weld::Toggleable &, void)
 
 DECL_LINK (CheckHdl_Impl, const weld::TreeView::iter_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 LoadJREs ()
 
void AddJRE (JavaInfo const *_pInfo)
 
void HandleCheckEntry (int nCheckedRow)
 
void UpdateJavaPathText ()
 
void AddFolder (const OUString &_rFolder)
 
void RequestRestart (svtools::RestartReason eReason)
 

Private Attributes

OUString m_sInstallText
 
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_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 OUString &rID, const SfxItemSet *rAttrSet)
 
sal_uInt16 GetWhich (sal_uInt16 nSlot, bool bDeep=true) const
 
TypedWhichId< T > GetWhich (TypedWhichId< T > 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.

Constructor & Destructor Documentation

◆ SvxJavaOptionsPage()

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

◆ ~SvxJavaOptionsPage()

SvxJavaOptionsPage::~SvxJavaOptionsPage ( )
overridevirtual

Definition at line 127 of file optjava.cxx.

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

Member Function Documentation

◆ AddFolder()

void SvxJavaOptionsPage::AddFolder ( const OUString &  _rFolder)
private

◆ AddJRE()

void SvxJavaOptionsPage::AddJRE ( JavaInfo const *  _pInfo)
private

◆ ClearJavaInfo()

void SvxJavaOptionsPage::ClearJavaInfo ( )
private

Definition at line 300 of file optjava.cxx.

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

◆ Create()

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

Definition at line 465 of file optjava.cxx.

Referenced by CreateGeneralTabPage().

◆ DECL_LINK() [1/10]

SvxJavaOptionsPage::DECL_LINK ( AddHdl_Impl  ,
weld::Button ,
void   
)
private

◆ DECL_LINK() [2/10]

SvxJavaOptionsPage::DECL_LINK ( CheckHdl_Impl  ,
const weld::TreeView::iter_col ,
void   
)
private

◆ DECL_LINK() [3/10]

SvxJavaOptionsPage::DECL_LINK ( ClassPathHdl_Impl  ,
weld::Button ,
void   
)
private

◆ DECL_LINK() [4/10]

SvxJavaOptionsPage::DECL_LINK ( DialogClosedHdl  ,
css::ui::dialogs::DialogClosedEvent *  ,
void   
)
private

◆ DECL_LINK() [5/10]

SvxJavaOptionsPage::DECL_LINK ( EnableHdl_Impl  ,
weld::Toggleable ,
void   
)
private

◆ DECL_LINK() [6/10]

SvxJavaOptionsPage::DECL_LINK ( ExpertConfigHdl_Impl  ,
weld::Button ,
void   
)
private

◆ DECL_LINK() [7/10]

SvxJavaOptionsPage::DECL_LINK ( ParameterHdl_Impl  ,
weld::Button ,
void   
)
private

◆ DECL_LINK() [8/10]

SvxJavaOptionsPage::DECL_LINK ( ResetHdl_Impl  ,
Timer ,
void   
)
private

◆ DECL_LINK() [9/10]

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

◆ DECL_LINK() [10/10]

SvxJavaOptionsPage::DECL_LINK ( StartFolderPickerHdl  ,
void *  ,
void   
)
private

◆ FillItemSet()

bool SvxJavaOptionsPage::FillItemSet ( SfxItemSet rSet)
overridevirtual

◆ FillUserData()

void SvxJavaOptionsPage::FillUserData ( )
overridevirtual

Reimplemented from SfxTabPage.

Definition at line 597 of file optjava.cxx.

References SfxTabPage::SetUserData().

◆ HandleCheckEntry()

void SvxJavaOptionsPage::HandleCheckEntry ( int  nCheckedRow)
private

Definition at line 367 of file optjava.cxx.

References i, m_xJavaList, nCount, TRISTATE_FALSE, and TRISTATE_TRUE.

Referenced by AddFolder(), and LoadJREs().

◆ LoadJREs()

void SvxJavaOptionsPage::LoadJREs ( )
private

◆ RequestRestart()

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

Definition at line 458 of file optjava.cxx.

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

Referenced by FillItemSet().

◆ Reset()

void SvxJavaOptionsPage::Reset ( const SfxItemSet rSet)
overridevirtual

◆ UpdateJavaPathText()

void SvxJavaOptionsPage::UpdateJavaPathText ( )
private

Definition at line 377 of file optjava.cxx.

References m_sInstallText, m_xJavaList, m_xJavaPathText, and u.

Referenced by AddFolder(), and LoadJREs().

Member Data Documentation

◆ m_aAddedInfos

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

Definition at line 61 of file optjava.hxx.

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

◆ m_aResetIdle

Idle SvxJavaOptionsPage::m_aResetIdle
private

Definition at line 59 of file optjava.hxx.

Referenced by Reset(), and SvxJavaOptionsPage().

◆ m_sAddDialogText

OUString SvxJavaOptionsPage::m_sAddDialogText
private

Definition at line 58 of file optjava.hxx.

Referenced by SvxJavaOptionsPage().

◆ m_sInstallText

OUString SvxJavaOptionsPage::m_sInstallText
private

Definition at line 57 of file optjava.hxx.

Referenced by SvxJavaOptionsPage(), and UpdateJavaPathText().

◆ m_xAddBtn

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

Definition at line 69 of file optjava.hxx.

Referenced by SvxJavaOptionsPage().

◆ m_xAddDialogText

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

Definition at line 80 of file optjava.hxx.

Referenced by SvxJavaOptionsPage().

◆ m_xClassPathBtn

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

Definition at line 71 of file optjava.hxx.

Referenced by SvxJavaOptionsPage().

◆ m_xExperimentalCB

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

Definition at line 77 of file optjava.hxx.

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

◆ m_xExpertConfigBtn

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

Definition at line 72 of file optjava.hxx.

Referenced by SvxJavaOptionsPage().

◆ m_xJavaEnableCB

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

Definition at line 66 of file optjava.hxx.

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

◆ m_xJavaFrame

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

Definition at line 82 of file optjava.hxx.

Referenced by Reset(), and SvxJavaOptionsPage().

◆ m_xJavaList

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

◆ m_xJavaPathText

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

Definition at line 68 of file optjava.hxx.

Referenced by SvxJavaOptionsPage(), and UpdateJavaPathText().

◆ m_xMacroCB

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

Definition at line 78 of file optjava.hxx.

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

◆ m_xParamDlg

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

Definition at line 74 of file optjava.hxx.

Referenced by FillItemSet().

◆ m_xParameterBtn

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

Definition at line 70 of file optjava.hxx.

Referenced by SvxJavaOptionsPage().

◆ m_xPathDlg

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

Definition at line 75 of file optjava.hxx.

Referenced by FillItemSet().

◆ xDialogListener

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

Definition at line 63 of file optjava.hxx.

Referenced by SvxJavaOptionsPage().

◆ xFolderPicker

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

Definition at line 64 of file optjava.hxx.

Referenced by AddFolder().


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