#include <ap_UnixDialog_CollaborationJoin.h>
Public Member Functions | |
AP_UnixDialog_CollaborationJoin (XAP_DialogFactory *pDlgFactory, XAP_Dialog_Id id) | |
void | runModal (XAP_Frame *pFrame) |
void | eventAddBuddy () |
void | eventRefresh () |
void | eventOpen () |
void | eventSelectionChanged (GtkTreeView *treeview) |
GtkTreeStore * | getModel () |
Static Public Member Functions | |
static XAP_Dialog * | static_constructor (XAP_DialogFactory *pFactory, XAP_Dialog_Id id) |
Private Member Functions | |
GtkWidget * | _constructWindow (void) |
void | _populateWindowData (void) |
GtkTreeStore * | _constructModel () |
void | _setModel (GtkTreeStore *model) |
void | _refreshWindow () |
void | _enableBuddyAddition (bool bEnabled) |
void | _addDocument (BuddyPtr pBuddy, DocHandle *pDocHandle) |
Private Attributes | |
GtkWidget * | m_wWindowMain |
GtkWidget * | m_wAddBuddy |
GtkWidget * | m_wRefresh |
GtkTreeStore * | m_wModel |
GtkWidget * | m_wBuddyTree |
GtkWidget * | m_wOpen |
AP_UnixDialog_CollaborationJoin::AP_UnixDialog_CollaborationJoin | ( | XAP_DialogFactory * | pDlgFactory, | |
XAP_Dialog_Id | id | |||
) |
Referenced by static_constructor().
void AP_UnixDialog_CollaborationJoin::_addDocument | ( | BuddyPtr | pBuddy, | |
DocHandle * | pDocHandle | |||
) | [private, virtual] |
Implements AP_Dialog_CollaborationJoin.
References _refreshWindow().
GtkTreeStore * AP_UnixDialog_CollaborationJoin::_constructModel | ( | ) | [private] |
GtkWidget * AP_UnixDialog_CollaborationJoin::_constructWindow | ( | void | ) | [private] |
References AP_Dialog_CollaborationJoin::_refreshAccounts(), AbiCollabSessionManager::getAccounts(), AbiCollabSessionManager::getManager(), m_wAddBuddy, m_wBuddyTree, m_wOpen, m_wRefresh, newDialogBuilder(), s_add_buddy_clicked(), s_open_clicked(), s_refresh_clicked(), and s_selection_changed().
Referenced by runModal().
void AP_UnixDialog_CollaborationJoin::_enableBuddyAddition | ( | bool | bEnabled | ) | [private, virtual] |
Implements AP_Dialog_CollaborationJoin.
References m_wAddBuddy.
void AP_UnixDialog_CollaborationJoin::_populateWindowData | ( | void | ) | [private] |
References _constructModel(), _setModel(), DESCRIPTION_COLUMN, and m_wBuddyTree.
Referenced by runModal().
void AP_UnixDialog_CollaborationJoin::_refreshWindow | ( | ) | [private, virtual] |
Implements AP_Dialog_CollaborationJoin.
References _constructModel(), and _setModel().
Referenced by _addDocument().
void AP_UnixDialog_CollaborationJoin::_setModel | ( | GtkTreeStore * | model | ) | [private] |
References DESCRIPTION_COLUMN, m_wBuddyTree, and m_wModel.
Referenced by _populateWindowData(), _refreshWindow(), and eventAddBuddy().
void AP_UnixDialog_CollaborationJoin::eventAddBuddy | ( | ) |
References _constructModel(), AP_Dialog_CollaborationJoin::_eventAddBuddy(), and _setModel().
Referenced by s_add_buddy_clicked().
void AP_UnixDialog_CollaborationJoin::eventOpen | ( | ) |
References BUDDY_COLUMN, DOCHANDLE_COLUMN, AbiCollabSessionManager::getAccounts(), AbiCollabSessionManager::getManager(), HANDLER_COLUMN, AP_Dialog_CollaborationJoin::m_answer, AP_Dialog_CollaborationJoin::m_pBuddy, AP_Dialog_CollaborationJoin::m_pDocHandle, m_wBuddyTree, UT_ASSERT_HARMLESS, UT_DEBUGMSG, and UT_SHOULD_NOT_HAPPEN.
Referenced by s_open_clicked().
void AP_UnixDialog_CollaborationJoin::eventRefresh | ( | ) |
References AP_Dialog_CollaborationJoin::_refreshAllDocHandlesAsync().
Referenced by runModal(), and s_refresh_clicked().
void AP_UnixDialog_CollaborationJoin::eventSelectionChanged | ( | GtkTreeView * | treeview | ) |
References DOCHANDLE_COLUMN, m_wOpen, and UT_DEBUGMSG.
Referenced by s_selection_changed().
GtkTreeStore* AP_UnixDialog_CollaborationJoin::getModel | ( | ) | [inline] |
References m_wModel.
void AP_UnixDialog_CollaborationJoin::runModal | ( | XAP_Frame * | pFrame | ) | [virtual] |
XAP_Dialog * AP_UnixDialog_CollaborationJoin::static_constructor | ( | XAP_DialogFactory * | pFactory, | |
XAP_Dialog_Id | id | |||
) | [static] |
References AP_UnixDialog_CollaborationJoin().
GtkWidget* AP_UnixDialog_CollaborationJoin::m_wAddBuddy [private] |
Referenced by _constructWindow(), and _enableBuddyAddition().
GtkWidget* AP_UnixDialog_CollaborationJoin::m_wBuddyTree [private] |
Referenced by _constructWindow(), _populateWindowData(), _setModel(), and eventOpen().
GtkTreeStore* AP_UnixDialog_CollaborationJoin::m_wModel [private] |
Referenced by _setModel(), and getModel().
GtkWidget* AP_UnixDialog_CollaborationJoin::m_wOpen [private] |
Referenced by _constructWindow(), and eventSelectionChanged().
GtkWidget* AP_UnixDialog_CollaborationJoin::m_wRefresh [private] |
Referenced by _constructWindow().
GtkWidget* AP_UnixDialog_CollaborationJoin::m_wWindowMain [private] |
Referenced by runModal().