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

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

62

"Active Objects Inspector",

63

"selection_inspector",

64

"Active Objects Inspector displays information about

objects

selected

in

views",

65

"Active Objects Inspector displays information about

objects

selected

in

views",

66

"SELECTION_INSPECTOR",

73

, m_Broadcasting(

false

)

219  return "Active Objects Inspector"

;

227  if

( ! sel_objs.empty()) {

230

objs.push_back(it->object);

256  static string

sid(

"selection_inspector_factory"

);

263  static string

slabel(

"Selection Inspector Factory"

);

289  if

(print == fingerprint) {

CEvent - generic event implementation TODO TODO - Attachments.

CExtensionDeclaration - static declaration helper.

class CRgbaColor provides a simple abstraction for managing colors.

CSelectionEvent CSelectionEvent is used for broadcasting selection between views.

bool AddObjectSelection(const CObject &obj)

virtual void LoadSettings()

virtual void Create(wxWindow *parent, wxWindowID id=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize)

virtual void SetRegistryPath(const string &reg_path)

void SetSelectionService(CSelectionService *service)

virtual void SaveSettings() const

void OnSelServiceStateChange(CSelectionServiceEvent &update)

void GetSelection(TConstScopedObjects &buf) const

virtual IView * CreateInstance() const

creates a view instance

virtual string GetExtensionLabel() const

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

virtual const CViewTypeDescriptor & GetViewTypeDescriptor() const

returns a Descriptor for the View Type supported by the Factory

virtual void RegisterIconAliases(wxFileArtProvider &provider)

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

virtual string GetExtensionIdentifier() const

CSelectionViewFactory.

virtual IView * CreateInstanceByFingerprint(const TFingerprint &fingerprint) const

if fingerprint is recognized - creates and returns a new instance

void x_OnSelectionEvent(CEvent *)

virtual string GetClientLabel(IWMClient::ELabel ltype=IWMClient::eDefault) const

returns the client label (name) to be displayed in UI

virtual void SaveSettings() const

CSelectionService * m_Service

virtual ~CSelectionView()

CSelectionPanel * m_Panel

virtual void UpdateMenu(wxMenu &aRootMenu)

virtual void SetRegistryPath(const string &reg_path)

IRegSettings interface implementation.

virtual void SetColor(const CRgbaColor &aColor)

returns a color associated with the client

virtual void SetSelectionService(ISelectionService *service)

virtual const CViewTypeDescriptor & GetTypeDescriptor() const

IView interface implementation.

virtual const wxMenu * GetMenu()

returns a menu (must be deleted by the caller) menu injections should follow a separator named "Contr...

virtual string GetSelClientLabel()

returns a string identifying the client in UI

virtual void GetMainObject(TConstScopedObjects &objects) const

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

virtual CFingerprint GetFingerprint() const

returns a fingerprint identifying the client

virtual void CreateViewWindow(wxWindow *parent)

create Window corresponding to the view

static CViewTypeDescriptor m_TypeDescr

virtual void SetSelection(CSelectionEvent &evt)

set broadcasted selection

virtual void SetWorkbench(IWorkbench *workbench)

connect / disconnect this view with / from Workbench

virtual const CRgbaColor * GetColor() const

returns a color associated with the client, n/a if NULL

virtual wxWindow * GetWindow()

IWMClient interface implementation.

virtual string GetIconAlias() const

returns an icon alias that can be used to retrieve the client's icon

virtual void LoadSettings()

virtual void DestroyViewWindow()

destroy Window corresponding to the view

virtual void GetSelection(TConstScopedObjects &objects) const

shall return data objects representing selected things, return one data object for every selected thi...

CViewTypeDescriptor - holds description of a view type.

ISelectionService - an interface.

IView - represents a standard visual part of Workbench UI.

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

ELabel

Different flavors of label types for different GUI aspects.

IWorkbench is the central interface in the application framework.

#define ITERATE(Type, Var, Cont)

ITERATE macro to sequence through container elements.

CIRef< T > GetServiceByType()

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

virtual void RemoveListener(CEventHandler *listener)

Remove a listener.

vector< CConstRef< CObject > > TConstObjects

virtual const string & GetIconAlias() const

#define ON_EVENT_RANGE(type, id, id_last, 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.

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

Add a listener.

virtual const string & GetLabel() const

vector< SConstScopedObject > TConstScopedObjects

string GetLabel(const CSeq_id &id)

#define END_NCBI_SCOPE

End previously defined NCBI scope.

#define BEGIN_NCBI_SCOPE

Define ncbi namespace.

std::istream & in(std::istream &in_, double &x_)

static CExtensionDeclaration decl("view_manager_service::view_factory", new CSelectionViewFactory())

CSelectionView.


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