| Summary: | [Perspectives] getViewLayout(View.ID).setCloseable(false) not checked when closing toolwindow of detached view | ||
|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Andreas Filler <andreas> |
| Component: | UI | Assignee: | Paul Webster <pwebster> |
| Status: | RESOLVED DUPLICATE | QA Contact: | |
| Severity: | normal | ||
| Priority: | P4 | CC: | millz, n.a.edgar |
| Version: | 3.1 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
|
Description
Andreas Filler
Same issue...
I added a view the the perspective like this, in my own RCP app:
IFolderLayout centerFolder = layout.createFolder( "centerFolder",
IPageLayout.RIGHT, 0.25f, "leftFolder" );
centerFolder.addView( WeatherDetailsView.ID_VIEW );
layout.getViewLayout( WeatherDetailsView.ID_VIEW ).setCloseable( false );
This creates the view with no "X" button in its title. However, if you detach that view into its own window, that window can be closed and instead of the view being restored back to the workbench, it is closed.
Expected bahavior - view should not be closeable even if detached. If window is closeable, then view should be restored to workbench.
BTW, I am on eclipse: Version: 3.1.0 Build id: I20050811-1530 Paul, could I get your help on this one? |