Adobe 29180248 User Guide - Page 37

menu-remove, menubar, with the user language, which is determined by the process outlined

Page 37 highlights

Example menu-remove Description Provides information about a menu bar, menu, menu item, or format to remove during installation of this extension. Note: If the user removes an installed extension, the menus, menu items, and formats that were removed when that extension was installed are not restored. Attributes id, {xml:lang} id The menu ID of the item to be removed. Menu bars and menus are not removed unless they're empty. To find the menu ID of an item in a Dreamweaver menu, look for the item in the menus.xml files. (To find the menu ID of a format, look for the item in the Formats.xml files.) xml:lang Specifies the language for the listed file. Extension Manager compares this language with the user language, which is determined by the process outlined in defaultLanguage on page 12. If the languages match, configuration changes are applied; if not, they are ignored. If Extension Manager can't determine the user language, it applies all configuration changes regardless of their specified language. For more information, see Creating multilingual extension packages (version 2.1 and later) on page 54. Contents None. Container This tag must be contained in a configuration-changes, server-behavior-changes, server-format-changes, server-format-definition-changes, or data-source-changes tag. Example menubar Description Provides information about a menu bar to be inserted into the application's menu structure during installation of this extension. Attributes name, id, {platform} name The name of the menu bar to insert. MXI tag descriptions 37

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66

MXI tag descriptions
37
Example
<menu-insert insertAfter = "DWMenu_Commands_SortTable" skipSeparator = "true">
<!-- menu, menuitem (or format), separator, and comment tags here -->
</menu-insert>
menu-remove
Description
Provides information about a menu bar, menu, menu item, or format to remove during
installation of this extension.
Note:
If the user removes an installed extension, the menus, menu items, and formats that were removed when that
extension was installed are not restored.
Attributes
id, {xml:lang}
id
The menu ID of the item to be removed. Menu bars and menus are not removed unless
they’re empty. To find the menu ID of an item in a Dreamweaver menu, look for the item in the
menus.xml files. (To find the menu ID of a format, look for the item in the Formats.xml files.)
xml:lang
Specifies the language for the listed file. Extension Manager compares this language
with the user language, which is determined by the process outlined in
defaultLanguage
on
page
12
. If the languages match, configuration changes are applied; if not, they are ignored. If
Extension Manager can't determine the user language, it applies all configuration changes
regardless of their specified language.
For more information, see
Creating multilingual extension packages (version 2.1 and
later)
on
page
54
.
Contents
None.
Container
This tag must be contained in a
configuration-changes
,
server-behavior-changes
,
server-format-changes
,
server-format-definition-changes
, or
data-source-changes
tag.
Example
<menu-remove id = "DWMenu_Commands_FrobSquigger-beta" />
menubar
Description
Provides information about a menu bar to be inserted into the application’s menu structure
during installation of this extension.
Attributes
name
,
id
,
{platform}
name
The name of the menu bar to insert.