Skip to main content

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

Sounds great! What are the keybindings going to be for these new global
"actions"?

-Randy Hudson



                                                                           
             "Paul Webster"                                                
             <pwebster@alumni.                                             
             uwaterloo.ca>                                              To 
             Sent by:                  eclipse-dev@xxxxxxxxxxx             
             eclipse-dev-bounc                                          cc 
             es@xxxxxxxxxxx                                                
                                                                   Subject 
                                       [eclipse-dev] 2 new API commands    
             02/27/2008 12:38                                              
             PM                                                            
                                                                           
                                                                           
             Please respond to                                             
                 "General                                                  
                development                                                
              mailing list of                                              
                the Eclipse                                                
                 project."                                                 
             <eclipse-dev@ecli                                             
                 pse.org>                                                  
                                                                           
                                                                           




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
_______________________________________________
eclipse-dev mailing list
eclipse-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe
from this list, visit
https://dev.eclipse.org/mailman/listinfo/eclipse-dev




Back to the top