: m_Descriptor(
"AGP File",
""),
173 returnaction ==
eNext;
175 returnaction ==
eNext;
229CSeq_loc::GetTypeInfo()->GetName(), relations);
232 if(relations.size() > 1 && itr == relations.begin())
236 stringrelName = rel.
GetProperty(CSeq_loc::GetTypeInfo()->GetName());
241 if(!related.empty()) {
265 static stringsid(
"agp_exporter_factory");
272 static stringslabel(
"AGP Exporter Factory");
289 if(typeName ==
"BioTreeContainer")
USING_SCOPE(ncbi::objects)
virtual void SetRegistryPath(const string &path)
IRegSettings.
void SetData(const CAgpExportParams &data)
virtual bool TransferDataFromWindow()
Transfer data from the window.
CAgpExportParams & GetData()
Data access.
virtual void SaveSettings() const
virtual void LoadSettings()
virtual bool TransferDataToWindow()
Transfer data to the window.
void SetObjects(TRelatedObjectsMap *objects)
virtual void SetRegistryPath(const string &path)
IRegSettings.
wxString GetFileName() const
virtual void SaveSettings() const
IRegSettings.
virtual void LoadSettings()
virtual string GetExtensionLabel() const
returns a displayable label for this extension ( please capitalize the key words - "My Extension" )
virtual IUIExportTool * CreateInstance() const
create and instance of the IUIExporter
virtual bool TestInputObjects(TConstScopedObjects &objects) const
Check if exporter can handle the objects.
virtual string GetExtensionIdentifier() const
returns the unique human-readable identifier for the extension the id should use lowercase letters se...
virtual IAppTask * GetTask()
Once parameters are gathered and validated this function is called to produce the final Task object t...
virtual bool DoTransition(EAction action)
Performs transition if possible and returns true, otherwise the function shall warn the user about th...
virtual void SetParentWindow(wxWindow *parent)
TConstScopedObjects m_Input
virtual void SetLocations(const TRelatedObjectsMap &input_map)
sets objects to be exported.
virtual void SaveSettings() const
wxWindow * m_ParentWindow
virtual void InitUI()
Initializes the Manager before using it in UI.
virtual void SetServiceLocator(IServiceLocator *srv_locator)
Sets / unsets Service Locator.
CAgpExportParams m_Params
TRelatedObjectsMap m_Objects
virtual void LoadSettings()
virtual void SetRegistryPath(const string &path)
virtual bool CanDo(EAction action)
Indicates whether given transition is possible in the current state.
virtual void CleanUI()
CleanUI() is called after the host finished using the manager.
virtual bool IsCompletedState()
Manager goes into "Complete" state when "Finish" button is pressed and all input data is gatherred an...
virtual wxPanel * GetCurrentPanel()
Return the panel corresponding to the current state of Tool Manager.
virtual bool IsFinalState()
True if Tool Manager has reached its final state, i.e.
virtual void SetObjects(const TConstScopedObjects &input)
EState m_State
tool manager state (int the Run Tool wizard)
virtual const IUIObject & GetDescriptor() const
Returns the object describing this tool (UI meta data).
vector< TRelation > TRelationVector
static void FindRelations(objects::CScope &scope, const CObject &obj, const string &to_type_in, TRelationVector &relations)
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
virtual const CTypeInfo * GetThisTypeInfo(void) const =0
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
const string & GetName(void) const
Get name of this type.
Defines classes: CDirEntry, CFile, CDir, CSymLink, CMemoryFile, CFileUtil, CFileLock,...
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