the path specifying the menu to return. If not given the empty path will be used.
the root menu when menuPath
is empty. If menuPath
is not empty the specified menu is
returned if it exists, otherwise an error is thrown.
Adds the given menu node to the menu denoted by the given path.
a disposable which, when called, will remove the menu node again.
Unregister all menu nodes with the same id as the given menu action.
the item whose id will be used.
if specified only nodes within the path will be unregistered.
Unregister all menu nodes with the same id as the given command.
the command whose id will be used.
if specified only nodes within the path will be unregistered.
Unregister all menu nodes with the given id.
the id which shall be removed.
if specified only nodes within the path will be unregistered.
Recurse all menus, removing any menus matching the id
.
technical identifier of the MenuNode
.
Returns the menu at the given path.