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

NCBI C++ ToolKit: include/gui/framework/view.hpp Source File

Go to the documentation of this file.

Go to the SVN repository for this file.

1 #ifndef GUI_FRAMEWORK___VIEW__HPP 2 #define GUI_FRAMEWORK___VIEW__HPP 108  const string

&

label

,

109  const string

& icon_alias,

111  const string

& description,

112  const string

& help_id,

113  const string

& category,

120  virtual string

GetCategory()

const

;

123  virtual bool

IsSingleton()

const

;

125  virtual void

SetCategory(

const string

& category );

126  virtual void

SetSingleton(

bool

singleton );

CUICommandRegistry is a centralized registry where all application commands should be registered.

CUIObject - default mix-in implementation of IUIObject.

CViewTypeDescriptor - holds description of a view type.

IViewFactory - view factory for use with IViewManagerService.

IView - represents a standard visual part of Workbench UI.

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

IWorkbench is the central interface in the application framework.

Include a standard set of the NCBI C++ Toolkit most basic headers.

virtual IView * CreateInstanceByFingerprint(const TFingerprint &fingerprint) const =0

if fingerprint is recognized - creates and returns a new instance

virtual const CViewTypeDescriptor & GetViewTypeDescriptor() const =0

returns a Descriptor for the View Type supported by the Factory

virtual void SetWorkbench(IWorkbench *workbench)=0

connect / disconnect this view with / from Workbench

virtual void DestroyViewWindow()=0

destroy Window corresponding to the view

virtual IView * CreateInstance() const =0

creates a view instance

virtual void CreateViewWindow(wxWindow *parent)=0

create Window corresponding to the view

virtual void RegisterCommands(CUICommandRegistry &, wxFileArtProvider &)

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

IWMClient::CFingerprint TFingerprint

virtual const CViewTypeDescriptor & GetTypeDescriptor() const =0

return an object providing meta information about thei view type

virtual void RegisterIconAliases(wxFileArtProvider &provider)=0

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

#define END_NCBI_SCOPE

End previously defined NCBI scope.

#define BEGIN_NCBI_SCOPE

Define ncbi namespace.

#define NCBI_GUIFRAMEWORK_EXPORT

static const char label[]

Defines to provide correct exporting from DLLs in Windows.


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