public void getImageAttributes(Map<String, String> attributes, I_CmsSimpleCallback<Map<String, String>> callback) {

        if (getGalleryMode() == GalleryMode.editor) {
            m_imageEditorFormatsTab.getImageAttributes(attributes);
            m_imageAdvancedTab.getImageAttributes(attributes, callback);
        } else {
            callback.execute(attributes);
        }
    }
public void getImageAttributes ( Map < String , String > attributes , I_CmsSimpleCallback < Map < String , String > > callback ) { if ( getGalleryMode ( ) == GalleryMode . editor ) { m_imageEditorFormatsTab . getImageAttributes ( attributes ) ; m_imageAdvancedTab . getImageAttributes ( attributes , callback ) ; } else { callback . execute ( attributes ) ; } }
Adds necessary attributes to the map.<p>

@param attributes the attribute map
@param callback the callback to execute