public void showElementInfo(final CmsContainerPageElementPanel element) {

        CmsUUID structureId;
        if (element.isModelGroup() && !element.getModelGroupId().isNullUUID()) {
            structureId = element.getModelGroupId();
        } else {
            structureId = element.getStructureId();
        }
        I_CmsDropContainer dropContainer = element.getParentTarget();
        Map<String, String> contextParams = new HashMap<>();
        if (dropContainer instanceof CmsContainerPageContainer) {
            CmsContainerPageContainer cnt = (CmsContainerPageContainer)dropContainer;
            String containerId = cnt.getContainerId();
            String elemId = element.getId();
            contextParams.put(CmsGwtConstants.ATTR_ELEMENT_ID, elemId);
            contextParams.put(CmsGwtConstants.ATTR_CONTAINER_ID, containerId);
            String pageRootPath = CmsStringUtil.joinPaths(
                CmsCoreProvider.get().getSiteRoot(),
                CmsCoreProvider.get().getUri());
            contextParams.put(CmsGwtConstants.ATTR_PAGE_ROOT_PATH, pageRootPath);
        }
        CmsResourceInfoDialog.load(structureId, true, null, contextParams, new CloseHandler<PopupPanel>() {

            public void onClose(CloseEvent<PopupPanel> event) {

                reloadElements(element.getId());
            }
        });
    }
public void showElementInfo ( final CmsContainerPageElementPanel element ) { CmsUUID structureId ; if ( element . isModelGroup ( ) && ! element . getModelGroupId ( ) . isNullUUID ( ) ) { structureId = element . getModelGroupId ( ) ; } else { structureId = element . getStructureId ( ) ; } I_CmsDropContainer dropContainer = element . getParentTarget ( ) ; Map < String , String > contextParams = new HashMap < > ( ) ; if ( dropContainer instanceof CmsContainerPageContainer ) { CmsContainerPageContainer cnt = ( CmsContainerPageContainer ) dropContainer ; String containerId = cnt . getContainerId ( ) ; String elemId = element . getId ( ) ; contextParams . put ( CmsGwtConstants . ATTR_ELEMENT_ID , elemId ) ; contextParams . put ( CmsGwtConstants . ATTR_CONTAINER_ID , containerId ) ; String pageRootPath = CmsStringUtil . joinPaths ( CmsCoreProvider . get ( ) . getSiteRoot ( ) , CmsCoreProvider . get ( ) . getUri ( ) ) ; contextParams . put ( CmsGwtConstants . ATTR_PAGE_ROOT_PATH , pageRootPath ) ; } CmsResourceInfoDialog . load ( structureId , true , null , contextParams , new CloseHandler < PopupPanel > ( ) { public void onClose ( CloseEvent < PopupPanel > event ) { reloadElements ( element . getId ( ) ) ; } } ) ; }
Shows resource information for a given element.<p>

@param element the element for which to show the information