MPbk2ContactEditorExtension Class Reference

class MPbk2ContactEditorExtension : public MPbk2UiReleasable

Phonebook 2 contact editor UI extension interface.

Inherits from

Member Functions Documentation

ContactEditorExtensionExtension(TUid)

TAny *ContactEditorExtensionExtension(TUid)[inline, virtual]

Returns an extension point for this interface or NULL.

Parameters

TUid

CreateEditorFieldL(MVPbkStoreContactField &, const MPbk2FieldProperty &, MPbk2ContactEditorUiBuilder &, CPbk2IconInfoContainer &)

MPbk2ContactEditorField *CreateEditorFieldL(MVPbkStoreContactField &aContactField,
const MPbk2FieldProperty &aFieldProperty,
MPbk2ContactEditorUiBuilder &aUiBuilder,
CPbk2IconInfoContainer &aIconInfoContainer
)[pure virtual]

Creates a new contact editor field.

Parameters

MVPbkStoreContactField & aContactField
const MPbk2FieldProperty & aFieldPropertyField property.
MPbk2ContactEditorUiBuilder & aUiBuilderBuilder for adding the field into dialog.
CPbk2IconInfoContainer & aIconInfoContainerIcon container for setting the icon.

DynInitMenuPaneL(TInt, CEikMenuPane *)

voidDynInitMenuPaneL(TIntaResourceId,
CEikMenuPane *aMenuPane
)[pure virtual]

Filters the menu pane of the Phonebook 2 contact editor.

Parameters

TInt aResourceIdMenu resource id.
CEikMenuPane * aMenuPaneMenu pane which will be filtered.

ModifyButtonGroupContainerL(CEikButtonGroupContainer &)

voidModifyButtonGroupContainerL(CEikButtonGroupContainer &aButtonGroupContainer)[pure virtual]

For modifying a dialog's button group. Called before dialog have been activated.

Parameters

CEikButtonGroupContainer & aButtonGroupContainerDialog's button group container.

OkToDeleteContactL(MPbk2ContactEditorEventObserver::TParams &)

TBool OkToDeleteContactL(MPbk2ContactEditorEventObserver::TParams &aParams)[pure virtual]

For adding additional functionality before deleting the contact and exiting editor.

Parameters

MPbk2ContactEditorEventObserver::TParams & aParamsEvent parameters.

OkToSaveContactL(MPbk2ContactEditorEventObserver::TParams &)

TBool OkToSaveContactL(MPbk2ContactEditorEventObserver::TParams &aParams)[pure virtual]

For adding additional functionality before saving the contact and exiting editor.

Parameters

MPbk2ContactEditorEventObserver::TParams & aParamsEvent parameters.

ProcessCommandL(TInt)

TBool ProcessCommandL(TIntaCommandId)[pure virtual]

Processes extension commands.

Parameters

TInt aCommandIdCommand id.