1 #ifndef PKG_SEQUENCE_EDIT___SEQUIN_DESKTOP_VIEW__HPP
2 #define PKG_SEQUENCE_EDIT___SEQUIN_DESKTOP_VIEW__HPP
85 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.
CSequinDesktopViewFactory.
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.
CFingerprint identifies an instance of IWMClient and is used for labeling layout positions.
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
virtual void DestroyViewWindow()
destroy Window corresponding to the view
virtual void RegisterIconAliases(wxFileArtProvider &provider)
called by the framework to give Factory a chance to register images used by view
virtual wxEvtHandler * GetCommandHandler()
IWMClient implementation.
void x_OnSingleMouseClick(CEvent *event)
Scrolls to the corresponding item in the Flat File View and selects it.
virtual int TestInputObjects(TConstScopedObjects &objects)
tests input objects (not using object conversion) and returns a combination of ETestResult flags bett...
virtual void WidgetActivated()
virtual string GetExtensionIdentifier() const
CSequinDesktopViewFactory.
virtual void ShowView(const string &viewName, FWindowFactory widgetFactory, TConstScopedObjects &objects, bool bFloat)
virtual bool AllowMerge() const
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 void RegisterCommands(CUICommandRegistry &cmd_reg, wxFileArtProvider &provider)
called by the framework to give Factory a chance to register commands used by view
virtual void GetSelection(CSelectionEvent &evt) const
get selection for broadcasting
virtual const wxMenu * GetMenu()
returns a menu (must be deleted by the caller) menu injections should follow a separator named "Contr...
virtual void CreateViewWindow(wxWindow *parent)
create Window corresponding to the view
virtual void WidgetSelectionChanged()
virtual IView * CreateInstanceByFingerprint(const TFingerprint &fingerprint) const
if fingerprint is recognized - creates and returns a new instance
virtual void GetAppSelection(TConstObjects &objects)
virtual string GetExtensionLabel() const
returns a displayable label for this extension ( please capitalize the key words - "My Extension" )
virtual void CloseWidget()
IGuiWidgetHost implementation.
CSeqDesktopPanel * m_Window
virtual const CProjectViewTypeDescriptor & GetProjectViewTypeDescriptor() const
returns a Descriptor for the View Type supported by the Factory
virtual void GetMainObject(TConstScopedObjects &objs) const
Adds the main data objects represented by the client to "objects".
virtual string GetTargetType() const
virtual wxWindow * GetWindow()
returns a pointer to the wxWindow representing the client
virtual const CViewTypeDescriptor & GetTypeDescriptor() const
return an object providing meta information about thei view type
void x_OnRefreshData(CEvent *event)
virtual void x_OnSetSelection(CSelectionEvent &evt)
override in derived classes in order to handle selection broadcast
virtual void OnWidgetCommand(const string &command)
virtual IView * CreateInstance() const
creates a view instance
vector< CConstRef< CObject > > TConstObjects
vector< SConstScopedObject > TConstScopedObjects
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
Portable reference counted smart and weak pointers using CWeakRef, CRef, CObject and CObjectEx.