Eclipse Commands

3,126 views

Published on

Basics of Eclipse Commands Extension Point

Published in: Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
3,126
On SlideShare
0
From Embeds
0
Number of Embeds
166
Actions
Shares
0
Downloads
0
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Eclipse Commands

  1. 1. Com mands Madhu Samuel | eclipseBible.com
  2. 2. Commands Menu Toolbar Key Binding
  3. 3. Commands Extension Points Programmatic actionSets commands org.eclipse.ui.actionsets org.eclipse.ui.commands Menu myMenu =  new  Menu(shell, SWT.BAR);
  4. 4. Commands Menu Toolbar Key Binding org.eclipse.ui.commands org.eclipse.ui.menus org.eclipse.ui.bindings Menu org.eclipse.ui.menus
  5. 5. Commands org.eclipse.ui.commands org.eclipse.ui.handlers IHandler
  6. 6. Commands Key Binding Toolbar Menu Menu org.eclipse.ui.commands org.eclipse.ui.menus org.eclipse.ui.menus org.eclipse.ui.bindings IHandler IHandler IHandler org.eclipse.ui.handlers
  7. 7. org.eclipse.ui.menus org.eclipse.ui.commands org.eclipse.ui.menus org.eclipse.ui.bindings org.eclipse.ui.handlers
  8. 8. Time for Action!
  9. 9. org.eclipse.ui.menus menuContribution menu command MenuBar Menu MenuItem How to create Menu ? org.eclipse.ui.commands command org.eclipse.ui.handlers handler
  10. 10. org.eclipse.ui.menus menuContribution toolbar command CoolBar Toolbar ToolbarItem How to create Toolbar ? command org.eclipse.ui.commands handler org.eclipse.ui.handlers
  11. 11. org.eclipse.ui.menus menuContribution toolbar command CoolBar Toolbar ToolbarItem How to create Keybinding ? command org.eclipse.ui.commands handler org.eclipse.ui.handlers org.eclipse.ui.bindings key
  12. 12. Commands Key Binding Toolbar Menu Menu org.eclipse.ui.commands org.eclipse.ui.menus org.eclipse.ui.menus org.eclipse.ui.bindings IHandler IHandler IHandler org.eclipse.ui.handlers
  13. 13. Useful LocationURI <ul><li>menu:org.eclipse.ui.main.menu?after=additions </li></ul><ul><li>toolbar:org.eclipse.ui.main.toolbar ?after=additions </li></ul><ul><li>popup:org.eclipse.ui.popup.any ?after=additions </li></ul><ul><li>menu:file?after=open.ext </li></ul><ul><li>menu:help?after=additions </li></ul><ul><li>menu:navigate?after=open.ext </li></ul><ul><li>Menu:window?after=newEditor </li></ul><ul><li>popup:org.eclipse.ui.menus.showInMenu </li></ul><ul><li>menu:org.eclipse.ui.views.ProblemView?after=additions </li></ul><ul><li>toolbar:org.eclipse.ui.views.ProblemView?after=additions </li></ul><ul><li>popup:org.eclipse.ui.views.ProblemView?after=additions </li></ul>
  14. 14. Lets Talk???
  15. 15. Thank You

×