: m_Descriptor(
"5 Column Feature File",
""),
152 m_Panel->TransferDataToWindow();
178 returnaction ==
eNext;
180 returnaction ==
eNext;
234CSeq_loc::GetTypeInfo()->GetName(), relations);
237 if(relations.size() > 1 && itr == relations.begin())
241 stringrelName = rel.
GetProperty(CSeq_loc::GetTypeInfo()->GetName());
246 if(!related.empty()) {
287 static stringsid(
"z5col_exporter_factory");
294 static stringslabel(
"5 Column Exporter Factory");
USING_SCOPE(ncbi::objects)
static const char * kFileName
C5ColExportParams & GetData()
Data access.
void SetObjects(map< string, TConstScopedObjects > *objects)
virtual bool TransferDataFromWindow()
Transfer data from the window.
void SetFileName(wxString value)
SConstScopedObject GetSeqLoc() const
wxString GetFileName() const
virtual void LoadSettings()
virtual void SetRegistryPath(const string &path)
IRegSettings.
void SetData(const C5ColExportParams &data)
virtual void SaveSettings() const
virtual void SaveSettings() const
IRegSettings.
virtual void SetRegistryPath(const string &path)
IRegSettings.
virtual void LoadSettings()
virtual IUIExportTool * CreateInstance() const
create and instance of the IUIExporter
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 bool TestInputObjects(TConstScopedObjects &objects) const
Check if exporter can handle the objects.
wxWindow * m_ParentWindow
virtual void CleanUI()
CleanUI() is called after the host finished using the manager.
virtual IAppTask * GetTask()
Once parameters are gathered and validated this function is called to produce the final Task object t...
virtual const IUIObject & GetDescriptor() const
Returns the object describing this tool (UI meta data).
virtual bool CanDo(EAction action)
Indicates whether given transition is possible in the current state.
virtual wxPanel * GetCurrentPanel()
Return the panel corresponding to the current state of Tool Manager.
C5ColExportParams m_Params
virtual void SetLocations(const TRelatedObjectsMap &input_map)
sets objects to be exported.
virtual bool IsFinalState()
True if Tool Manager has reached its final state, i.e.
virtual bool IsCompletedState()
Manager goes into "Complete" state when "Finish" button is pressed and all input data is gatherred an...
virtual void SetObjects(const TConstScopedObjects &input)
C5ColExportPage * m_Panel
virtual void SetParentWindow(wxWindow *parent)
EState m_State
tool manager state (int the Run Tool wizard)
virtual void SaveSettings() const
SConstScopedObject m_SeqLoc
virtual bool DoTransition(EAction action)
Performs transition if possible and returns true, otherwise the function shall warn the user about th...
TRelatedObjectsMap m_Objects
virtual void SetRegistryPath(const string &path)
virtual void LoadSettings()
virtual void SetServiceLocator(IServiceLocator *srv_locator)
Sets / unsets Service Locator.
virtual void InitUI()
Initializes the Manager before using it in UI.
CRegistryWriteView GetWriteView(const string §ion)
get a read-write view at a particular level.
static CGuiRegistry & GetInstance()
access the application-wide singleton
CRegistryReadView GetReadView(const string §ion) const
get a read-only view at a particular level.
vector< TRelation > TRelationVector
static void FindRelations(objects::CScope &scope, const CObject &obj, const string &to_type_in, TRelationVector &relations)
class CRegistryReadView provides a nested hierarchical view at a particular key.
string GetString(const string &key, const string &default_val=kEmptyStr) const
void Set(const string &key, int val)
access a named key at this level, with no recursion
vector< SObject > TObjects
virtual string GetProperty(const string &) const
virtual void GetRelated(objects::CScope &scope, const CObject &obj, TObjects &related, TFlags flags=eDefault, ICanceled *cancel=NULL) const =0
@ fConvert_NoExpensive
do not perform any expensive tests (such as fetching from the network)
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.
Defines classes: CDirEntry, CFile, CDir, CSymLink, CMemoryFile, CFileUtil, CFileLock,...
wxString FnToWxString(const string &s)
string FnToStdString(const wxString &s)
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