1 #ifndef GUI_WIDGETS_SEQ_GRAPHIC___GRAPH_TRACK__HPP
2 #define GUI_WIDGETS_SEQ_GRAPHIC___GRAPH_TRACK__HPP
88 void SetAnnot(
const string& annot);
89 const string& GetAnnot()
const;
144 void x_OnSettingsIconClicked();
163 static ELayout x_LayoutStrToValue(
const string& layout);
164 static string x_LayoutValueToStr(
ELayout layout);
182 virtual TTrackMap CreateTracks(
186 const SExtraParams& params = SExtraParams(),
187 const TAnnotMetaDataList& src_annots = TAnnotMetaDataList())
const;
189 virtual void GetMatchedAnnots(
190 const TAnnotMetaDataList& src_annots,
192 TAnnotNameTitleMap& out_annots)
const;
209 GetSettings(
const string& profile,
210 const TKeyValuePairs& settings,
216 virtual string GetExtensionIdentifier()
const;
217 virtual string GetExtensionLabel()
const;
CAppJobNotification Notification send by CAppJobEventTranslator.
CDataTrack - a abstract base class for layout tracks which need to deal with background data retrieva...
virtual CRef< CSGGenBankDS > GetDataSource()=0
Method for accessing the data source.
virtual void x_UpdateData()=0
update track content.
virtual void x_OnJobCompleted(CAppJobNotification ¬ify)=0
virtual void x_UpdateBoundingBox()
Update the bounding box assuming children's sizes are fixed if any.
virtual void x_RenderContent() const
The content rendering must be implemented in the derived layout tracks.
virtual void GetHTMLActiveAreas(TAreaVector *p_areas) const
Get html active areas.
virtual const CTrackTypeInfo & GetTypeInfo() const
virtual bool NeedBackgroundInit() const
Background track initialization.
static const CTrackTypeInfo & GetTypeInfo()
virtual bool UnderstandLevel() const
Have any concept of level.
virtual const CTrackTypeInfo & GetThisTypeInfo() const
objects::SAnnotSelector m_Sel
CSGGraphDS & x_GetGraphDS()
CGraphTrack & operator=(const CGraphTrack &)
static const string kOverlayed
bool m_FixedScale
Dynamic or fixed graph scale.
const string & GetAnnot() const
CRef< CHistogramGlyph > m_Grid
objects::SAnnotSelector & x_GetAnnotSelector()
CSGGraphDS::TAxisLimits m_YLimits
Graph y limits stored when FixedScale is set.
static CTrackTypeInfo m_TypeInfo
CGraphTrack(const CGraphTrack &)
virtual void x_SaveSettings(const string &preset_style)
save the track settings to a profile string.
virtual void x_LoadSettings(const string &preset_style, const TKeyValuePairs &settings)
load the track settings.
void x_OnLayoutChanged()
update the layout.
virtual void x_OnIconClicked(TIconID id)
Mouse left-click event handler on an icon.
int TIconID
use int as TIconID instead of EIconID.
virtual CHTMLActiveArea * InitHTMLActiveArea(TAreaVector *p_areas) const
Initialize the HTML active area for a track.
Client to NetCache server (implements ICache interface)
CRenderingContext offers the basic context and utility methods for rendering layout objects in featur...
vector< CHTMLActiveArea > TAreaVector
CTrackTypeInfo - holds description of a layout track type.
IDroppable The interface for tracks that support drag&drop.
virtual bool Drop(CRef< CLayoutTrack > &track)=0
virtual bool CanDrop(CRef< CLayoutTrack > &track)=0
IExtension IExtension interface represents an abstract pluggable component.
ILegendProvider interface for tracks that are have legend This is currently for sviewer (cgi) purpose...
virtual void GetLegend(const CTempTrackProxy *track_proxy, objects::CTrackConfig::TLegend &legend) const =0
ISGDSManager is seqgraphic data source manage that serves as an data source context.
ITrackConfigurable interface for tracks that are configurable.
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
#define NCBI_GUIWIDGETS_SEQGRAPHIC_EXPORT
Portable reference counted smart and weak pointers using CWeakRef, CRef, CObject and CObjectEx.
NetCache ICache client specs.
static SAnnotSelector x_GetAnnotSelector()