Use Eclipse 3.x Element Identifiers

Use Eclipse 3.x Element Identifiers

We recommend that, where possible, you use elementIds that correspond to equivalent concepts in Eclipse 3.x. Certain Eclipse 4 addons will make use of these identifiers, such as the Eclipse 4 UI Cocoa Support (found in bundleorg.eclipse.e4.ui.workbench.renderers.swt.cocoa).

The following list of known identifiers is not meant to be exhaustive:

  • Commands identifiers:
    • Save: org.eclipse.ui.file.save
    • Save All: org.eclipse.ui.file.saveAll
    • Undo: org.eclipse.ui.edit.undo
    • Redo: org.eclipse.ui.edit.redo
    • Cut: org.eclipse.ui.edit.cut
    • Copy: org.eclipse.ui.edit.copy
    • Paste: org.eclipse.ui.edit.paste
    • Delete: org.eclipse.ui.edit.delete
    • Import: org.eclipse.ui.file.import
    • Export: org.eclipse.ui.file.export
    • Select All: org.eclipse.ui.edit.selectAll
    • About: org.eclipse.ui.help.aboutAction
    • Preferences: org.eclipse.ui.window.preferences
    • Exit: org.eclipse.ui.file.exit
  • Menu identifiers:
    • Top-level menu bar: menu:org.eclipse.ui.main.menu
    • All popup menus: popup:org.eclipse.ui.popup.any
  • ToolBar identifiers
    • Top-level ToolBar: toolbar:org.eclipse.ui.main.toolbar
    • Top-left trim area (main toolbar area): toolbar:org.eclipse.ui.trim.command1
    • Top-right trim area (perspective switcher area): toolbar:org.eclipse.ui.trim.command2 // the top right trim (perspective switcher area)
    • Left vertical trim: toolbar:org.eclipse.ui.trim.vertical1
    • Right vertical trim: toolbar:org.eclipse.ui.trim.vertical2
    • Status-line trim: toolbar:org.eclipse.ui.trim.status

转载于:https://my.oschina.net/u/1433826/blog/728040

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值