46 : uiIOSelect::Setup(seltext)
47 , confirmoverwr_(true)
48 , withinserters_(true)
49 , withwriteopts_(true)
63 void setInput(
const IOObj&);
65 virtual void setEmpty();
67 MultiID key(
bool noerr=
false)
const;
68 const IOObj* ioobj(
bool noerr=
false)
const;
69 IOObj* getIOObj(
bool noerr=
false);
78 { setup_.confirmoverwr_ = yn; }
81 virtual void updateInput();
82 virtual void processInput();
83 virtual bool existingTyped()
const 85 {
return existingUsrName(getInput()); }
89 virtual MultiID validKey()
const;
111 virtual const char* userNameFromKey(
const char*)
const;
112 virtual void objSel();
115 virtual void fillDefault();
118 virtual IOObj* createEntry(
const char*);
120 bool existingUsrName(
const char*)
const;
121 void doCommit(
bool)
const;
145 bool doCommitInput(
bool&);
147 {
return work ? workctio_ : inctio_; }
152 #define mWriteIOObjContext(clss) \ 153 uiIOObjSel::getWriteIOObjCtxt(mIOObjContext(clss)) 154 #define mRWIOObjContext(clss,forread) \ 155 (forread ? mIOObjContext(clss) : mWriteIOObjContext(clss)) #define mExpClass(module)
Definition: commondefs.h:160
To be able to send and/or receive CallBacks, inherit from this class.
Definition: callback.h:272
Definition: uiioobjsel.h:42
#define mODTextTranslationClass(clss)
Definition: uistring.h:38
Dialog letting the user select an object. It returns an IOObj* after successful go().
Definition: uiioobjseldlg.h:22
virtual void newSelection(uiIOObjRetDlg *)
Definition: uiioobjsel.h:116
void usePar(const IOPar &iop, ODPolygon< T > &poly, const char *inpkey)
Definition: polygon.h:188
Setup(const uiString &seltext=uiString::emptyString())
Definition: uiioobjsel.h:45
Definition: i_layout.h:28
static const uiString & emptyString()
Definition: uistring.h:109
The base class for most UI elements.
Definition: uiobj.h:38
virtual void commitSucceeded()
Definition: uiioobjsel.h:113
Definition: uistring.h:89
CtxtIOObj & ctxtIOObj(bool work=false)
Definition: uiioobjsel.h:146
Definition: uiparent.h:26
Definition: helpview.h:49
Holds an IOObjCtxt plus a pointer to an IOObj and/or an IOPar.
Definition: ctxtioobj.h:142
HelpKey helpkey_
Definition: uiioobjsel.h:101
uiIOObjSelWriteTranslator * wrtrselfld_
Definition: uiioobjsel.h:96
Generalized set of parameters of the keyword-value type.
Definition: iopar.h:47
CtxtIOObj & inctio_
Definition: uiioobjsel.h:98
inserts a new object into the OD data store.
Definition: uiioobjinserter.h:31
bool inctiomine_
Definition: uiioobjsel.h:102
#define mDefSetupMemb(typ, memb)
Definition: commondefs.h:137
User Interface (UI) element for selection of IOObjs.
Definition: uiioobjsel.h:38
void fillPar(IOPar &iop, const ODPolygon< T > &poly, const char *inpkey)
Definition: polygon.h:175
void setConfirmOverwrite(bool yn)
Definition: uiioobjsel.h:77
ObjectSet< uiIOObjInserter > inserters_
Definition: uiioobjsel.h:103
Group for selecting output translator.
Definition: uiioobjselwritetransl.h:80
Setup setup_
Definition: uiioobjsel.h:100
CtxtIOObj & workctio_
Definition: uiioobjsel.h:99
void setHelpKey(const HelpKey &helpkey)
Definition: uiioobjsel.h:79
UI element for selection of data objects.
Definition: uiiosel.h:30
Compound key consisting of ints.
Definition: multiid.h:25
Holds the context for selecting and/or creating IOObjs.
Definition: ctxtioobj.h:62