Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[eclipse-dev] 2 new API commands

In 3.4 we've added 2 new API commands that the different components can consume.

1) commands for next page/previous page.  parts with multiple pages
can implement org.eclipse.ui.part.PageSwitcher to pick up behaviour
similar to CTRL+F6 or CTRL+F7.  Any MultiPageEditorPart will get this
for free, and can opt out if desired. Full functionality available in
next week's I build.

2) a Collapse All command, org.eclipse.ui.navigate.collapseAll.  Parts
can use this command with their own collapse all actions to take
advantage of the keybinding or can use the menu contribution and the
API org.eclipse.ui.handlers.CollapseAllHandler which works with an
AbstractTreeViewer

Paul Webster
Eclipse Platform UI Committer
IBM Rational Canada

-- 
Paul Webster
Hi floor. Make me a sammich! - GIR


Back to the top