[整理]Eclipse RCP 开发--预定义的Command。-------Eclipse RCP Command Framework -- Predefined Commands。 |
上一篇:[整理]Eclipse RCP Plugin 开发,如何使剪切、复制、粘贴、删除、全选等快捷键可用。 下一篇:[备忘]SQL Server的事务隔离级别及hibernate使用noLock的方法 |
添加日期:2011/4/2 11:18:20 |
快速返回 返回列表 |
阅读5824次 |
下面是内置的一些Command的ID列表,ID没有常量可以用,自己定义吧。
Name ID ===================== ------------------------------------------------- Category File org.eclipse.ui.category.file ------------------------------------------------- New org.eclipse.ui.newWizard Close org.eclipse.ui.file.close Close All org.eclipse.ui.file.closeAll Import org.eclipse.ui.file.import Export org.eclipse.ui.file.export Save org.eclipse.ui.file.save Save As org.eclipse.ui.file.saveAs Save All org.eclipse.ui.file.saveAll Print org.eclipse.ui.file.print Revert org.eclipse.ui.file.revert Restart org.eclipse.ui.file.restartWorkbench Refresh org.eclipse.ui.file.refresh Properties org.eclipse.ui.file.properties Exit org.eclipse.ui.file.exit Move... org.eclipse.ui.edit.move Rename org.eclipse.ui.edit.rename Close Others org.eclipse.ui.file.closeOthers
----------------------------------------------- Category Edit org.eclipse.ui.category.edit ----------------------------------------------- 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 Content Assist org.eclipse.ui.edit.text.contentAssist.proposals Context Information org.eclipse.ui.edit.text.contentAssist.contextInformation Select All org.eclipse.ui.edit.selectAll Find and Replace org.eclipse.ui.edit.findReplace Add Bookmark org.eclipse.ui.edit.addBookmark
----------------------------------------------- Category Navigate org.eclipse.ui.category.navigate ----------------------------------------------- Go Into org.eclipse.ui.navigate.goInto Back org.eclipse.ui.navigate.back Forward org.eclipse.ui.navigate.forward Up org.eclipse.ui.navigate.up Next org.eclipse.ui.navigate.next Backward History org.eclipse.ui.navigate.backwardHistory Forward History org.eclipse.ui.navigate.forwardHistory Previous org.eclipse.ui.navigate.previous Toggle Link with Editor org.eclipse.ui.navigate.linkWithEditor Next Page org.eclipse.ui.part.nextPage Previous Page org.eclipse.ui.part.previousPage Collapse All org.eclipse.ui.navigate.collapseAll Show In org.eclipse.ui.navigate.showIn
----------------------------------------------- Category Window org.eclipse.ui.category.window ----------------------------------------------- New Window org.eclipse.ui.window.newWindow New Editor org.eclipse.ui.window.newEditor Quick Switch Editor org.eclipse.ui.window.openEditorDropDown Quick Access org.eclipse.ui.window.quickAccess Switch to Editor org.eclipse.ui.window.switchToEditor Show System Menu org.eclipse.ui.window.showSystemMenu Show View Menu org.eclipse.ui.window.showViewMenu Activate Editor org.eclipse.ui.window.activateEditor Maximize Active View or Editor org.eclipse.ui.window.maximizePart Minimize Active View or Editor org.eclipse.ui.window.minimizePart Next Editor org.eclipse.ui.window.nextEditor Previous Editor org.eclipse.ui.window.previousEditor Next View org.eclipse.ui.window.nextView Previous View org.eclipse.ui.window.previousView Next Perspective org.eclipse.ui.window.nextPerspective Previous Perspective org.eclipse.ui.window.previousPerspective Close All Perspectives org.eclipse.ui.window.closeAllPerspectives Close Perspective org.eclipse.ui.window.closePerspective Close Part org.eclipse.ui.file.closePart Customize Perspective org.eclipse.ui.window.customizePerspective Hide Editors org.eclipse.ui.window.hideShowEditors Lock the Toolbars org.eclipse.ui.window.lockToolBar Pin Editor org.eclipse.ui.window.pinEditor Preferences org.eclipse.ui.window.preferences Reset Perspective org.eclipse.ui.window.resetPerspective Save Perspective As org.eclipse.ui.window.savePerspective Show Key Assist org.eclipse.ui.window.showKeyAssist Toggle Toolbar Visibility org.eclipse.ui.ToggleCoolbarAction
----------------------------------------------- Category Help org.eclipse.ui.category.help ----------------------------------------------- Help Contents org.eclipse.ui.help.helpContents Help Search org.eclipse.ui.help.helpSearch Dynamic Help org.eclipse.ui.help.dynamicHelp Welcome org.eclipse.ui.help.quickStartAction Tips and Tricks org.eclipse.ui.help.tipsAndTricksAction About org.eclipse.ui.help.aboutAction Display Help org.eclipse.ui.help.displayHelp
----------------------------------------------- Category Views org.eclipse.ui.category.views ----------------------------------------------- Show View org.eclipse.ui.views.showView
----------------------------------------------- Category Perspectives org.eclipse.ui.category.perspectives ----------------------------------------------- Show Perspective org.eclipse.ui.perspectives.showPerspective
|
|