    public void onClickEvent(OwObject oObject_p, OwObject oParent_p, OwClientRefreshContext refreshCtx_p) throws Exception 
    {
        if ( ! isEnabled(oObject_p,oParent_p,OwStatusContextDefinitions.STATUS_CONTEXT_CORRECT_STATUS) )
            throw new OwInvalidOperationException(getContext().localize("plug.owdms.OwDocumentFunctionCheckin.invalidobject","Das Objekt kann nicht eingecheckt werden."));
        
    // === get view properties from plugindescriptor
        int iViewMask = 0;
        iViewMask |= OwConfigUtils.computeViewMaskFromConfig(getConfigNode(),"MultipleFileUpload",OwCheckInDialog.VIEW_PROPERTY_ENABLE_MULTIPLE_FILE_UPLOAD);
        iViewMask |= (oObject_p.canChangeClass() ? OwConfigUtils.computeViewMaskFromConfig(getConfigNode(),"ObjectClassView",OwCheckInDialog.VIEW_PROPERTY_CLASS_VIEW) : 0);
        iViewMask |= OwCheckInDialog.VIEW_PROPERTY_LOCAL_FILE_OPTION;
        iViewMask |= OwCheckInDialog.VIEW_PROPERTY_NO_FILE_OPTION;
        iViewMask |= OwCheckInDialog.VIEW_PROPERTY_EXTERNAL_FILE_OPTION;
        
    // === create a checkin dialog
        OwCheckInDialog dlg = new OwCheckInDialog(oObject_p);
        
        dlg.setViewMask(iViewMask);
        
        // set help path if defined in plugindescriptor
        dlg.setHelp(getHelpPath());
        dlg.setTitle(getDefaultLabel());
        
        // set info icon
        dlg.setInfoIcon(getBigIcon());
        
        dlg.setRefreshContext(refreshCtx_p);
        
        getContext().openDialog(dlg,null);
        
        // historize
        addHistoryEvent(oObject_p,oParent_p,OwEventManager.HISTORY_EVENT_TYPE_PLUGIN_INVOKE_EDIT,OwEventManager.HISTORY_STATUS_OK);
    }