105 : m_Descriptor(
"Phylogenetic Tree File",
""),
172 return action ==
eNext;
174 return action ==
eNext;
219 if (
input.size()==1) {
238 static string sid(
"phy_exporter_factory");
245 static string slabel(
"Phylogenetic Tree Exporter Factory");
virtual bool TransferDataFromWindow()
Transfer data from the window.
virtual bool TransferDataToWindow()
Transfer data to the window.
virtual void SetRegistryPath(const string &path)
IRegSettings.
virtual void LoadSettings()
void SetObjects(TConstScopedObjects *objects)
void SetData(const CPhyExportParams &data)
CPhyExportParams & GetData()
Data access.
virtual void LoadSettings()
virtual void SaveSettings() const
IRegSettings.
void SetBioTree(CBioTreeContainer *value)
const wxString & GetFileName() const
virtual void SetRegistryPath(const string &path)
IRegSettings.
virtual bool TestInputObjects(TConstScopedObjects &objects) const
Check if exporter can handle the objects.
virtual string GetExtensionLabel() const
returns a displayable label for this extension ( please capitalize the key words - "My Extension" )
virtual string GetExtensionIdentifier() const
returns the unique human-readable identifier for the extension the id should use lowercase letters se...
virtual IUIExportTool * CreateInstance() const
create and instance of the IUIExporter
virtual bool IsFinalState()
True if Tool Manager has reached its final state, i.e.
CPhyExportParams m_Params
virtual void SetLocations(const TRelatedObjectsMap &)
sets objects to be exported.
virtual void InitUI()
Initializes the Manager before using it in UI.
virtual bool CanDo(EAction action)
Indicates whether given transition is possible in the current state.
virtual void SaveSettings() const
virtual bool DoTransition(EAction action)
Performs transition if possible and returns true, otherwise the function shall warn the user about th...
virtual void LoadSettings()
virtual bool IsCompletedState()
Manager goes into "Complete" state when "Finish" button is pressed and all input data is gatherred an...
virtual const IUIObject & GetDescriptor() const
Returns the object describing this tool (UI meta data).
virtual void SetParentWindow(wxWindow *parent)
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 SetObjects(const TConstScopedObjects &input)
virtual wxPanel * GetCurrentPanel()
Return the panel corresponding to the current state of Tool Manager.
virtual IAppTask * GetTask()
Once parameters are gathered and validated this function is called to produce the final Task object t...
TConstScopedObjects TObjects
wxWindow * m_ParentWindow
virtual void SetRegistryPath(const string &path)
EState m_State
tool manager state (int the Run Tool wizard)
Base class for all serializable objects.
CUIObject - default mix-in implementation of IUIObject.
IRegSettings An interface for objects that save / restore settings using CGuiRegistry.
IServiceLocator - an abstract mechanism for locating services.
IUIObject - object that provides basic properties often required in a UI object.
#define ITERATE(Type, Var, Cont)
ITERATE macro to sequence through container elements.
virtual void SetLogEvent(const string &log_event)
vector< SConstScopedObject > TConstScopedObjects
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
USING_SCOPE(ncbi::objects)