Searched refs:fileContextMenu (Results 1 – 13 of 13) sorted by relevance
/ohos5.0/docs/zh-cn/release-notes/changelogs/OpenHarmony_4.1.6.3/ |
H A D | changelogs-bundlemanager.md | 3 ## cl.bundlemanager.1 HapModuleInfo中fileContextMenu字段变更 15 该变更为不兼容变更,使用到该字段的应用需要将fileContextMenu修改为fileContextMenuConfig。仅字段名称发生改变,字段含义、用法不变。 27 HapModuleInfo中fileContextMenu字段修改为fileContextMenuConfig。 31 使用到该字段的应用需要将fileContextMenu修改为fileContextMenuConfig。
|
/ohos5.0/docs/en/release-notes/changelogs/OpenHarmony_4.1.6.3/ |
H A D | changelogs-bundlemanager.md | 3 ## cl.bundlemanager.1 Field fileContextMenu Changed in HapModuleInfo 15 This change is an incompatible change. You need to change **fileContextMenu** in your code to **fil… 27 The **fileContextMenu** field in **HapModuleInfo** is changed to **fileContextMenuConfig**. 31 If used, change **fileContextMenu** in your code to **fileContextMenuConfig**.
|
/ohos5.0/docs/zh-cn/application-dev/quick-start/ |
H A D | module-configuration-file.md | 100 "fileContextMenu": "$profile:menu" 141 | fileContextMenu | 标识当前HAP的右键菜单配置项。取值为长度不超过255字节的字符串。 | 字符串 | 该标签可缺省,缺省值为空。 | 1104 ## fileContextMenu标签 1108 fileContextMenu标签示例 1114 "fileContextMenu": "$profile:menu" // 通过profile下的资源文件配置 1119 在开发视图的resources/base/profile下面定义配置文件menu.json,其中文件名“menu.json”可自定义,需要和fileContextMenu标签指定的信息对应。配置文件… 1120 配置文件根节点名称为fileContextMenu,为对象数组,标识当前module注册右键菜单的数量。(单模块和单应用注册数量不能超过5个,配置超过数量当前只解析随机5个) 1122 **表26** fileContextMenu标签配置说明 1143 "fileContextMenu": [
|
/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_base/include/ |
H A D | hap_module_info.h | 176 std::string fileContextMenu; member
|
/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_base/src/ |
H A D | hap_module_info.cpp | 651 fileContextMenu = Str16ToStr8(parcel.ReadString16()); in ReadFromParcel() 791 WRITE_PARCEL_AND_RETURN_FALSE_IF_FAIL(String16, parcel, Str8ToStr16(fileContextMenu)); in Marshalling() 859 {HAP_MODULE_INFO_FILE_CONTEXT_MENU, hapModuleInfo.fileContextMenu}, in to_json() 1283 hapModuleInfo.fileContextMenu, in from_json()
|
/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/kits/cj/src/ |
H A D | bundle_manager_convert.cpp | 379 if (!hapModuleInfo.fileContextMenu.empty()) { in ConvertHapModuleInfo() 380 hapInfo.fileContextMenuConfig = MallocCString(hapModuleInfo.fileContextMenu); in ConvertHapModuleInfo()
|
/ohos5.0/docs/en/application-dev/quick-start/ |
H A D | module-configuration-file.md | 100 "fileContextMenu": "$profile:menu" 141 | fileContextMenu | Context menu of the current HAP. The value is a string with a maximum of 255 by… 1104 ## fileContextMenu section 1106 The **fileContextMenu** tag provides configuration options for the context menu (displayed upon rig… 1108 Example of the **fileContextMenu** structure: 1114 "fileContextMenu": "$profile:menu" // Configured through the resource file in the profile 1119 …ized, but must be consistent with the information specified by the **fileContextMenu** tag. The fi… 1120 The root node of the file is **fileContextMenu**, which is an object array and indicates the number… 1122 **Table 26** fileContextMenu 1143 "fileContextMenu": [
|
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/ |
H A D | module_profile.cpp | 283 std::string fileContextMenu; member 1617 module.fileContextMenu, in from_json() 2465 innerModuleInfo.fileContextMenu = moduleJson.module.fileContextMenu; in ToInnerModuleInfo()
|
H A D | inner_bundle_info.cpp | 438 {MODULE_FILE_CONTEXT_MENU, info.fileContextMenu}, in to_json() 980 info.fileContextMenu, in from_json() 1653 hapInfo.fileContextMenu = it->second.fileContextMenu; in FindHapModuleInfo()
|
H A D | bundle_data_mgr.cpp | 2762 hapModuleInfo.fileContextMenu = Constants::EMPTY_STRING; in ProcessBundleMenu() 2768 std::string menuProfile = hapModuleInfo.fileContextMenu; in ProcessBundleMenu() 2779 hapModuleInfo.fileContextMenu = menuProfileContent; in ProcessBundleMenu()
|
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_manager_test/ |
H A D | bms_bundle_manager_test.cpp | 5699 auto pos = info.hapModuleInfos[0].fileContextMenu.find(MENU_VALUE); 5746 EXPECT_TRUE(info.hapModuleInfos[0].fileContextMenu.empty()); 5771 auto pos = infos[0].hapModuleInfos[0].fileContextMenu.find(MENU_VALUE); 5817 EXPECT_TRUE(infos[0].hapModuleInfos[0].fileContextMenu.empty());
|
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/ |
H A D | inner_bundle_info.h | 133 std::string fileContextMenu; member
|
/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/kits/js/common/ |
H A D | common_func.cpp | 1758 if (!hapModuleInfo.fileContextMenu.empty()) { in ConvertHapModuleInfo() 1761 …env, napi_create_string_utf8(env, hapModuleInfo.fileContextMenu.c_str(), NAPI_AUTO_LENGTH, &nMenu)… in ConvertHapModuleInfo()
|