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/table__view_8cpp_source.html below:

NCBI C++ ToolKit: src/gui/core/table_view.cpp Source File

62  "Generic Table View"

,

64  "Create an interactive table representation of data."

,

65  "The Generic Table View shows Seq-table object"

,

98  return grid

->GetEventHandler();

117

tableSelection.

Reset

(CreateObjectInterface<ITableSelection>(

objects

[0],

NULL

));

127  if

(!ws)

return false

;

171  m_Window

->Reparent(wxTheApp->GetTopWindow());

187  grid

->GetSelection(evt);

195  grid

->SetSelection(evt);

203  grid

->GetSelectedObjects (objs);

227  if

(!gridEvt)

return

;

236  if

(!queryEvt)

return

;

239

sb_srv->SetStatusMessage(queryEvt->

GetStatus

());

298  static string

sid(

"table_view_factory"

);

305  static string

slabel(

"Table View Factory"

);

337  bool

found_good =

false

;

338  bool

found_bad =

false

;

340  for

(

size_t i

= 0;

i

<

objects

.size();

i

++) {

341  if

(ObjectHasInterface<ITableData>(

objects

[

i

]))

354  "Project Table View"

,

355  "project_table_view"

,

356  "Create an interactive table representation of data."

,

357  "The Project Table View shows Genome Workbench project"

,

358  "PROJECT_TABLE_VIEW"

,

413  static string

sid(

"project_table_view_factory"

);

420  static string

slabel(

"Project Table View Factory"

);

444  const

type_info&

type

=

typeid

(object);

459  bool

found_good =

false

;

460  bool

found_bad =

false

;

462  for

(

size_t i

= 0;

i

<

objects

.size();

i

++) {

User-defined methods of the data storage class.

CEvent - generic event implementation TODO TODO - Attachments.

CUndoManager & GetUndoManager()

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

virtual const CViewTypeDescriptor & GetTypeDescriptor() const

return an object providing meta information about thei view type

virtual void x_ReportInvalidInputData(TConstScopedObjects &objects)

use this function to report incompatible data in InitView()

virtual void OnProjectChanged()

virtual void x_UpdateContentLabel()

virtual void x_AttachToProject(CGBDocument &doc)

virtual bool x_HasProject() const

EEventSubtype GetSubtype() const

CProjectViewTypeDescriptor - holds description of a project view type.

virtual CUndoManager * x_GetUndoManager()

gets undo manager

const string & GetStatus() const

CSelectionEvent CSelectionEvent is used for broadcasting selection between views.

CViewTypeDescriptor - holds description of a view type.

virtual const CViewTypeDescriptor & GetViewTypeDescriptor() const

returns a Descriptor for the View Type supported by the Factory

IRegSettings An interface for objects that save / restore settings using CGuiRegistry.

virtual void SaveSettings() const =0

virtual void LoadSettings()=0

virtual void SetRegistryPath(const string &path)=0

IView - represents a standard visual part of Workbench UI.

CFingerprint identifies an instance of IWMClient and is used for labeling layout positions.

virtual void RegisterFileAlias(const wxArtID &anId, const wxArtClient &aClient, const wxSize &aSize, const wxString &aName, long aType=wxBITMAP_TYPE_ANY, int anIndex=-1)

static const struct name_t names[]

virtual void GetCompatibleToolBars(vector< string > &names)

returns the names of toolbars compatible with this class (toolbars that are relevant and useful in th...

virtual const CObject * x_GetOrigObject() const

void x_QueryStatusChange(CEvent *evt)

virtual bool InitView(TConstScopedObjects &objects, const objects::CUser_object *params)

initialize view with data, inside this function the view must call CProjectService::AttachView to con...

virtual IView * CreateInstanceByFingerprint(const TFingerprint &fingerprint) const

if fingerprint is recognized - creates and returns a new instance

virtual IView * CreateInstance() const

creates a view instance

virtual int TestInputObjects(TConstScopedObjects &objects)

tests input objects (not using object conversion) and returns a combination of ETestResult flags bett...

virtual void SetRegistryPath(const string &reg_path)

virtual void GetMainObject(TConstScopedObjects &objs) const

Adds the main data objects represented by the client to "objects".

virtual void DestroyViewWindow()

destroy Window corresponding to the view

TConstScopedObjects m_OrigObjects

virtual CIRef< ITableData > x_CreateTableData(TConstScopedObjects &objects)

virtual const CProjectViewTypeDescriptor & GetProjectViewTypeDescriptor() const

returns a Descriptor for the View Type supported by the Factory

void x_OnRowDClick(CEvent *evt)

virtual string GetExtensionLabel() const

returns a displayable label for this extension ( please capitalize the key words - "My Extension" )

virtual void RegisterIconAliases(wxFileArtProvider &provider)

called by the framework to give Factory a chance to register images used by view

virtual const CViewTypeDescriptor & GetTypeDescriptor() const

return an object providing meta information about thei view type

virtual void RegisterIconAliases(wxFileArtProvider &provider)

called by the framework to give Factory a chance to register images used by view

virtual void LoadSettings()

virtual string GetExtensionIdentifier() const

CProjectTableViewFactory.

virtual void CreateViewWindow(wxWindow *parent)

create Window corresponding to the view

virtual IView * CreateInstanceByFingerprint(const TFingerprint &fingerprint) const

if fingerprint is recognized - creates and returns a new instance

void x_OnUrlHover(CEvent *evt)

virtual void SaveSettings() const

virtual IView * CreateInstance() const

creates a view instance

virtual wxWindow * GetWindow()

returns a pointer to the wxWindow representing the client

virtual void x_OnSetSelection(CSelectionEvent &evt)

override in derived classes in order to handle selection broadcast

virtual wxEvtHandler * GetCommandHandler()

IWMClient implementation.

virtual const CProjectViewTypeDescriptor & GetProjectViewTypeDescriptor() const

returns a Descriptor for the View Type supported by the Factory

virtual bool IsCompatibleWith(const CObject &object, objects::CScope &scope)

virtual int TestInputObjects(TConstScopedObjects &objects)

tests input objects (not using object conversion) and returns a combination of ETestResult flags bett...

virtual void GetSelection(CSelectionEvent &evt) const

get selection for broadcasting

virtual string GetExtensionLabel() const

returns a displayable label for this extension ( please capitalize the key words - "My Extension" )

virtual string GetExtensionIdentifier() const

CTableViewFactory.

CIRef< T > GetServiceByType()

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

CRef< objects::CScope > scope

virtual const string & GetIconAlias() const

#define END_EVENT_MAP()

Ends definition of Command Map.

CConstRef< CObject > object

#define BEGIN_EVENT_MAP(thisClass, baseClass)

Begins definition of Command Map for CEventHandler-derived class.

virtual void AddListener(CEventHandler *listener, int pool_name=ePool_Default)

Add a listener.

vector< SConstScopedObject > TConstScopedObjects

virtual bool Send(CEvent *evt, EDispatch disp_how=eDispatch_Default, int pool_name=ePool_Default)

Sends an event synchronously.

@ eEvent_Message

message from one class to another

TObjectType * GetPointer(void) const THROWS_NONE

Get pointer,.

TObjectType * GetPointer(void) THROWS_NONE

Get pointer,.

void Reset(void)

Reset reference object.

#define END_NCBI_SCOPE

End previously defined NCBI scope.

#define BEGIN_NCBI_SCOPE

Define ncbi namespace.

CProjectViewTypeDescriptor s_ProjectTableViewTypeDescr("Project Table View", "project_table_view", "Create an interactive table representation of data.", "The Project Table View shows Genome Workbench project", "PROJECT_TABLE_VIEW", "Generic", false, "GBProject-ver2", eOneObjectAccepted)

CProjectViewTypeDescriptor s_TableViewTypeDescr("Generic Table View", "table_view", "Create an interactive table representation of data.", "The Generic Table View shows Seq-table object", "TABLE_VIEW", "Generic", false, "Seq-table", eOneObjectAccepted)

ON_EVENT(CGridWidgetEvent, CGridWidgetEvent::eUrlHover, &CTableView::x_OnUrlHover) ON_EVENT(CQueryPanelEvent

static const string sTextViewType("Text View")

wxString ToWxString(const string &s)

string ToStdString(const wxString &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