Public Member Functions | Protected Member Functions | Protected Attributes

AP_Dialog_RDFEditor Class Reference

#include <ap_Dialog_RDFEditor.h>

Inheritance diagram for AP_Dialog_RDFEditor:
AP_Dialog_Modeless XAP_Dialog_Modeless XAP_Dialog_AppPersistent XAP_Dialog_Persistent XAP_Dialog AP_UnixDialog_RDFEditor

List of all members.

Public Member Functions

 AP_Dialog_RDFEditor (XAP_DialogFactory *pDlgFactory, XAP_Dialog_Id id)
virtual ~AP_Dialog_RDFEditor ()
void showAllRDF ()
 Execute the given SPARQL query, using clear() and addStatement() to update the GUI.
void setRestrictedModel (PD_RDFModelHandle model)
std::string uriToPrefixed (const std::string &uri)
std::string prefixedToURI (const std::string &prefixed)
PD_RDFModelHandle getModel ()
PD_DocumentRDFHandle getRDF ()
void createStatement ()
void copyStatement ()
void setRestrictedXMLID (const std::string &xmlid)
virtual void clear ()
 methods for GUI subclasses to override.
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)

Protected Member Functions

virtual XAP_String_Id getWindowTitleStringId ()
void setSelection (const PD_RDFStatement &st)
void statusIsTripleCount ()

Protected Attributes

int m_count
PD_RDFModelHandle m_restrictedModel
bool m_hideRestrictionXMLID

Constructor & Destructor Documentation

AP_Dialog_RDFEditor::AP_Dialog_RDFEditor ( XAP_DialogFactory pDlgFactory,
XAP_Dialog_Id  id 
AP_Dialog_RDFEditor::~AP_Dialog_RDFEditor ( void   )  [virtual]

Member Function Documentation

void AP_Dialog_RDFEditor::addStatement ( const PD_RDFStatement st  )  [virtual]

Reimplemented in AP_UnixDialog_RDFEditor.

References m_count, and UT_UNUSED.

Referenced by copyStatement(), createStatement(), and showAllRDF().

void AP_Dialog_RDFEditor::clear ( void   )  [virtual]

methods for GUI subclasses to override.

Reimplemented in AP_UnixDialog_RDFEditor.

References m_count.

Referenced by showAllRDF().

void AP_Dialog_RDFEditor::createStatement (  ) 
std::list< PD_RDFStatement > AP_Dialog_RDFEditor::getSelection (  )  [virtual]

Reimplemented in AP_UnixDialog_RDFEditor.

Referenced by copyStatement().

XAP_String_Id AP_Dialog_RDFEditor::getWindowTitleStringId (  )  [protected, virtual]

Implements AP_Dialog_Modeless.

void AP_Dialog_RDFEditor::hideRestrictionXMLID ( bool  v  )  [virtual]

Reimplemented in AP_UnixDialog_RDFEditor.

References m_hideRestrictionXMLID.

Referenced by s_doRDFEditorDlg().

std::string AP_Dialog_RDFEditor::prefixedToURI ( const std::string &  prefixed  ) 

References getModel().

void AP_Dialog_RDFEditor::removeStatement ( const PD_RDFStatement st  )  [virtual]

Reimplemented in AP_UnixDialog_RDFEditor.

void AP_Dialog_RDFEditor::setRestrictedModel ( PD_RDFModelHandle  model  ) 
void AP_Dialog_RDFEditor::setRestrictedXMLID ( const std::string &  xmlid  ) 
void AP_Dialog_RDFEditor::setSelection ( const std::list< PD_RDFStatement > &  l  )  [virtual]
void AP_Dialog_RDFEditor::setSelection ( const PD_RDFStatement st  )  [protected]

References setSelection().

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

Reimplemented from AP_Dialog_Modeless.

Reimplemented in AP_UnixDialog_RDFEditor.

Referenced by statusIsTripleCount().

std::string AP_Dialog_RDFEditor::uriToPrefixed ( const std::string &  uri  ) 

References getModel().

Member Data Documentation

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