官术网_书友最值得收藏!

Creating menus, commands, and handlers

In Eclipse, menus can be used to trigger user actions. These menus can be displayed at the top of the application window (or top of the screen on macOS). Menus can also be associated with a view through a contextual popup using the right mouse button.

A menu can be associated with a command, which represents a generic operation. The command is then dynamically associated with a handler, which is the code that executes the operation. This allows a generic operation (such as copy) to be executed by different handlers depending on the context.

主站蜘蛛池模板: 永登县| 罗平县| 保德县| 金川县| 高陵县| 花莲县| 塘沽区| 满城县| 阳朔县| 登封市| 普兰店市| 安泽县| 阳西县| 霞浦县| 民县| 吴堡县| 焦作市| 称多县| 渝中区| 察隅县| 石家庄市| 黄陵县| 北票市| 七台河市| 平湖市| 呼伦贝尔市| 云安县| 井研县| 马山县| 抚顺市| 都兰县| 通海县| 凭祥市| 华池县| 滕州市| 青铜峡市| 磐安县| 张家港市| 尚义县| 舒城县| 仙居县|