Community
Participate
Working Groups
When using the inplace outline view with the aspectj editor, every time you bring it up it defaults to the default size and position. To reproduce: (1) Open a file in the aspectj editor (2) use "Ctrl+O" to show the outline (3) Click on the arrow on the top right hand corner of the inplace outline view (4) choose to either resize or move it (or both) (5) close the outline view by clicking on the editor (6) use "Ctrl+O" to show the outline (7) The outline is now in the original place - all your changes have been removed/forgotten. The correct behaviour is seen using the Java Editor. This behaviour has been seen since the aj icons were included in this outline view ( a dev build since M1)
This is happening because in the copied code, we have lost the following call: presenter.setRestoreInformationControlBounds(getSettings("outline_presenter_bounds"), true, true) in AJSourceViewerConfiguration.getOutlinePresenter(..). It is this method which sets whether or not we want to restore the bounds. This is exactly the same for the inplace outline view ("outline_presenter_bounds"), however, that's ok since we want them to be the same. The user shouldn't be aware that there are two different versions. If they resize the inplace outline view when they have a .aj file open, they would expect the inplace outline view to be the same when they use it in a .java file.
The fix mentioned in the above comment has been integrated and is contained in build: BUILD COMPLETE - build.446 Date of build: 07/07/2005 10:55:37 Time to build: 47 minutes 21 seconds Last changed: 07/07/2005 10:40:11 There is also a manual test to go with this fix.