parent = wxTheApp->GetTopWindow();
75 boolres = wxFrame::Create(parent,
id, title, pos,
size, style, name);
76wxVisualAttributes attr = wxPanel::GetClassDefaultAttributes();
77 if(attr.colBg != wxNullColour)
78SetOwnBackgroundColour(attr.colBg);
82 bool CBulkCmdDlg::Create(wxWindow *parent,
IWorkbench* wb, wxWindowID
id,
constwxString &title,
constwxPoint &pos,
constwxSize &
size,
longstyle,
constwxString &name)
87parent = wxTheApp->GetTopWindow();
89 returnwxFrame::Create(parent,
id, title, pos,
size, style, name);
106 if(!sel_srv)
return false;
107sel_srv->GetActiveObjects(
objects);
130 if(!ws)
return false;
155sel_srv->GetActiveObjects(sel_objects);
157 if(sel_objects.empty())
166wxSizerItemList& slist = sizer->GetChildren();
168 for(wxSizerItemList::iterator iter = slist.begin(); iter != slist.end(); ++iter, ++
n) {
169 if((*iter)->IsSizer()) {
171}
else if((*iter)->IsWindow()) {
172wxWindow* child = (*iter)->GetWindow();
179wxSizer* subsizer = child->GetSizer();
195 if(num_conflicts > 0) {
198wxYES_NO | wxCANCEL | wxICON_QUESTION,
this);
199 if(answer == wxCANCEL) {
201}
else if(answer == wxYES) {
206 if(dlg.ShowModal() == wxID_OK) {
215 returnexisting_text;
221 if(
orig.GetWidth() < add.GetWidth() + borders) {
222 orig.SetWidth(add.GetWidth() + borders);
224 orig.SetHeight(
orig.GetHeight() + add.GetHeight() + borders);
User-defined methods of the data storage class.
User-defined methods of the data storage class.
void AddSize(wxSize &orig, const wxSize &add, int borders)
USING_SCOPE(ncbi::objects)
TConstScopedObjects GetSelectedObjects()
virtual void ExecuteCmd(CRef< CCmdComposite > cmd)
void onCancelPressed(wxCommandEvent &event)
CConstRef< objects::CSeq_submit > m_SeqSubmit
objects::CSeq_entry_Handle m_TopSeqEntry
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 GetTopLevelSeqEntryAndProcessor()
ICommandProccessor * m_CmdProccessor
void UpdateChildrenFeaturePanels(wxSizer *sizer)
edit::EExistingText x_GetExistingTextHandling(int num_conflicts, bool allow_multiple=false)
objects::edit::EExistingText GetExistingTextHandler()
void AllowAdditionalQual(bool val)
void ListPresentFeaturesFirst(const objects::CSeq_entry_Handle &entry, vector< const objects::CFeatListItem * > *featlist=nullptr)
CUndoManager & GetUndoManager()
CProjectService - a service providing API for operations with Workspaces and Projects.
virtual void Execute(IEditCommand *command, wxWindow *window=0)=0
IWorkbench is the central interface in the application framework.
#define NON_CONST_ITERATE(Type, Var, Cont)
Non constant version of ITERATE macro.
CIRef< T > GetServiceByType()
retrieves a typed reference to a service, the name of C++ type is used as the name of the service.
objects::CSeq_entry_Handle GetTopSeqEntryFromScopedObject(SConstScopedObject &obj)
vector< SConstScopedObject > TConstScopedObjects
void Reset(void)
Reset reference object.
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
static enable_if< is_arithmetic< TNumeric >::value||is_convertible< TNumeric, Int8 >::value, string >::type NumericToString(TNumeric value, TNumToStringFlags flags=0, int base=10)
Convert numeric value to string.
where boath are integers</td > n< td ></td > n</tr > n< tr > n< td > tse</td > n< td > optional</td > n< td > String</td > n< td class=\"description\"> TSE option controls what blob is orig
void GetViewObjects(IWorkbench *workbench, TConstScopedObjects &objects)
const struct ncbi::grid::netcache::search::fields::SIZE size
static SLJIT_INLINE sljit_ins msg(sljit_gpr r, sljit_s32 d, sljit_gpr x, sljit_gpr b)
@ eExistingText_replace_old
wxString ToWxString(const string &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