Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-debug-dev] Dimmed Run As... Debug As...

The use cases below have similar steps, i.e:

...
* switch perspectives
* show shortcuts in menu
...

What happens if you insert a step which is to change the workbench
selection before relaizing the menu?

...
* switch perspective
* select something in the navigator
* show shortcuts in the menu
...

Darin



|---------+------------------------------------>
|         |           Mary Kroening            |
|         |           <mary@xxxxxxxx>          |
|         |           Sent by:                 |
|         |           platform-debug-dev-admin@|
|         |           eclipse.org              |
|         |                                    |
|         |                                    |
|         |           03/23/2003 04:47 PM      |
|         |           Please respond to        |
|         |           platform-debug-dev       |
|         |                                    |
|---------+------------------------------------>
  >---------------------------------------------------------------------------------------------------------------------------------------------|
  |                                                                                                                                             |
  |       To:       platform-debug-dev@xxxxxxxxxxx                                                                                              |
  |       cc:                                                                                                                                   |
  |       Subject:  Re: [platform-debug-dev] Dimmed Run As... Debug As...                                                                       |
  |                                                                                                                                             |
  >---------------------------------------------------------------------------------------------------------------------------------------------|




I put up a bug report as I can consistently get the shortcuts for both Java
and our plug-in to be dimmed at the wrong times. Here's my 3 consistently
reproducible cases:

Using RC3 with the Java Platform + JDT + our primary feature (Prolog)
installed.

Case 1:
Set perspective to Prolog
Exit and start Eclipse
All Prolog shortcuts visible and enabled
No Java shortcuts visible
Switch to Java perspective
All Prolog shortcuts visible and enabled
No Java short cuts visible

Case 2:
Set perspective to Java
Exit and start Eclipse
All Java shortcuts visible and enabled
No Prolog shortcuts visible
Switch to Prolog perspective
All Java shortcuts visible and enabled
No Prolog short cuts visible

Case 3:
Set perspective to Debug
Exit and start Eclipse
Switch to Prolog Perspective
All Prolog and Java shortcuts visible but dimmed

Any thoughts?

Mary


At 12:19 PM 3/23/2003 -0600, you wrote:

      You can try debugging the "menu creation" code. It is in
      org.eclipse.debug.ui.actions.LaunchAsAction#getMenu(Menu).

      I've never seen a shortcut disappear from the menu.

      Darin



      Mary Kroening <mary@xxxxxxxx>
      Sent by: platform-debug-dev-admin@xxxxxxxxxxx

      03/23/2003 09:19 AM
      Please respond to platform-debug-dev

              To:        platform-debug-dev@xxxxxxxxxxx
              cc:
              Subject:        [platform-debug-dev] Dimmed Run As... Debug
      As...



      The more I think about this, I believe there is a bug or at least a
      change
      with unintended side effects. I've been developing on M3 then M4. No
      matter
      what I did, the 4 Java shortcuts always appeared in the PDE Run As...
      and
      Debug As... menus.

      Now I jumped to RC2 and the 4 Java shortcuts are regularly dimmed in
      the
      PDE and debug views, sometimes on startup, but usually after a debug
      session. So there was a change after M4 up to RC2 which has caused
      this
      problem.

      That same change is dimming my shortcuts in my perspective.

      Any thoughts on how to track this down?

      Thanks,
      Mary Kroening
      Amzi! inc.



      _______________________________________________
      platform-debug-dev mailing list
      platform-debug-dev@xxxxxxxxxxx
      http://dev.eclipse.org/mailman/listinfo/platform-debug-dev




----------------------------------------------------
  Amzi! inc.
    5861 Greentree Road
    Lebanon, OH 45036 U.S.A.
  web      http://www.amzi.com
  tel      +1 513 425 8050
  e-mail   info@xxxxxxxx
  fax      +1 513 425 8025
----------------------------------------------------









Back to the top