Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Editor maximize shortcut for RCP apps
Editor maximize shortcut for RCP apps [message #558728] Tue, 14 September 2010 08:44 Go to next message
Geejay is currently offline GeejayFriend
Messages: 160
Registered: February 2010
Senior Member
I want to have the Eclipse IDE action for maximizing an editor or view in my
RCP app.

In the Eclipse IDE, when I double click on the tab for an editor or view,
then that view or editor is maximized.

Does anyone know the name / action ID for this action, and how I can use it
in my RCP app?
Re: Editor maximize shortcut for RCP apps [message #558801 is a reply to message #558728] Tue, 14 September 2010 13:43 Go to previous messageGo to next message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

It's called "Maximize active view or editor". Check out
org.eclipse.ui.IWorkbenchCommandConstants

PW


--
Paul Webster
http://wiki.eclipse.org/Platform_Command_Framework
http://wiki.eclipse.org/Command_Core_Expressions
http://wiki.eclipse.org/Menu_Contributions
http://wiki.eclipse.org/Menus_Extension_Mapping
http://help.eclipse.org/galileo/index.jsp?topic=/org.eclipse .platform.doc.isv/guide/workbench.htm


Re: Editor maximize shortcut for RCP apps [message #560075 is a reply to message #558801] Tue, 21 September 2010 07:02 Go to previous message
Geejay is currently offline GeejayFriend
Messages: 160
Registered: February 2010
Senior Member
Sorry I looked around for a while, but I couldn't find any docs on how to
implement this in my RCP app...

I saw a sample where it was used in a menu, but I want it to be activated by
the double click just like in the IDE...

Could you please point me in the right direction?

"Paul Webster" <pwebster@ca.ibm.com> wrote in message
news:i6nttn$4ct$1@build.eclipse.org...
> It's called "Maximize active view or editor". Check out
> org.eclipse.ui.IWorkbenchCommandConstants
>
> PW
>
>
> --
> Paul Webster
> http://wiki.eclipse.org/Platform_Command_Framework
> http://wiki.eclipse.org/Command_Core_Expressions
> http://wiki.eclipse.org/Menu_Contributions
> http://wiki.eclipse.org/Menus_Extension_Mapping
> http://help.eclipse.org/galileo/index.jsp?topic=/org.eclipse .platform.doc.isv/guide/workbench.htm
Previous Topic:Help! Problem with ILazyTreeContentProvider & Dynamic Columns
Next Topic:[SWT] Remove children from a composite (special case)
Goto Forum:
  


Current Time: Sat Apr 27 02:38:39 GMT 2024

Powered by FUDForum. Page generated in 0.03309 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top