A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://www.ncbi.nlm.nih.gov/IEB/ToolBox/CPP_DOC/doxyhtml/suc__refresh__cntrl_8cpp_source.html below:

NCBI C++ ToolKit: src/gui/packages/pkg_sequence_edit/suc_refresh_cntrl.cpp Source File

48 #include <wx/display.h> 67

m_Ctrl->OnError(

"Error"

);

71

sel_srv->GetActiveObjects(

objects

);

77

m_Ctrl->OnError(

"No objects"

);

89

doc =

dynamic_cast<CGBDocument

*

>

(ws->GetProjectFromScope(*

objects

.front().scope));

99

statusText =

"Sort Unique Count failed!"

;

101

<<

"CTableDataSUC failed to start job: " 107  if

(!statusText.empty())

108

m_Ctrl->OnError(statusText);

126

statusText =

"Sort Unique Count failed!"

;

132

statusText =

"Sort Unique Count canceled!"

;

138  string

err_msg =

"Failed: "

;

140

err_msg +=

error

->GetText();

142

err_msg +=

"Unknown fatal error"

;

144

statusText = err_msg;

168

: m_Workbench(

NULL

), m_Text(

NULL

)

186  if

(!sel_srv)

return text

;

187

sel_srv->GetActiveObjects(

objects

);

197

}

catch

(

const

exception&) {

203

report->SetTitle(

wxT

(

"Sort Unique Count"

));

205  for

(

size_t i

= 0;

i

< num_rows;

i

++) {

211  text

+= line->GetLine();

268

wxWindow *dlg =

m_Text

->GetParent();

284

wxWindow *dlg =

m_Text

->GetParent();

287  if

(width >= 0 && height >= 0)

288

dlg->SetSize(wxSize(width,height));

293  if

(pos_x >= 0 && pos_y >= 0) {

295  for

(

unsigned i

= 0;

i

< wxDisplay::GetCount();

i

++) {

296

wxDisplay display(

i

);

297

max_x += display.GetGeometry().GetWidth();

299  if

(pos_x + width > max_x)

300

pos_x = wxGetDisplaySize().GetWidth()-width-5;

302  if

(pos_y + height > wxGetDisplaySize().GetHeight())

303

pos_y = wxGetDisplaySize().GetHeight()-height-5;

305

dlg->SetPosition(wxPoint(pos_x,pos_y));

IAppJobListener Interface for components that need to be notified about changes in Jobs.

CAppJobNotification Notification send by CAppJobEventTranslator.

CEvent - generic event implementation TODO TODO - Attachments.

CUndoManager & GetUndoManager()

void SetText(const wxString &text)

CRegistryWriteView GetWriteView(const string &section)

get a read-write view at a particular level.

static CGuiRegistry & GetInstance()

access the application-wide singleton

CRegistryReadView GetReadView(const string &section) const

get a read-only view at a particular level.

CProjectService - a service providing API for operations with Workspaces and Projects.

class CRegistryReadView provides a nested hierarchical view at a particular key.

int GetInt(const string &key, int default_val=0) const

access a named key at this level, with no recursion

void Set(const string &key, int val)

access a named key at this level, with no recursion

static CRef< CSUCResults > GetSUCResults(TConstScopedObjects &objects)

CSUCRefreshCntrl * m_Ctrl

void x_OnJobNotification(CEvent *evt)

void OnSUCData(CSUCResults &sucData)

virtual void SetRegistryPath(const string &reg_path)

virtual void LoadSettings()

virtual ~CSUCRefreshCntrl()

virtual string GetRefreshedText()

void OnError(const string error)

CRef< CSUCRefreshCntrlHelper > m_Helper

virtual void RefreshText(CGenericPanel *text)

virtual void SaveSettings() const

CConstRef< CSUCLine > GetLine(size_t pos) const

void GetText(wxString &text)

size_t CountLines() const

IWorkbench is the central interface in the application framework.

#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)

CIRef< T > GetServiceByType()

retrieves a typed reference to a service, the name of C++ type is used as the name of the service.

CConstIRef< IAppJobError > GetError() const

returns non-null pointer only if job Failed

static CAppJobDispatcher & GetInstance()

CRef< CObject > GetResult() const

returns non-null pointer only if Completed or Running and has temporary results available

bool DeleteJob(TJobID job_id)

when a Job is deleted the listener is not notified

TJobID StartJob(IAppJob &job, const string &engine_name, IEngineParams *params=NULL)

Starts a Job on the specified engine in "passive mode" - no notifications or progress reports will be...

#define ON_EVENT(type, id, handler)

#define END_EVENT_MAP()

Ends definition of Command Map.

#define BEGIN_EVENT_MAP(thisClass, baseClass)

Begins definition of Command Map for CEventHandler-derived class.

TJobState GetState() const

vector< SConstScopedObject > TConstScopedObjects

void Reset(void)

Reset reference object.

#define END_NCBI_SCOPE

End previously defined NCBI scope.

#define BEGIN_NCBI_SCOPE

Define ncbi namespace.

static enable_if< is_arithmetic< TNumeric >::value||is_convertible< TNumeric, Int8 >::value, string >::type NumericToString(TNumeric value, TNumToStringFlags flags=0, int base=10)

Convert numeric value to string.

static void text(MDB_val *v)

void GetViewObjects(IWorkbench *workbench, TConstScopedObjects &objects)

static const char * kFramePosX

static const char * kFrameHeight

static const char * kFramePosY

static const char * kFrameWidth

wxString ToWxString(const string &s)


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4