Community
Participate
Working Groups
getViewLayout(DataMapping_DebuggingInputView.ID).setCloseable(false); --> the view ist not closable, but moveable (works correct) --> Now you detach the window (still correct) --> You close the toolwindow containing the detached view: View will be closed and disposed (bug) Suggested fix: toolwindow can only be closed when all detached windows inside are closeable
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?
*** This bug has been marked as a duplicate of 97859 ***