22#include <config_java.h>
30#include <com/sun/star/ui/dialogs/XFolderPicker2.hpp>
53 std::vector<std::unique_ptr<JavaInfo>> m_parJavaInfo;
54 std::vector<OUString> m_parParameters;
55 OUString m_pClassPath;
93 DECL_LINK(DialogClosedHdl, css::ui::dialogs::DialogClosedEvent*,
void);
102 void AddFolder(
const OUString& _rFolder );
164 virtual short run()
override;
167 void SetParameters( std::vector< OUString >
const & rParams );
204 void SetClassPath(
const OUString& _rPath );
DECL_LINK(AddArchiveHdl_Impl, weld::Button &, void)
DECL_LINK(SelectHdl_Impl, weld::TreeView &, void)
DECL_LINK(AddPathHdl_Impl, weld::Button &, void)
SvxJavaClassPathDlg(weld::Window *pParent)
std::unique_ptr< weld::Button > m_xAddArchiveBtn
std::unique_ptr< weld::TreeView > m_xPathList
DECL_LINK(RemoveHdl_Impl, weld::Button &, void)
bool IsPathDuplicate(std::u16string_view _rPath)
OUString GetClassPath() const
std::unique_ptr< weld::Button > m_xRemoveBtn
virtual ~SvxJavaClassPathDlg() override
std::unique_ptr< weld::Button > m_xAddPathBtn
void EnableRemoveButton()
const OUString & GetOldPath() const
virtual bool FillItemSet(SfxItemSet *rSet) override
std::unique_ptr< weld::CheckButton > m_xMacroCB
std::unique_ptr< weld::CheckButton > m_xJavaEnableCB
OUString m_sAddDialogText
DECL_LINK(ResetHdl_Impl, Timer *, void)
std::unique_ptr< weld::Button > m_xExpertConfigBtn
void HandleCheckEntry(int nCheckedRow)
void RequestRestart(svtools::RestartReason eReason)
void UpdateJavaPathText()
std::unique_ptr< SvxJavaClassPathDlg > m_xPathDlg
std::unique_ptr< weld::TreeView > m_xJavaList
std::unique_ptr< weld::Button > m_xAddBtn
void AddFolder(const OUString &_rFolder)
DECL_LINK(ExpertConfigHdl_Impl, weld::Button &, void)
DECL_LINK(ParameterHdl_Impl, weld::Button &, void)
std::unique_ptr< SvxJavaParameterDlg > m_xParamDlg
DECL_LINK(ClassPathHdl_Impl, weld::Button &, void)
rtl::Reference< ::svt::DialogClosedListener > xDialogListener
DECL_LINK(DialogClosedHdl, css::ui::dialogs::DialogClosedEvent *, void)
DECL_LINK(StartFolderPickerHdl, void *, void)
std::unique_ptr< weld::Label > m_xJavaPathText
virtual void FillUserData() override
std::unique_ptr< weld::Widget > m_xJavaFrame
DECL_LINK(SelectHdl_Impl, weld::TreeView &, void)
std::unique_ptr< weld::CheckButton > m_xExperimentalCB
DECL_LINK(EnableHdl_Impl, weld::Toggleable &, void)
virtual ~SvxJavaOptionsPage() override
css::uno::Reference< css::ui::dialogs::XFolderPicker2 > xFolderPicker
std::unique_ptr< weld::Button > m_xParameterBtn
void AddJRE(JavaInfo const *_pInfo)
std::unique_ptr< weld::Label > m_xAddDialogText
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rSet)
DECL_LINK(CheckHdl_Impl, const weld::TreeView::iter_col &, void)
virtual void Reset(const SfxItemSet *rSet) override
SvxJavaOptionsPage(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet)
std::unique_ptr< weld::Button > m_xClassPathBtn
DECL_LINK(AddHdl_Impl, weld::Button &, void)
std::vector< std::unique_ptr< JavaInfo > > m_aAddedInfos
DECL_LINK(RemoveHdl_Impl, weld::Button &, void)
void EnableRemoveButton()
void SetParameters(std::vector< OUString > const &rParams)
DECL_LINK(SelectHdl_Impl, weld::TreeView &, void)
void DisableRemoveButton()
std::vector< OUString > GetParameters() const
SvxJavaParameterDlg(weld::Window *pParent)
std::unique_ptr< weld::Button > m_xAssignBtn
void DisableAssignButton()
virtual ~SvxJavaParameterDlg() override
std::unique_ptr< weld::Button > m_xEditBtn
DECL_LINK(EditHdl_Impl, weld::Button &, void)
DECL_LINK(DblClickHdl_Impl, weld::TreeView &, bool)
virtual short run() override
std::unique_ptr< weld::Button > m_xRemoveBtn
DECL_LINK(ActivateHdl_Impl, weld::Entry &, bool)
std::unique_ptr< weld::Entry > m_xParameterEdit
DECL_LINK(AssignHdl_Impl, weld::Button &, void)
std::unique_ptr< weld::TreeView > m_xAssignedList
DECL_LINK(ModifyHdl_Impl, weld::Entry &, void)
std::pair< const TreeIter &, int > iter_col