LibreOffice Module cui (master) 1
|
#include <optjava.hxx>
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 SfxItemSet & | GetItemSet () 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 SfxItemSet * | GetDialogExampleSet () const |
OUString | GetHelpId () const |
OUString | GetConfigId () const |
bool | IsVisible () const |
weld::Window * | GetFrameWeld () const |
std::unordered_map< OUString, css::uno::Any > & | getAdditionalProperties () |
Static Public Member Functions | |
static std::unique_ptr< SfxTabPage > | Create (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rSet) |
Static Public Member Functions inherited from SfxTabPage | |
static const SfxPoolItem * | GetItem (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::DialogClosedListener > | xDialogListener |
css::uno::Reference< css::ui::dialogs::XFolderPicker2 > | xFolderPicker |
std::unique_ptr< weld::CheckButton > | m_xJavaEnableCB |
std::unique_ptr< weld::TreeView > | m_xJavaList |
std::unique_ptr< weld::Label > | m_xJavaPathText |
std::unique_ptr< weld::Button > | m_xAddBtn |
std::unique_ptr< weld::Button > | m_xParameterBtn |
std::unique_ptr< weld::Button > | m_xClassPathBtn |
std::unique_ptr< weld::Button > | m_xExpertConfigBtn |
std::unique_ptr< SvxJavaParameterDlg > | m_xParamDlg |
std::unique_ptr< SvxJavaClassPathDlg > | m_xPathDlg |
std::unique_ptr< weld::CheckButton > | m_xExperimentalCB |
std::unique_ptr< weld::CheckButton > | m_xMacroCB |
std::unique_ptr< weld::Label > | m_xAddDialogText |
std::unique_ptr< weld::Widget > | m_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 SfxPoolItem * | GetOldItem (const SfxItemSet &rSet, sal_uInt16 nSlot, bool bDeep=true) |
const T * | GetOldItem (const SfxItemSet &rSet, TypedWhichId< T > nSlot, bool bDeep=true) |
SfxOkDialogController * | GetDialogController () const |
Definition at line 49 of file optjava.hxx.
SvxJavaOptionsPage::SvxJavaOptionsPage | ( | weld::Container * | pPage, |
weld::DialogController * | pController, | ||
const SfxItemSet & | rSet | ||
) |
Definition at line 68 of file optjava.cxx.
References jfw_lock(), LINK, m_aResetIdle, m_sAddDialogText, m_sInstallText, m_xAddBtn, m_xAddDialogText, m_xClassPathBtn, m_xExperimentalCB, m_xExpertConfigBtn, m_xJavaEnableCB, m_xJavaFrame, m_xJavaList, m_xJavaPathText, m_xMacroCB, m_xParameterBtn, weld::Radio, rSet, Timer::SetInvokeHandler(), and xDialogListener.
|
overridevirtual |
Definition at line 127 of file optjava.cxx.
References ClearJavaInfo(), jfw_unlock(), and m_aAddedInfos.
|
private |
Definition at line 387 of file optjava.cxx.
References AddJRE(), Application::CreateMessageDialog(), CuiResId(), SfxTabPage::GetFrameWeld(), HandleCheckEntry(), jfw_addJRELocation(), jfw_areEqualJavaInfo(), JFW_E_FAILED_VERSION, JFW_E_NONE, JFW_E_NOT_RECOGNIZED, jfw_getJavaInfoByPath(), LINK, m_aAddedInfos, m_xJavaList, nPos, Application::PostUserEvent(), UpdateJavaPathText(), and xFolderPicker.
|
private |
Definition at line 349 of file optjava.cxx.
References INetURLObject::getFSysPath(), m_xJavaList, nPos, JavaInfo::sLocation, JavaInfo::sVendor, JavaInfo::sVersion, and TRISTATE_FALSE.
Referenced by AddFolder(), and LoadJREs().
|
private |
Definition at line 300 of file optjava.cxx.
Referenced by Reset(), and ~SvxJavaOptionsPage().
|
static |
Definition at line 465 of file optjava.cxx.
Referenced by CreateGeneralTabPage().
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 470 of file optjava.cxx.
References comphelper::ConfigurationChanges::create(), DBG_ASSERT, i, jfw_areEqualJavaInfo(), JFW_E_INVALID_SETTINGS, JFW_E_NONE, jfw_getEnabled(), jfw_getSelectedJRE(), jfw_isVMRunning(), JFW_REQUIRE_NEEDRESTART, jfw_setEnabled(), jfw_setSelectedJRE(), jfw_setUserClassPath(), jfw_setVMParameters(), m_aAddedInfos, m_xExperimentalCB, m_xJavaEnableCB, m_xJavaList, m_xMacroCB, m_xParamDlg, m_xPathDlg, nCount, JavaInfo::nRequirements, RequestRestart(), svtools::RESTART_REASON_EXP_FEATURES, svtools::RESTART_REASON_JAVA, SAL_WARN_IF, and TRISTATE_TRUE.
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 597 of file optjava.cxx.
References SfxTabPage::SetUserData().
|
private |
Definition at line 367 of file optjava.cxx.
References i, m_xJavaList, nCount, TRISTATE_FALSE, and TRISTATE_TRUE.
Referenced by AddFolder(), and LoadJREs().
|
private |
Definition at line 309 of file optjava.cxx.
References AddJRE(), SfxTabPage::GetFrameWeld(), HandleCheckEntry(), i, jfw_areEqualJavaInfo(), JFW_E_NONE, jfw_findAllJREs(), jfw_getSelectedJRE(), m_aAddedInfos, and UpdateJavaPathText().
|
private |
Definition at line 458 of file optjava.cxx.
References SfxTabPage::GetDialogController(), and OfaTreeOptionsDialog::SetNeedsRestart().
Referenced by FillItemSet().
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 562 of file optjava.cxx.
References ClearJavaInfo(), JFW_E_DIRECT_MODE, JFW_E_NONE, jfw_getEnabled(), jfw_getSelectedJRE(), m_aResetIdle, m_xExperimentalCB, m_xJavaEnableCB, m_xJavaFrame, m_xJavaList, m_xMacroCB, and Idle::Start().
|
private |
Definition at line 377 of file optjava.cxx.
References m_sInstallText, m_xJavaList, m_xJavaPathText, and u.
Referenced by AddFolder(), and LoadJREs().
|
private |
Definition at line 61 of file optjava.hxx.
Referenced by AddFolder(), FillItemSet(), LoadJREs(), and ~SvxJavaOptionsPage().
|
private |
Definition at line 59 of file optjava.hxx.
Referenced by Reset(), and SvxJavaOptionsPage().
|
private |
Definition at line 58 of file optjava.hxx.
Referenced by SvxJavaOptionsPage().
|
private |
Definition at line 57 of file optjava.hxx.
Referenced by SvxJavaOptionsPage(), and UpdateJavaPathText().
|
private |
Definition at line 69 of file optjava.hxx.
Referenced by SvxJavaOptionsPage().
|
private |
Definition at line 80 of file optjava.hxx.
Referenced by SvxJavaOptionsPage().
|
private |
Definition at line 71 of file optjava.hxx.
Referenced by SvxJavaOptionsPage().
|
private |
Definition at line 77 of file optjava.hxx.
Referenced by FillItemSet(), Reset(), and SvxJavaOptionsPage().
|
private |
Definition at line 72 of file optjava.hxx.
Referenced by SvxJavaOptionsPage().
|
private |
Definition at line 66 of file optjava.hxx.
Referenced by FillItemSet(), Reset(), and SvxJavaOptionsPage().
|
private |
Definition at line 82 of file optjava.hxx.
Referenced by Reset(), and SvxJavaOptionsPage().
|
private |
Definition at line 67 of file optjava.hxx.
Referenced by AddFolder(), AddJRE(), FillItemSet(), HandleCheckEntry(), Reset(), SvxJavaOptionsPage(), and UpdateJavaPathText().
|
private |
Definition at line 68 of file optjava.hxx.
Referenced by SvxJavaOptionsPage(), and UpdateJavaPathText().
|
private |
Definition at line 78 of file optjava.hxx.
Referenced by FillItemSet(), Reset(), and SvxJavaOptionsPage().
|
private |
Definition at line 74 of file optjava.hxx.
Referenced by FillItemSet().
|
private |
Definition at line 70 of file optjava.hxx.
Referenced by SvxJavaOptionsPage().
|
private |
Definition at line 75 of file optjava.hxx.
Referenced by FillItemSet().
|
private |
Definition at line 63 of file optjava.hxx.
Referenced by SvxJavaOptionsPage().
|
private |
Definition at line 64 of file optjava.hxx.
Referenced by AddFolder().