Because the interesting classes related to it (org.eclipse.jdt.internal.ui.text.AbstractInformationControl and org.eclipse.jdt.internal.ui.text.JavaOutlineInformationControl) are internal and I didn't want to copy/paste a lot of code…
And I find it strange that it doesn't inherit the org.eclipse.ui.dialogs.ElementTreeSelectionDialog (which I believe is the default way of selecting an element from a bunch of elements) - in sum, I think that the extra trouble to match the JDT UI is not worth it… Although maybe if lots of people complain about it, I may rethink it :)
Cheers,
Fabio
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thank for your reply.
The new quick-outline is not a modal dialog, that is mean I can do other things when it is opening. Even if the dialog loses focus, it always shows. So, I would rather quick-outline is a PopupDialog than it is an unmodal dialog.
In the pde org.eclipse.pde.internal.ui.editor.outline.QuickOutlinePopupDialog same as jdt’s
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
why the quick outline of the pydev doesn’t look like the java editor’s
can someone tell me the reason?
Because the interesting classes related to it (org.eclipse.jdt.internal.ui.text.AbstractInformationControl and org.eclipse.jdt.internal.ui.text.JavaOutlineInformationControl) are internal and I didn't want to copy/paste a lot of code…
And I find it strange that it doesn't inherit the org.eclipse.ui.dialogs.ElementTreeSelectionDialog (which I believe is the default way of selecting an element from a bunch of elements) - in sum, I think that the extra trouble to match the JDT UI is not worth it… Although maybe if lots of people complain about it, I may rethink it :)
Cheers,
Fabio
Thank for your reply.
The new quick-outline is not a modal dialog, that is mean I can do other things when it is opening. Even if the dialog loses focus, it always shows. So, I would rather quick-outline is a PopupDialog than it is an unmodal dialog.
In the pde org.eclipse.pde.internal.ui.editor.outline.QuickOutlinePopupDialog same as jdt’s
Just fixed it to work as a popup dialog (i.e.: close it when it becomes deactivated) - will be available for 2.2.2.
Cheers,
Fabio