Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 34110 Details for
Bug 123257
[RCP] [CoolBar] Need ability to provide a custom toolbar similar to the way we can supply a custom statusbar
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
[patch]
Updated RCP browser example patch based on HEAD
ActionBarPresentation_examples_rcpbrowser_HEAD_patch.txt (text/plain), 2.36 KB, created by
Matthew Hatem
on 2006-02-03 14:30:12 EST
(
hide
)
Description:
Updated RCP browser example patch based on HEAD
Filename:
MIME Type:
Creator:
Matthew Hatem
Created:
2006-02-03 14:30:12 EST
Size:
2.36 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.ui.examples.rcp.browser >Index: src/org/eclipse/ui/examples/rcp/browser/BrowserActionBarAdvisor.java >=================================================================== >RCS file: /home/eclipse/org.eclipse.ui.examples.rcp.browser/src/org/eclipse/ui/examples/rcp/browser/BrowserActionBarAdvisor.java,v >retrieving revision 1.3 >diff -u -r1.3 BrowserActionBarAdvisor.java >--- src/org/eclipse/ui/examples/rcp/browser/BrowserActionBarAdvisor.java 25 Feb 2005 20:42:39 -0000 1.3 >+++ src/org/eclipse/ui/examples/rcp/browser/BrowserActionBarAdvisor.java 3 Feb 2006 19:20:23 -0000 >@@ -18,8 +18,6 @@ > import org.eclipse.jface.action.IToolBarManager; > import org.eclipse.jface.action.MenuManager; > import org.eclipse.jface.action.Separator; >-import org.eclipse.jface.action.ToolBarContributionItem; >-import org.eclipse.jface.action.ToolBarManager; > import org.eclipse.swt.SWT; > import org.eclipse.ui.ISharedImages; > import org.eclipse.ui.IViewPart; >@@ -158,8 +156,8 @@ > } > > protected void fillCoolBar(ICoolBarManager coolBar) { >- IToolBarManager toolBar = new ToolBarManager(SWT.FLAT | SWT.RIGHT); >- coolBar.add(new ToolBarContributionItem(toolBar, "standard")); //$NON-NLS-1$ >+ IToolBarManager toolBar = getActionBarConfigurer().createToolBarManager(SWT.NONE); >+ coolBar.add(toolBar); //$NON-NLS-1$ > > // For the Back and Forward actions, force their text to be shown on the toolbar, > // not just their image. For the remaining actions, the ActionContributionItem >@@ -172,7 +170,7 @@ > forwardCI.setMode(ActionContributionItem.MODE_FORCE_TEXT); > toolBar.add(forwardCI); > >- toolBar.add(stopAction); >- toolBar.add(refreshAction); >+ toolBar.add(stopAction); >+ toolBar.add(refreshAction); > } > } >Index: plugin_customization.ini >=================================================================== >RCS file: /home/eclipse/org.eclipse.ui.examples.rcp.browser/plugin_customization.ini,v >retrieving revision 1.3 >diff -u -r1.3 plugin_customization.ini >--- plugin_customization.ini 30 Sep 2005 16:08:24 -0000 1.3 >+++ plugin_customization.ini 3 Feb 2006 19:20:23 -0000 >@@ -1,2 +1,3 @@ > org.eclipse.ui/DOCK_PERSPECTIVE_BAR=topRight > org.eclipse.ui/KEY_CONFIGURATION_ID=org.eclipse.ui.examples.rcp.browser.keyConfiguration >+org.eclipse.ui/presentationFactoryId=org.eclipse.ui.examples.presentation.customtoolbar
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 123257
:
33169
|
33171
|
33172
|
33173
|
34107
|
34108
|
34109
|
34110
|
34111
|
34239
|
34308
|
34367
|
34373
|
34437