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

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

61  "Project View - commands applicable to Explorer Items"

);

74  "Project View hint - TODO"

,

75  "Project View description - TODO"

,

87

: m_Workbench(

NULL

),

88

m_SelectionService(

NULL

),

111

sel_srv->AttachClient(

this

);

117

dm_srv->AttachContext(*

this

);

132

sel_srv->DetachClient(

this

);

138

dm_srv->DetachContext(*

this

);

246  if

(sel_items.empty())

277  if

(!prj_item)

continue

;

284  if

(!projectItem)

continue

;

339  if

(all_items.empty())

370  if

(!prj_item)

continue

;

377  if

(!projectItem)

continue

;

420  const CSeq_id

* sid =

dynamic_cast<const CSeq_id

*

>

(objs.begin()->object.GetPointer());

441  const CSeq_id

* sid =

dynamic_cast<const CSeq_id

*

>

(obj->object.GetPointer());

458  if

(objs.size()==1) {

459  return

objs.begin()->scope;

468  static string

sid(

"project_tree_view_factory"

);

475  static string

slabel(

"Project View Factory"

);

501  if

(print == fingerprint) {

CEvent - generic event implementation TODO TODO - Attachments.

CExtensionDeclaration - static declaration helper.

CExtensionPointDeclaration - static declaration helper.

static CGuiRegistry & GetInstance()

access the application-wide singleton

void Set(const string &key, int val)

set specific values

bool GetBool(const string &key, bool default_val=false) const

const CSerialObject * GetObject() const

retrieve the object pointed to as a CObject*

bool IsEnabled(void) const

enabled flag

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

CProjectTreePanel - a window that represents Project View.

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

void GetAllItems(PT::TItems &items)

void GetSelectedItems(PT::TItems &items)

CProjectTreeCtrl * m_Tree

void SetWorkbench(IWorkbench *workbench)

CProjectTreeViewFactory - a factory producing CProjectTreeView.

virtual void RegisterIconAliases(wxFileArtProvider &provider)

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

virtual const CViewTypeDescriptor & GetViewTypeDescriptor() const

returns a Descriptor for the View Type supported by the Factory

virtual string GetExtensionIdentifier() const

CProjectTreeViewFactory.

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 IView * CreateInstanceByFingerprint(const TFingerprint &fingerprint) const

if fingerprint is recognized - creates and returns a new instance

CProjectTreeView - a system view that displays Project Tree.

virtual CRef< objects::CScope > GetSearchScope()

virtual string GetIconAlias() const

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

virtual CFingerprint GetFingerprint() const

returns a fingerprint identifying the client

virtual void SetSelectionService(ISelectionService *service)

virtual void LoadSettings()

virtual void UpdateMenu(wxMenu &root_menu)

virtual ~CProjectTreeView()

virtual void GetMainObject(TConstScopedObjects &objects) const

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

virtual void DestroyViewWindow()

destroy Window corresponding to the view

virtual void GetMultiple(TConstScopedObjects &pObjects)

virtual wxWindow * GetWindow()

returns a pointer to the wxWindow representing the client

virtual void CreateViewWindow(wxWindow *parent)

create Window corresponding to the view

virtual CRef< objects::CSeq_loc > GetSearchLoc()

virtual const wxMenu * GetMenu()

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

virtual void SaveSettings() const

void GetSingleObject(TConstScopedObjects &objects) const

CProjectTreePanel * m_Panel

virtual void SetRegistryPath(const string &path)

virtual string GetDMContextName()

returns Name of the context to be used in UI

virtual const CRgbaColor * GetColor() const

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

void OnWidgetSelChanged(CEvent *evt)

ISelectionClient //////////////////////////////////////////////////////////.

ISelectionService * m_SelectionService

virtual string GetSelClientLabel()

returns a string identifying the client in UI

void GetSelectedItems(PT::TItems &items)

END of ISelectionClient ///////////////////////////////////////////////////.

static CViewTypeDescriptor m_TypeDescr

CProjectTreeView.

virtual void GetSelection(TConstScopedObjects &objects) const

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

virtual void SetColor(const CRgbaColor &color)

returns a color associated with the client

virtual void SetWorkbench(IWorkbench *workbench)

connect / disconnect this view with / from Workbench

virtual string GetClientLabel(IWMClient::ELabel ltype) const

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

virtual void SetSelection(CSelectionEvent &evt)

set broadcasted selection

virtual const CViewTypeDescriptor & GetTypeDescriptor() const

return an object providing meta information about thei view type

class CRgbaColor provides a simple abstraction for managing colors.

CSelectionEvent CSelectionEvent is used for broadcasting selection between views.

@ eWidgetSelectionChanged

a view has been destroyed

CViewTypeDescriptor - holds description of a view type.

ISelectionService - an interface.

virtual void OnSelectionChanged(ISelectionClient *source)=0

notifies Service and its observers about changes in selection

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.

virtual int GetType() const =0

const TData & GetData() const

#define ITERATE(Type, Var, Cont)

ITERATE macro to sequence through container elements.

#define NON_CONST_ITERATE(Type, Var, Cont)

Non constant version of ITERATE macro.

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.

const TEventID GetID(void) const

Inline Implementation.

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.

virtual const string & GetLabel() const

vector< SConstScopedObject > TConstScopedObjects

virtual void Assign(const CSerialObject &source, ESerialRecursionMode how=eRecursive)

Optimized implementation of CSerialObject::Assign, which is not so efficient.

string GetLabel(const CSeq_id &id)

TObjectType * GetPointer(void) const THROWS_NONE

Get pointer,.

TObjectType * GetPointer(void) THROWS_NONE

Get pointer,.

void Reset(void)

Reset reference object.

void Reset(void)

Reset reference object.

#define END_NCBI_SCOPE

End previously defined NCBI scope.

#define BEGIN_NCBI_SCOPE

Define ncbi namespace.

CProject * GetProject(wxTreeCtrl &treeCtrl, const CItem &item)

bool sm_HideDisabledItems

static CExtensionPointDeclaration point1(EXT_POINT__PROJECT_TREE_VIEW__CONTEXT_MENU__ITEM_CMD_CONTRIBUTOR, "Project View - commands applicable to Explorer Items")

ON_EVENT(CEvent, CViewEvent::eWidgetSelectionChanged, &CProjectTreeView::OnWidgetSelChanged) CProjectTreeView

static CExtensionDeclaration decl1("view_manager_service::view_factory", new CProjectTreeViewFactory())

register the factory in the Extention Point

#define EXT_POINT__PROJECT_TREE_VIEW__CONTEXT_MENU__ITEM_CMD_CONTRIBUTOR

This Extension Point allows external components to add commands to the top part of Project Tree conte...


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