Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 239359 - RCP view toolbars are visible in standalone view
Summary: RCP view toolbars are visible in standalone view
Status: RESOLVED DUPLICATE of bug 98883
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 4.0   Edit
Hardware: PC Windows Server 2003
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: Platform-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-02 17:00 EDT by Shami Willms CLA
Modified: 2008-08-14 10:06 EDT (History)
1 user (show)

See Also:


Attachments
Screenshot of demo app with messed up toolbars (960.05 KB, image/bmp)
2008-08-14 09:31 EDT, Shami Willms CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Shami Willms CLA 2008-07-02 17:00:14 EDT
Build ID: I20080617-2000

Steps To Reproduce:

1. Create the sample RCP mail app.

2. Modify the Perspective.java file and replace it with this method:

	public void createInitialLayout(IPageLayout layout) {
                String editorArea = layout.getEditorArea();
                layout.setEditorAreaVisible(false);
                layout.addStandaloneView(NavigationView.ID,  false, IPageLayout.LEFT, 0.25f, editorArea);
                layout.addStandaloneView(IPageLayout.ID_PROP_SHEET, false, IPageLayout.RIGHT, 0.75f, editorArea);
                layout.getViewLayout(NavigationView.ID).setCloseable(false);
         }

3. Add org.eclipse.ui.views as a dependency in the plugin.xml file.

4. Run the plugin as and Eclipse Application.

5. look at extra toolbar buttons in the top left corner from the properties view that does not have a spot for the toolbar buttons anymore.





More information:

This will now show you a properties view on the right that does not have any title tab.  But instead of also hiding the toolbar buttons for the properties view, it has left them in the top left corner (over top of the navigation view).  The toolbar buttons should be hidden (like they are in 3.3 and earlier).
Comment 1 Boris Bokowski CLA 2008-08-13 22:42:47 EDT
Could you please attach a screenshot? Thanks.
Comment 2 Shami Willms CLA 2008-08-14 09:31:31 EDT
Created attachment 109982 [details]
Screenshot of demo app with messed up toolbars
Comment 3 Paul Webster CLA 2008-08-14 10:06:47 EDT

*** This bug has been marked as a duplicate of bug 98883 ***