Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-ui-dev] View contributing to workbench menus


Inspect and Display have been added to the Edit menu only in the latest.

I like the idea of adding the Inspect and Display actions to the Debug Menu.  We could then enable/disable depending on the active part (enabled for the editor and the display view).

Having Inspect and Display in a consistent spot and making use of the framework shortcut mechanism are both wins.

Comments?

Darins


"Randy Giffen/OTT/OTI" <Randy_Giffen@xxxxxxx>
Sent by: platform-ui-dev-admin@xxxxxxxxxxx

11/16/01 08:19 AM
Please respond to platform-ui-dev

       
        To:        platform-ui-dev@xxxxxxxxxxx
        cc:        
        Subject:        Re: [platform-ui-dev] View contributing to workbench menus



I agree you don't want to implement your own shortcut mechanism.


The actions are on the context menu in both the editor and the display view.

I don't see them in the edit menu for a .java file (I have the thread stopped at a breakpoin in the file and the actions are present on the context menu for the editor).

How about adding them to your debug action set (show up in the Debug menu)? You could listen for part activation and only enable when appropriate.




Darin_Swanson@xxxxxxx
Sent by: platform-ui-dev-admin@xxxxxxxxxxx

11/15/01 06:30 PM
Please respond to platform-ui-dev

       
       To:        platform-ui-dev@xxxxxxxxxxx
       cc:        
       Subject:        Re: [platform-ui-dev] View contributing to workbench menus



The Display view of Java debugging has the Display and Inspect actions (same as from the Java Editor). The editors

provides this actions in the edit menu of the workbench.  We would like the Display view to consistently present these actions (and

allow us to make "free" use of the shortcut support instead of defining our own verify key listeners to make the shortcuts work (Ctrl-D and Ctrl-Q)).
>
>@
>11/15/2001 06:04 PM EST
>Please respond to platform-ui-dev
>
> To: platform-ui-dev@xxxxxxxxxxx
> cc:
> bcc:
> Subject: Re: [platform-ui-dev] View contributing to workbench menus
>
>
>

>No views cannot contribute to the window menubar or toolbar. Thay can define global action handlers for the set of global actions we define.
>                UNDO,
>                REDO,
>                CUT,
>                COPY,
>                PASTE,
>                PRINT,
>                DELETE,
>                FIND,
>                SELECT_ALL,
>                BOOKMARK
>
>
>What action did you want to contribute?
>
>
>
>
>

Darin_Swanson@xxxxxxx
>Sent by: platform-ui-dev-admin@xxxxxxxxxxx
>
>11/15/01 05:50 PM
>Please respond to platform-ui-dev

>

       
>        To:        platform-ui-dev@xxxxxxxxxxx
>        cc:        
>        Subject:        [platform-ui-dev] View contributing to workbench menus

>

Is it possible for a view to contribute to say the "Edit" menu of the workbench?

>
>Thanks
>
>Darins
>
>_______________________________________________ platform-ui-dev mailing list platform-ui-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/platform-ui-dev
>
>

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


Back to the top