Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[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.


Back to the top