|
| | SnipRunParameterUtils (IPMUnknown *boss) |
| |
| virtual | ~SnipRunParameterUtils () |
| |
| virtual PMString | GetPMString (const PMString &prompt, const PMString &defaultValue="") const |
| |
| virtual int32 | GetInt32 (const PMString &prompt, const int32 defaultValue=0, const int32 lowerLimit=0, const int32 upperLimit=0) const |
| |
| virtual PMReal | GetPMReal (const PMString &prompt, const PMReal &defaultValue=0, const PMReal &lowerLimit=0, const PMReal &upperLimit=0) const |
| |
| virtual int32 | GetChoice (const PMString &prompt, const K2Vector< PMString > &choices, const int32 defaultChoiceIndex=0) const |
| |
| virtual bool16 | WasDialogCancelled () const |
| |
| virtual void | EnableDialog (const bool16 enable) |
| |
| virtual bool16 | IsDialogEnabled () const |
| |
| virtual void | EnableTranslation (const bool16 enable) |
| |
| virtual bool16 | IsTranslationEnabled () const |
| |
| virtual void | SetParameters (const PMString ¶ms) |
| |
| virtual PMString | GetParameters () |
| |
| IPMUnknown * | QueryInterface (PMIID interfaceID) const |
| |
| void | AddRef () const |
| |
| void | Release () const |
| |
| void | PreDirty (ImplementationID prop=kInvalidImpl, bool16 allowModification=kTrue) |
| |
| void | PreDirtyNoMessage (ImplementationID prop=kInvalidImpl, bool16 allowModification=kTrue) |
| |
| | CPMUnknown (const CPMUnknown &)=delete |
| |
| CPMUnknown & | operator= (const CPMUnknown &)=delete |
| |
Implements ISnipRunParameterUtils. Parameter gathering has three modes:
- Interactive; the user is prompted for parameter values via dialog as the code snippet runs. The values entered by the user are recorded and made available to the SnippetRunner user interface in its parameter edit box widget.
- Non-interactive; the user is not prompted for parameter values, instead parameter values are parsed from a CSV string supplied by client code. (the parameters in the parameter edit box widget in the SnippetRunner user interface are passed in).
- Default; the default parameter values specified by code snippets are used.
- See Also
- ISnipRunParameterUtils