Eclipse RCP: Right aligned search field in toolbar

前端 未结 1 1585
广开言路
广开言路 2021-01-03 02:00

I would like to have a right aligned search field in the toolbar of an Eclipse RCP application. I already created the text field as ControlContribution and the respective se

相关标签:
1条回答
  • 2021-01-03 02:26

    If you mean positioning search toolbar on the right hand site of the main toolbar, then consider using these areas instead (when using org.eclipse.ui.menus extension point):

    toolbar:org.eclipse.ui.main.toolbar - the top-level tool bar 
    toolbar:org.eclipse.ui.trim.command1 - the top left trim 
    toolbar:org.eclipse.ui.trim.command2 - the top right trim 
    toolbar:org.eclipse.ui.trim.vertical1 - the left vertical trim 
    toolbar:org.eclipse.ui.trim.vertical2 - the right vertical trim 
    toolbar:org.eclipse.ui.trim.status - the status line trim 
    
    0 讨论(0)
提交回复
热议问题