1 #ifndef GUI_WIDGETS_WORKSPACE___WM_CLIENT_HPP
2 #define GUI_WIDGETS_WORKSPACE___WM_CLIENT_HPP
68 string AsPersistentString()
const;
69 void FromPersistentString(
const string& s);
71 const string GetId()
const;
119 virtual bool IsAForm()
const {
return false; }
140 wxWindow* parent) = 0;
class CRgbaColor provides a simple abstraction for managing colors.
IWMClientFactory - IWMClient factory.
IWMClient::CFingerprint TFingerprint
virtual IWMClient * CreateClient(const TFingerprint &fingerprint, wxWindow *parent)=0
creates a client by fingerprint returns NULL if fingerprint is not recognized.
virtual ~IWMClientFactory()
CFingerprint identifies an instance of IWMClient and is used for labeling layout positions.
IWClient - abstract Window Manager client.
virtual wxWindow * GetWindow()=0
returns a pointer to the wxWindow representing the client
ELabel
Different flavors of label types for different GUI aspects.
@ eDetailed
Detailed name.
@ eContent
Short name with content.
@ eTypeAndContent
Short name with content and type.
virtual void SetFingerprint(const string &)
virtual const CRgbaColor * GetColor() const =0
returns a color associated with the client, n/a if NULL
virtual wxEvtHandler * GetCommandHandler()=0
returns a pointer to the command handler (for menu commands and updates)
virtual CFingerprint GetFingerprint() const =0
returns a fingerprint identifying the client
virtual void SetColor(const CRgbaColor &color)=0
returns a color associated with the client
virtual string GetClientLabel(IWMClient::ELabel ltype=IWMClient::eDefault) const =0
returns the client label (name) to be displayed in UI
virtual bool IsADialog() const
returns true if client is a non-modal dioalog
virtual bool IsAForm() const
returns true if client is a Form - wants to be sized to its client area (like a dialog)
virtual string GetIconAlias() const =0
returns an icon alias that can be used to retrieve the client's icon
Include a standard set of the NCBI C++ Toolkit most basic headers.
bool operator==(const CEquivRange &A, const CEquivRange &B)
const CSeq_id & GetId(const CSeq_loc &loc, CScope *scope)
If all CSeq_ids embedded in CSeq_loc refer to the same CBioseq, returns the first CSeq_id found,...
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
#define NCBI_GUIWIDGETS_WX_EXPORT
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