59 bool exception =
false;
108 bool exception =
false;
150 bool exception =
false;
208 string cmdName = pCommand->
GetLabel();
211 cmdName =
typeid(*pCommand).name();
214 cmdName =
"Unknown command";
217 string msg = errMsg.empty() ?
"Unknown error" : errMsg;
218 if (msg[msg.length() - 1] !=
'.')
285 if (dlg.ShowModal() == wxID_CANCEL)
User-defined methods of the data storage class.
bool Create(wxWindow *parent, wxWindowID id=ID_CEXCLUSIVEEDITDLG, const wxString &caption=_("Exclusive Edit Access"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(400, 300), long style=wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX|wxTAB_TRAVERSAL)
void InitData(wxWindow *exclusiveEdit, const string &exclusiveDescr)
virtual void x_FireProjectChanged(TEvent::EEventSubtype subtype)
CUndoManager & m_UndoManager
void x_SendChangedEvent()
wxWindow * m_ExclusiveEdit
virtual void Undo(wxWindow *window=0)
virtual string GetUndoLabel()
void x_ShowExclusiveEditDlg()
virtual bool ExecuteLock()
void x_SendChangingEvent()
virtual bool ReleaseExclusiveEdit(wxWindow *window)
virtual void ExecuteUnlock()
virtual void Redo(wxWindow *window=0)
virtual bool RequestExclusiveEdit(wxWindow *window, const string &descr)
void ShowErrorMsg(IEditCommand *pCommand, const string &errMsg)
virtual void Execute(IEditCommand *command, wxWindow *window=0)
virtual string GetRedoLabel()
Interface (functor) for object editing.
virtual string GetLabel()=0
#define LOG_POST(message)
This macro is deprecated and it's strongly recomended to move in all projects (except tests) to macro...
void Error(CExceptionArgs_Base &args)
const string & GetMsg(void) const
Get message string.
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.