view_feattable_.hpp
上传用户:yhdzpy8989
上传日期:2007-06-13
资源大小:13604k
文件大小:2k
- /*
- * ===========================================================================
- * PRODUCTION $Log: view_feattable_.hpp,v $
- * PRODUCTION Revision 1000.4 2004/06/01 21:01:33 gouriano
- * PRODUCTION PRODUCTION: UPGRADED [GCC34_MSVC7] Dev-tree R1.27
- * PRODUCTION
- * ===========================================================================
- */
- // generated by Fast Light User Interface Designer (fluid) version 1.0105
- #ifndef view_feattable__hpp
- #define view_feattable__hpp
- #include <FL/Fl.H>
- /* $Id: view_feattable_.hpp,v 1000.4 2004/06/01 21:01:33 gouriano Exp $ */
- #include <FL/Fl_Menu_Bar.H>
- #include <FL/Fl_Group.H>
- class CViewFeatTable : public CView {
- public:
- CViewFeatTable(const objects::CPluginMessage& msg, const string& pool_name);
- static void GetInfo(objects::CPluginInfo& info);
- void OnSelectionChanged(const CSelectionBuffer& buf);
- void OnDocumentChanged();
- void OnVisibleRangeChanged(const objects::CSeq_loc& loc);
- const string& GetTitle() const;
- enum EVisibleRangeMethod{eEntirelyContained, eStartContained, eIntersection};
- private:
- EVisibleRangeMethod m_VisibleRangeMethod;
- auto_ptr<CViewMenuMgr> m_ViewMenuMgr;
- auto_ptr<CAlgoMenuMgr> m_AlgoMenuMgr;
- auto_ptr<CSortMenuMgr> m_SortMenuMgr;
- auto_ptr<CFilterDlg> m_FilterDlg;
- CConstRef<objects::CSeq_id> m_SeqId;
- Fl_Window* x_CreateWindow();
- inline void cb__i(Fl_Window*, void*);
- static void cb_(Fl_Window*, void*);
- Fl_Menu_Bar *m_Menu;
- static Fl_Menu_Item menu_m_Menu[];
- inline void cb_Close_i(Fl_Menu_*, void*);
- static void cb_Close(Fl_Menu_*, void*);
- inline void cb_Visible_i(Fl_Menu_*, void*);
- static void cb_Visible(Fl_Menu_*, void*);
- inline void cb_Filter_i(Fl_Menu_*, void*);
- static void cb_Filter(Fl_Menu_*, void*);
- inline void cb_Preferences_i(Fl_Menu_*, void*);
- static void cb_Preferences(Fl_Menu_*, void*);
- inline void cb_Feature_i(Fl_Menu_*, void*);
- static void cb_Feature(Fl_Menu_*, void*);
- CFeatTable *m_FeatTable;
- inline void cb_m_FeatTable_i(CFeatTable*, void*);
- static void cb_m_FeatTable(CFeatTable*, void*);
- CStatusBar *m_StatusBar;
- void x_OnHelp();
- void x_OnFilter();
- void x_OnVisibleRangeChange();
- void x_OnVisibleRangeMethod();
- void x_SetVisibleRange(const TSeqRange& range);
- void x_SetVisibleRange(const CSeq_loc& loc);
- void x_OnPreferences();
- void x_Update();
- void x_UpdateDynMenus();
- void x_UpdateStatusMessage();
- void x_OnSelChanged();
- };
- #endif