LibreOffice Module basctl (master) 1
|
#include <moduldlg.hxx>
Public Member Functions | |
ObjectPage (weld::Container *pParent, const OUString &rName, BrowseMode nMode, OrganizeDialog *pDialog) | |
virtual | ~ObjectPage () override |
void | SetCurrentEntry (const EntryDescriptor &rDesc) |
virtual void | ActivatePage () override |
virtual void | ActivatePage ()=0 |
Private Types | |
typedef std::pair< const weld::TreeIter &, OUString > | IterString |
Private Member Functions | |
DECL_LINK (BasicBoxHighlightHdl, weld::TreeView &, void) | |
DECL_LINK (ButtonHdl, weld::Button &, void) | |
DECL_LINK (EditingEntryHdl, const weld::TreeIter &, bool) | |
DECL_LINK (EditedEntryHdl, const IterString &, bool) | |
void | CheckButtons () |
bool | GetSelection (ScriptDocument &rDocument, OUString &rLibName) |
void | DeleteCurrent () |
void | NewModule () |
void | NewDialog () |
void | EndTabDialog () |
Private Attributes | |
std::unique_ptr< SbTreeListBox > | m_xBasicBox |
std::unique_ptr< weld::Button > | m_xEditButton |
std::unique_ptr< weld::Button > | m_xNewModButton |
std::unique_ptr< weld::Button > | m_xNewDlgButton |
std::unique_ptr< weld::Button > | m_xDelButton |
std::unique_ptr< SbTreeListBoxDropTarget > | m_xDropTarget |
Additional Inherited Members | |
Protected Member Functions inherited from basctl::OrganizePage | |
OrganizePage (weld::Container *pParent, const OUString &rUIFile, const OUString &rName, OrganizeDialog *pDialog) | |
virtual | ~OrganizePage () |
Protected Attributes inherited from basctl::OrganizePage | |
OrganizeDialog * | m_pDialog |
std::unique_ptr< weld::Builder > | m_xBuilder |
std::unique_ptr< weld::Container > | m_xContainer |
Definition at line 127 of file moduldlg.hxx.
|
private |
Definition at line 139 of file moduldlg.hxx.
basctl::ObjectPage::ObjectPage | ( | weld::Container * | pParent, |
const OUString & | rName, | ||
BrowseMode | nMode, | ||
OrganizeDialog * | pDialog | ||
) |
Definition at line 566 of file moduldlg.cxx.
References CheckButtons(), Dialogs, DND_ACTION_COPYMOVE, Size::Height(), LINK, m_xBasicBox, m_xDelButton, m_xDropTarget, m_xEditButton, m_xNewDlgButton, m_xNewModButton, Modules, and Size::Width().
|
overridevirtual |
Definition at line 612 of file moduldlg.cxx.
|
overridevirtual |
Implements basctl::OrganizePage.
Definition at line 616 of file moduldlg.cxx.
References CheckButtons(), and m_xBasicBox.
|
private |
Definition at line 622 of file moduldlg.cxx.
References aDocument, bReadOnly, basctl::E_DIALOGS, basctl::E_SCRIPTS, basctl::EntryDescriptor::GetDocument(), basctl::EntryDescriptor::GetLibName(), basctl::EntryDescriptor::GetLibSubName(), basctl::EntryDescriptor::GetLocation(), basctl::IDEResId(), basctl::LIBRARY_LOCATION_SHARE, m_xBasicBox, m_xDelButton, m_xEditButton, m_xNewDlgButton, m_xNewModButton, and Modules.
Referenced by ActivatePage(), and ObjectPage().
|
private |
|
private |
|
private |
|
private |
|
private |
Definition at line 876 of file moduldlg.cxx.
References aDocument, aName, basctl::SbTreeListBox::ConvertType(), DBG_ASSERT, DBG_UNHANDLED_EXCEPTION, eType, weld::GenericDialogController::getDialog(), basctl::GetDispatcher(), basctl::EntryDescriptor::GetDocument(), basctl::EntryDescriptor::GetLibName(), basctl::EntryDescriptor::GetName(), basctl::EntryDescriptor::GetType(), basctl::OrganizePage::m_pDialog, m_xBasicBox, basctl::MarkDocumentModified(), basctl::OBJ_TYPE_DIALOG, basctl::OBJ_TYPE_MODULE, basctl::QueryDelDialog(), basctl::QueryDelModule(), and basctl::RemoveDialog().
|
private |
Definition at line 924 of file moduldlg.cxx.
References basctl::OrganizePage::m_pDialog, weld::DialogController::response(), and RET_OK.
|
private |
Definition at line 747 of file moduldlg.cxx.
References DBG_ASSERT, basctl::E_DIALOGS, basctl::E_SCRIPTS, weld::GenericDialogController::getDialog(), basctl::EntryDescriptor::GetDocument(), basctl::EntryDescriptor::GetLibName(), basctl::ScriptDocument::getLibraryContainer(), basctl::ScriptDocument::isAlive(), basctl::OrganizePage::m_pDialog, m_xBasicBox, and basctl::QueryPassword().
Referenced by NewDialog(), and NewModule().
|
private |
Definition at line 810 of file moduldlg.cxx.
References aDocument, Application::CreateMessageDialog(), DBG_ASSERT, basctl::Dialog, basctl::E_DIALOGS, basctl::ScriptDocument::getApplicationScriptDocument(), weld::GenericDialogController::getDialog(), basctl::GetDispatcher(), basctl::NewObjectDialog::GetObjectName(), GetSelection(), basctl::IDEResId(), basctl::OrganizePage::m_pDialog, m_xBasicBox, basctl::OBJ_TYPE_DIALOG, basctl::OBJ_TYPE_LIBRARY, RET_CANCEL, weld::DialogController::run(), basctl::NewObjectDialog::SetObjectName(), and basctl::TYPE_DIALOG.
|
private |
Definition at line 798 of file moduldlg.cxx.
References aDocument, basctl::createModImpl(), basctl::ScriptDocument::getApplicationScriptDocument(), weld::GenericDialogController::getDialog(), GetSelection(), basctl::OrganizePage::m_pDialog, and m_xBasicBox.
|
inline |
Definition at line 153 of file moduldlg.hxx.
References m_xBasicBox.
|
private |
Definition at line 129 of file moduldlg.hxx.
Referenced by ActivatePage(), CheckButtons(), DeleteCurrent(), GetSelection(), NewDialog(), NewModule(), ObjectPage(), and SetCurrentEntry().
|
private |
Definition at line 133 of file moduldlg.hxx.
Referenced by CheckButtons(), and ObjectPage().
|
private |
Definition at line 134 of file moduldlg.hxx.
Referenced by ObjectPage().
|
private |
Definition at line 130 of file moduldlg.hxx.
Referenced by CheckButtons(), and ObjectPage().
|
private |
Definition at line 132 of file moduldlg.hxx.
Referenced by CheckButtons(), and ObjectPage().
|
private |
Definition at line 131 of file moduldlg.hxx.
Referenced by CheckButtons(), and ObjectPage().