diff options
author | Maxim Monastirsky <momonasmon@gmail.com> | 2016-02-26 12:47:43 +0200 |
---|---|---|
committer | Maxim Monastirsky <momonasmon@gmail.com> | 2016-02-28 09:10:30 +0200 |
commit | 010b034cd6195c96a21633c328e9693275d27d72 (patch) | |
tree | 5a9cb79e5c68edee741b4dcc79d0fd3ccb240aa0 /sd/uiconfig/sdraw/popupmenu/measure.xml | |
parent | 7affe26a1291eef8c77e890228061f13e987bff1 (diff) |
tdf#84258 Allow creation of command aliases
We already can use different labels for commands, based on
whether they're in a menu, context menu or a toolbar. But in
some cases we need different labels for the same type of UI
element, or even different icons.
One example is page/slide commands in Draw/Impress, as they
share same commands, but need different icons/labels.
Creating full-fledged duplicate slots just to satisfy the
need of UI representation seems like overkill, and isn't
flexible enough.
The proposed solution is to allow creation of command entries,
that do not correspond to real application slots, but instead
link to another existing commands. The "real" commands will be
used for controller factory and dispatch (execute/status) APIs,
thus fully retaining functionality.
This can be useful also for giving icons to complex commands
(i.e. commands with arguments).
Change-Id: I9b261b406ec8fc781cae06cf283963386379d4ad
Diffstat (limited to 'sd/uiconfig/sdraw/popupmenu/measure.xml')
0 files changed, 0 insertions, 0 deletions