Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [eclipse-dev] Show Perspective Command


Can't these command definitions be generated programmatically for all perspectives/views?  It seems redundant that for every View definition and Perspective Definition I need to create a second extension point for the command definition.  And it practice it takes several releases for clients to actually add these definitions. By default, existing views and perspectives should be available for keybinding assignment, and if necessary a boolean attribute could be added to view/perspecitve extensions to restrict this behavior.

-randy
 


Douglas Pollock <douglas.pollock@xxxxxxxx>
Sent by: eclipse-dev-admin@xxxxxxxxxxx

12/02/2004 11:47 AM

Please respond to
eclipse-dev

To
eclipse-dev@xxxxxxxxxxx
cc
Subject
[eclipse-dev] Show Perspective Command





As most of you are aware, there is now the "show view" commands and key
bindings (e.g., "Alt+Shift+Q C" for "Show Console").  As of I200411300800,
this support was added for perspectives as well.

Similar to the "show view" commands, it is necessary to define a command whose
id is the same as the perspective id.  So, for example, in
"org.eclipse.ui.ide", we have:

     <command
       name="%Perspective.resourcePerspective"
       description="%command.openResourcePerspective.description"
       categoryId="org.eclipse.ui.category.perspectives"
       id="org.eclipse.ui.resourcePerspective" />

It would be nice if other plug-in developers on the Eclipse project could add
similar commands.



thanks,
d.
_______________________________________________
eclipse-dev mailing list
eclipse-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
http://dev.eclipse.org/mailman/listinfo/eclipse-dev


Back to the top