Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Types | Private Member Functions | Private Attributes

AP_UnixDialog_RDFEditor Class Reference

#include <ap_UnixDialog_RDFEditor.h>

Inheritance diagram for AP_UnixDialog_RDFEditor:
AP_Dialog_RDFEditor AP_Dialog_Modeless XAP_Dialog_Modeless XAP_Dialog_AppPersistent XAP_Dialog_Persistent XAP_Dialog

List of all members.

Public Member Functions

 AP_UnixDialog_RDFEditor (XAP_DialogFactory *pDlgFactory, XAP_Dialog_Id id)
virtual ~AP_UnixDialog_RDFEditor (void)
virtual void runModeless (XAP_Frame *pFrame)
virtual void notifyActiveFrame (XAP_Frame *pFrame)
virtual void activate (void)
virtual void destroy (void)
void onExecuteClicked ()
void onShowAllClicked ()
void onDelClicked ()
void onCellEdited (GtkCellRendererText *cell, gchar *path_string, gchar *new_text, int cidx)
void onImportRDFXML ()
void onExportRDFXML ()
void onCursorChanged ()
const GtkWidget * getWindow (void)
virtual void clear ()
virtual void addStatement (const PD_RDFStatement &st)
virtual void setStatus (const std::string &msg)
virtual void removeStatement (const PD_RDFStatement &st)
virtual std::list
< PD_RDFStatement
getSelection ()
virtual void setSelection (const std::list< PD_RDFStatement > &l)
virtual void hideRestrictionXMLID (bool v)
PD_RDFStatement next (const PD_RDFStatement &st)

Static Public Member Functions

static XAP_Dialogstatic_constructor (XAP_DialogFactory *, XAP_Dialog_Id id)

Protected Member Functions

void _constructWindow (XAP_Frame *pFrame)
void _updateWindow (void)

Private Types


Private Member Functions

GtkTreeIter getGIter (PD_RDFStatement st)
PD_RDFStatement GIterToStatement (GtkTreeIter *giter)

Private Attributes

GtkTreeViewColumn * w_cols [C_COLUMN_COUNT]
GtkWidget * m_wDialog
GtkWidget * m_btClose
GtkWidget * m_btShowAll
GtkTreeView * m_resultsView
GtkTreeStore * m_resultsModel
GtkWidget * m_status
GSimpleAction * m_anewtriple
GSimpleAction * m_acopytriple
GSimpleAction * m_adeletetriple
GSimpleAction * m_aimportrdfxml
GSimpleAction * m_aexportrdfxml
GtkComboBox * m_selectedxmlid
GtkWidget * m_restrictxmlidhidew

Member Enumeration Documentation

anonymous enum [private]

Constructor & Destructor Documentation

AP_UnixDialog_RDFEditor::AP_UnixDialog_RDFEditor ( XAP_DialogFactory pDlgFactory,
XAP_Dialog_Id  id 


Referenced by static_constructor().

AP_UnixDialog_RDFEditor::~AP_UnixDialog_RDFEditor ( void   )  [virtual]


References UT_DEBUGMSG.

Member Function Documentation

void AP_UnixDialog_RDFEditor::_updateWindow ( void   )  [protected]
void AP_UnixDialog_RDFEditor::activate ( void   )  [virtual]
void AP_UnixDialog_RDFEditor::clear ( void   )  [virtual]

Reimplemented from AP_Dialog_RDFEditor.

References m_resultsModel.

void AP_UnixDialog_RDFEditor::destroy ( void   )  [virtual]
GtkTreeIter AP_UnixDialog_RDFEditor::getGIter ( PD_RDFStatement  st  )  [private]
std::list< PD_RDFStatement > AP_UnixDialog_RDFEditor::getSelection (  )  [virtual]
const GtkWidget* AP_UnixDialog_RDFEditor::getWindow ( void   )  [inline]
PD_RDFStatement AP_UnixDialog_RDFEditor::GIterToStatement ( GtkTreeIter *  giter  )  [private]
void AP_UnixDialog_RDFEditor::hideRestrictionXMLID ( bool  v  )  [virtual]
PD_RDFStatement AP_UnixDialog_RDFEditor::next ( const PD_RDFStatement st  ) 

References getGIter(), GIterToStatement(), and m_resultsModel.

Referenced by onDelClicked().

void AP_UnixDialog_RDFEditor::notifyActiveFrame ( XAP_Frame pFrame  )  [virtual]

Reimplemented from XAP_Dialog_Modeless.

References _updateWindow(), m_wDialog, UT_ASSERT, and UT_DEBUGMSG.

void AP_UnixDialog_RDFEditor::onCellEdited ( GtkCellRendererText *  cell,
gchar *  path_string,
gchar *  new_text,
int  cidx 
void AP_UnixDialog_RDFEditor::onExecuteClicked (  ) 
void AP_UnixDialog_RDFEditor::onShowAllClicked (  ) 
void AP_UnixDialog_RDFEditor::removeStatement ( const PD_RDFStatement st  )  [virtual]

Reimplemented from AP_Dialog_RDFEditor.

References getGIter(), and m_resultsModel.

Referenced by onDelClicked().

void AP_UnixDialog_RDFEditor::runModeless ( XAP_Frame pFrame  )  [virtual]
void AP_UnixDialog_RDFEditor::setSelection ( const std::list< PD_RDFStatement > &  l  )  [virtual]

Reimplemented from AP_Dialog_RDFEditor.

References getGIter(), m_resultsView, scrollToIter(), and selectIter().

Referenced by onDelClicked().

void AP_UnixDialog_RDFEditor::setStatus ( const std::string &  msg  )  [virtual]

Reimplemented from AP_Dialog_RDFEditor.

References m_status.

XAP_Dialog * AP_UnixDialog_RDFEditor::static_constructor ( XAP_DialogFactory pFactory,
XAP_Dialog_Id  id 
) [static]

Static ctor.

References AP_UnixDialog_RDFEditor().

Member Data Documentation

GSimpleAction* AP_UnixDialog_RDFEditor::m_acopytriple [private]

Referenced by _constructWindow().

GSimpleAction* AP_UnixDialog_RDFEditor::m_adeletetriple [private]

Referenced by _constructWindow().

GSimpleAction* AP_UnixDialog_RDFEditor::m_aexportrdfxml [private]

Referenced by _constructWindow().

GSimpleAction* AP_UnixDialog_RDFEditor::m_aimportrdfxml [private]

Referenced by _constructWindow().

GSimpleAction* AP_UnixDialog_RDFEditor::m_anewtriple [private]

Referenced by _constructWindow().

GtkWidget* AP_UnixDialog_RDFEditor::m_btClose [private]

Referenced by _constructWindow().

Referenced by _constructWindow().

GtkWidget* AP_UnixDialog_RDFEditor::m_status [private]

Referenced by _constructWindow(), and setStatus().

GtkTreeViewColumn* AP_UnixDialog_RDFEditor::w_cols[C_COLUMN_COUNT] [private]

Referenced by _constructWindow().

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