Menu

quick outline doesn’t look like the java's

larry
2011-07-17
2013-03-15
  • larry

    larry - 2011-07-17

    why the quick outline of the pydev doesn’t look like the java editor’s
    can someone tell me the reason?

     
  • Fabio Zadrozny

    Fabio Zadrozny - 2011-07-17

    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

     
  • larry

    larry - 2011-07-18

    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

     
  • Fabio Zadrozny

    Fabio Zadrozny - 2011-07-18

    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

     
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.