NCBI C++ ToolKit
Public Member Functions | Static Public Member Functions | Static Private Member Functions | Private Attributes | List of all members
CExtendPartialFeatDlg Class Reference

Search Toolkit Book for CExtendPartialFeatDlg

#include <gui/packages/pkg_sequence_edit/extend_partial_features.hpp>

+ Inheritance diagram for CExtendPartialFeatDlg:
+ Collaboration diagram for CExtendPartialFeatDlg:

Public Member Functions

 CExtendPartialFeatDlg ()
 Constructors. More...
 
 CExtendPartialFeatDlg (wxWindow *parent, IWorkbench *wb, wxWindowID id=10268, const wxString &caption=_("Extend Partial Features"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(900, 500), long style=wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX|wxTAB_TRAVERSAL)
 
bool Create (wxWindow *parent, wxWindowID id=10268, const wxString &caption=_("Extend Partial Features"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(900, 500), long style=wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX|wxTAB_TRAVERSAL)
 Creation. More...
 
 ~CExtendPartialFeatDlg ()
 Destructor. More...
 
void Init ()
 Initialises member variables. More...
 
void CreateControls ()
 Creates the controls and sizers. More...
 
void ProcessUpdateFeatEvent (wxCommandEvent &event)
 
wxBitmap GetBitmapResource (const wxString &name)
 Retrieves bitmap resources. More...
 
wxIcon GetIconResource (const wxString &name)
 Retrieves icon resources. More...
 
virtual CRef< CCmdCompositeGetCommand ()
 
virtual string GetErrorMessage ()
 
void ApplyToAllAndDie ()
 
- Public Member Functions inherited from CBulkCmdDlg
 CBulkCmdDlg ()
 Constructors. More...
 
 CBulkCmdDlg (IWorkbench *wb)
 
bool Create (wxWindow *parent, wxWindowID id, const wxString &title, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxDEFAULT_FRAME_STYLE, const wxString &name=wxFrameNameStr)
 
bool Create (wxWindow *parent, IWorkbench *wb, wxWindowID id, const wxString &title, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxDEFAULT_FRAME_STYLE, const wxString &name=wxFrameNameStr)
 
 ~CBulkCmdDlg ()
 Destructor. More...
 
virtual void OnChildChange (wxWindow *wnd)
 
virtual void ExecuteCmd (CRef< CCmdComposite > cmd)
 
bool GetTopLevelSeqEntryAndProcessor ()
 
TConstScopedObjects GetSelectedObjects ()
 
void UpdateChildrenFeaturePanels (wxSizer *sizer)
 
void onCancelPressed (wxCommandEvent &event)
 

Static Public Member Functions

static bool ShowToolTips ()
 Should we show tooltips? More...
 
static CRef< CCmdCompositeExtendCDS (CSeq_entry_Handle seh)
 

Static Private Member Functions

static bool Is5AtStartOfSeq (const CSeq_loc &loc, CBioseq_Handle bsh)
 
static bool Is3AtEndOfSeq (const CSeq_loc &loc, CBioseq_Handle bsh)
 

Private Attributes

string m_ErrorMessage
 
CFeatureTypePanelm_FeatureType
 
CStringConstraintPanelm_StringConstraintPanel
 
CFieldChoicePanelm_FieldType
 
COkCancelPanelm_OkCancel
 
wxCheckBox * m_Extend5Btn
 
wxCheckBox * m_Extend3Btn
 

Additional Inherited Members

- Protected Member Functions inherited from CBulkCmdDlg
edit::EExistingText x_GetExistingTextHandling (int num_conflicts, bool allow_multiple=false)
 
- Protected Attributes inherited from CBulkCmdDlg
IWorkbenchm_Workbench
 
ICommandProccessorm_CmdProccessor
 
objects::CSeq_entry_Handle m_TopSeqEntry
 
CConstRef< objects::CSeq_submit > m_SeqSubmit
 
string m_ErrorMessage
 

Detailed Description

CBulkEditFeatDlg class declaration

Definition at line 87 of file extend_partial_features.hpp.

Constructor & Destructor Documentation

◆ CExtendPartialFeatDlg() [1/2]

CExtendPartialFeatDlg::CExtendPartialFeatDlg ( )

Constructors.

CExtendPartialFeatDlg type definition

CExtendPartialFeatDlg event table definition

CExtendPartialFeatDlg constructors

Definition at line 81 of file extend_partial_features.cpp.

References Init().

◆ CExtendPartialFeatDlg() [2/2]

CExtendPartialFeatDlg::CExtendPartialFeatDlg ( wxWindow *  parent,
IWorkbench wb,
wxWindowID  id = 10268,
const wxString &  caption = _("Extend Partial Features"),
const wxPoint &  pos = wxDefaultPosition,
const wxSize &  size = wxSize(900, 500),
long  style = wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX|wxTAB_TRAVERSAL 
)

◆ ~CExtendPartialFeatDlg()

CExtendPartialFeatDlg::~CExtendPartialFeatDlg ( )

Destructor.

CExtendPartialFeatDlg destructor

Definition at line 119 of file extend_partial_features.cpp.

Member Function Documentation

◆ ApplyToAllAndDie()

void CExtendPartialFeatDlg::ApplyToAllAndDie ( )

◆ Create()

bool CExtendPartialFeatDlg::Create ( wxWindow *  parent,
wxWindowID  id = 10268,
const wxString &  caption = _("Extend Partial Features"),
const wxPoint &  pos = wxDefaultPosition,
const wxSize &  size = wxSize(900, 500),
long  style = wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX|wxTAB_TRAVERSAL 
)

◆ CreateControls()

void CExtendPartialFeatDlg::CreateControls ( )

◆ ExtendCDS()

CRef< CCmdComposite > CExtendPartialFeatDlg::ExtendCDS ( CSeq_entry_Handle  seh)
static

◆ GetBitmapResource()

wxBitmap CExtendPartialFeatDlg::GetBitmapResource ( const wxString &  name)

Retrieves bitmap resources.

Get bitmap resources

Definition at line 224 of file extend_partial_features.cpp.

◆ GetCommand()

CRef< CCmdComposite > CExtendPartialFeatDlg::GetCommand ( void  )
virtual

◆ GetErrorMessage()

string CExtendPartialFeatDlg::GetErrorMessage ( )
virtual

Implements CBulkCmdDlg.

Definition at line 255 of file extend_partial_features.cpp.

References m_ErrorMessage.

◆ GetIconResource()

wxIcon CExtendPartialFeatDlg::GetIconResource ( const wxString &  name)

Retrieves icon resources.

Get icon resources

Definition at line 237 of file extend_partial_features.cpp.

◆ Init()

void CExtendPartialFeatDlg::Init ( void  )

Initialises member variables.

Member initialisation

Definition at line 130 of file extend_partial_features.cpp.

References m_ErrorMessage, m_Extend3Btn, m_Extend5Btn, m_FeatureType, m_OkCancel, m_StringConstraintPanel, and NULL.

Referenced by CExtendPartialFeatDlg().

◆ Is3AtEndOfSeq()

bool CExtendPartialFeatDlg::Is3AtEndOfSeq ( const CSeq_loc loc,
CBioseq_Handle  bsh 
)
staticprivate

◆ Is5AtStartOfSeq()

bool CExtendPartialFeatDlg::Is5AtStartOfSeq ( const CSeq_loc loc,
CBioseq_Handle  bsh 
)
staticprivate

◆ ProcessUpdateFeatEvent()

void CExtendPartialFeatDlg::ProcessUpdateFeatEvent ( wxCommandEvent &  event)

◆ ShowToolTips()

bool CExtendPartialFeatDlg::ShowToolTips ( )
static

Should we show tooltips?

Should we show tooltips?

Definition at line 215 of file extend_partial_features.cpp.

Member Data Documentation

◆ m_ErrorMessage

string CExtendPartialFeatDlg::m_ErrorMessage
private

Definition at line 128 of file extend_partial_features.hpp.

Referenced by GetErrorMessage(), and Init().

◆ m_Extend3Btn

wxCheckBox* CExtendPartialFeatDlg::m_Extend3Btn
private

Definition at line 134 of file extend_partial_features.hpp.

Referenced by ApplyToAllAndDie(), CreateControls(), GetCommand(), and Init().

◆ m_Extend5Btn

wxCheckBox* CExtendPartialFeatDlg::m_Extend5Btn
private

Definition at line 133 of file extend_partial_features.hpp.

Referenced by ApplyToAllAndDie(), CreateControls(), GetCommand(), and Init().

◆ m_FeatureType

CFeatureTypePanel* CExtendPartialFeatDlg::m_FeatureType
private

◆ m_FieldType

CFieldChoicePanel* CExtendPartialFeatDlg::m_FieldType
private

Definition at line 131 of file extend_partial_features.hpp.

Referenced by CreateControls(), and GetCommand().

◆ m_OkCancel

COkCancelPanel* CExtendPartialFeatDlg::m_OkCancel
private

Definition at line 132 of file extend_partial_features.hpp.

Referenced by CreateControls(), and Init().

◆ m_StringConstraintPanel

CStringConstraintPanel* CExtendPartialFeatDlg::m_StringConstraintPanel
private

Definition at line 130 of file extend_partial_features.hpp.

Referenced by CreateControls(), GetCommand(), and Init().


The documentation for this class was generated from the following files:
Modified on Sun Jul 21 04:13:04 2024 by modify_doxy.py rev. 669887