- Eclipse Plug-in Development:Beginner's Guide(Second Edition)
- Dr Alex Blewitt
- 99字
- 2021-07-14 10:36:35
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.
推薦閱讀
- Web Scraping with Python
- Learning Elixir
- 基于差分進(jìn)化的優(yōu)化方法及應(yīng)用
- HTML5+CSS3網(wǎng)站設(shè)計(jì)教程
- Raspberry Pi 2 Server Essentials
- Hands-On Natural Language Processing with Python
- Python機(jī)器學(xué)習(xí)基礎(chǔ)教程
- 零基礎(chǔ)Java學(xué)習(xí)筆記
- Linux Shell核心編程指南
- Python圖形化編程(微課版)
- Python深度學(xué)習(xí)原理、算法與案例
- Odoo 10 Implementation Cookbook
- 零代碼實(shí)戰(zhàn):企業(yè)級(jí)應(yīng)用搭建與案例詳解
- Python一行流:像專家一樣寫代碼
- 數(shù)據(jù)分析與挖掘算法:Python實(shí)戰(zhàn)