1 #ifndef PKG_ALIGNMENT___LBLAST_UI_DATA_SOURCE__HPP
2 #define PKG_ALIGNMENT___LBLAST_UI_DATA_SOURCE__HPP
100 virtual bool Close();
112 virtual string AddDataLoader(
const objects::CUser_object& obj);
114 virtual string GetLoaderName(
const objects::CUser_object& obj)
const;
CProjectSelectorPanel - a panel that allows the user to specify how the project items created by a pl...
CUIObject - default mix-in implementation of IUIObject.
IDataLoaderProvider - an interface representing a Data Source.
IExplorerItemCmdContributor - interface representing a component that contributes commands applicable...
pair< wxMenu *, wxEvtHandler * > TContribution
Contribution consists of a Menu object and event handler.
IExtension IExtension interface represents an abstract pluggable component.
IRegSettings An interface for objects that save / restore settings using CGuiRegistry.
IServiceLocatorConsumer - classes that need IServiceLocator should implement this interface.
IServiceLocator - an abstract mechanism for locating services.
IUIDataSourceType - defines a type of a Data Source, can serve as a Data Source factory.
IUIDataSource - an interface representing a Data Source.
IUIObject - object that provides basic properties often required in a UI object.
virtual string GetExtensionLabel() const
returns a displayable label for this extension ( please capitalize the key words - "My Extension" )
virtual void LoadSettings()
virtual void SaveSettings() const
IServiceLocator * m_SrvLocator
virtual IUIDataSourceType & GetType() const
virtual string GetExtensionLabel() const
returns a displayable label for this extension ( please capitalize the key words - "My Extension" )
CLBLASTUIDataSource(CLBLASTUIDataSourceType &type)
virtual wxPanel * GetCurrentPanel()
Return the panel corresponding to the current state of Tool Manager.
CLBLASTUILoadManager()
CLBLASTUILoadManager.
virtual string GetExtensionIdentifier() const
returns the unique human-readable identifier for the extension the id should use lowercase letters se...
virtual bool IsOpen()
a Data source needs to be open before use and closed after.
virtual const IUIObject & GetDescr()
returns UI description of the object (label, icon etc.)
virtual bool IsCompletedState()
Manager goes into "Complete" state when "Finish" button is pressed and all input data is gatherred an...
CLBLASTUIDataSourceType()
CLBLASTUIDataSourceType.
virtual bool AutoCreateDefaultDataSource()
returns "true" if this type needs to create a default instance of the Data Source at start-up
virtual void CleanUI()
CleanUI() is called after the host finished using the manager.
virtual void SetServiceLocator(IServiceLocator *srv_locator)
Sets / unsets Service Locator.
virtual void SetServiceLocator(IServiceLocator *locator)
virtual IUIDataSource * CreateDataSource()
factory method; create an Data Source instance
virtual bool Open()
Prepares Data Source for use, any initialization that can be potentially time-consuming or may requir...
ELBLASTCommands
commands introduced by BAM data source
virtual IExplorerItemCmdContributor::TContribution GetMenu(wxTreeCtrl &treeCtrl, PT::TItems &items)
for the given set of items returns a contribution
virtual string AddDataLoader(const objects::CUser_object &obj)
Add a new data loader to object manager.
virtual string GetLoaderName(const objects::CUser_object &obj) const
Get the data loader's name based on input object.
virtual IUIToolManager * GetLoadManager()
virtual void SetRegistryPath(const string &path)
virtual void EditProperties()
virtual void SetParentWindow(wxWindow *parent)
CLBLASTParamsPanel * m_ParamsPanel
CLBLASTLoadParams m_LBLASTParams
CRef< CLBLASTUIDataSourceType > m_Type
virtual wxEvtHandler * CreateEvtHandler()
CProjectSelectorPanel * m_ProjectSelPanel
SProjectSelectorParams m_ProjectParams
virtual bool DoTransition(EAction action)
Performs transition if possible and returns true, otherwise the function shall warn the user about th...
virtual string GetExtensionIdentifier() const
returns the unique human-readable identifier for the extension the id should use lowercase letters se...
vector< CRef< objects::CSeq_id > > m_RefSeqIds
wxWindow * m_ParentWindow
virtual void InitUI()
Initializes the Manager before using it in UI.
virtual const IUIObject & GetDescriptor() const
Returns the object describing this tool (UI meta data).
virtual bool IsFinalState()
True if Tool Manager has reached its final state, i.e.
IServiceLocator * m_SrvLocator
virtual IAppTask * GetTask()
Once parameters are gathered and validated this function is called to produce the final Task object t...
virtual const IUIObject & GetDescr()
returns UI description of the type (label, icon etc.)
virtual int GetDefaultCommand()
virtual bool CanDo(EAction action)
Indicates whether given transition is possible in the current state.
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
The NCBI C++/STL use hints.
SProjectSelectorParams - holds data for CProjectSelectorPanel.