1 #ifndef GUI_CORE_VIEW_GRAPHIC___VIEW_GRAPHIC__HPP
2 #define GUI_CORE_VIEW_GRAPHIC___VIEW_GRAPHIC__HPP
74 virtual const wxMenu*
GetMenu();
CEvent - generic event implementation TODO TODO - Attachments.
virtual void OnProjectChanged()
CProjectViewTypeDescriptor - holds description of a project view type.
CSelectionEvent CSelectionEvent is used for broadcasting selection between views.
CUICommandRegistry is a centralized registry where all application commands should be registered.
CViewTypeDescriptor - holds description of a view type.
IExtension IExtension interface represents an abstract pluggable component.
IView - represents a standard visual part of Workbench UI.
IVisibleRangeClient - represents an object that wants notifications about visible range changes.
CFingerprint identifies an instance of IWMClient and is used for labeling layout positions.
IWorkbench is the central interface in the application framework.
static const struct name_t names[]
virtual const CObject * x_GetOrigObject() const
virtual void GetCompatibleToolBars(vector< string > &names)
returns the names of toolbars compatible with this class (toolbars that are relevant and useful in th...
virtual void x_OnSetSelection(CSelectionEvent &evt)
override in derived classes in order to handle selection broadcast
vector< CIRef< IView > > TViews
virtual string GetExtensionIdentifier() const
CViewGraphicFactory.
virtual string GetExtensionLabel() const
returns a displayable label for this extension ( please capitalize the key words - "My Extension" )
virtual void CreateViewWindow(wxWindow *parent)
create Window corresponding to the view
CConstRef< objects::CSeq_id > m_SeqId
virtual void GetVisibleRanges(CVisibleRange &vrange) const
populate a visible range event for broadcasting
virtual void RegisterCommands(CUICommandRegistry &cmd_reg, wxFileArtProvider &provider)
called by the framework to give Factory a chance to register commands used by view
void OnWidgetDataChanged(CEvent *evt)
virtual IView * CreateInstanceByFingerprint(const TFingerprint &fingerprint) const
if fingerprint is recognized - creates and returns a new instance
virtual void SetWorkbench(IWorkbench *workbench)
IView implementation.
virtual const CViewTypeDescriptor & GetTypeDescriptor() const
return an object providing meta information about thei view type
virtual const wxMenu * GetMenu()
returns a menu (must be deleted by the caller) menu injections should follow a separator named "Contr...
virtual INonAsnTrackData * GetNonAsnData()
virtual CRef< objects::CScope > GetSearchScope()
virtual CRef< objects::CSeq_loc > GetSearchLoc()
virtual void DestroyViewWindow()
destroy Window corresponding to the view
string x_GetViewSettingsFromParams(const objects::CUser_object *params)
void x_SetNonAsnInput(const objects::CProjectFolder &prj_folder)
void x_UpdateVisRangeLayout(const IViewManagerService::TViews &views)
virtual string GetDMContextName()
returns Name of the context to be used in UI
void OnOpenGraphicalView(CEvent *evt)
virtual void RegisterIconAliases(wxFileArtProvider &provider)
called by the framework to give Factory a chance to register images used by view
virtual bool IsCompatibleWith(const CObject &object, objects::CScope &scope)
CGraphicPanel * m_GraphicPanel
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 set< string > GetAnnotNames() const
virtual const CProjectViewTypeDescriptor & GetProjectViewTypeDescriptor() const
returns a Descriptor for the View Type supported by the Factory
virtual void OnViewReleased(IView &)
virtual void OnWidgetRangeChanged()
virtual IView * CreateInstance() const
creates a view instance
virtual void OnViewAttached(IView &)
void SaveSettingsAtProject(objects::CGBProjectHandle &project) const
virtual void SetOrigObject(SConstScopedObject &obj)
virtual void OnVisibleRangeChanged(const CVisibleRange &vrange, IVisibleRangeClient *source)
void GetSelection(CSelectionEvent &evt) const
get selection for broadcasting
bool x_NeedsConversion(const CObject &object, objects::CScope &scope)
CIRef< INonAsnTrackData > m_NonAsnTrackData
virtual int TestInputObjects(TConstScopedObjects &objects)
tests input objects (not using object conversion) and returns a combination of ETestResult flags bett...
virtual wxWindow * GetWindow()
returns a pointer to the wxWindow representing the client
virtual bool x_MergeObjects(TConstScopedObjects &objects)
vector< SConstScopedObject > TConstScopedObjects
TObjectType * GetPointer(void) THROWS_NONE
Get pointer,.
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
const CharType(& source)[N]
Portable reference counted smart and weak pointers using CWeakRef, CRef, CObject and CObjectEx.