Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Re: maximize the editor
Re: maximize the editor [message #306498] Mon, 31 July 2006 14:05 Go to next message
Eclipse UserFriend
Carl Wong wrote:
> How can I maximize the editor window dynamically in my code? Basically
> right after I create an editor, I want to maximize it to occupy the
> entire work bench. Your help would be greaty appreaticated.

This is not SWT, and is more approriate for eclipse.platform.

Later,
PW
Re: maximize the editor [message #306500 is a reply to message #306498] Mon, 31 July 2006 14:42 Go to previous messageGo to next message
Eclipse UserFriend
Paul Webster wrote:
> Carl Wong wrote:
>> How can I maximize the editor window dynamically in my code?
>> Basically right after I create an editor, I want to maximize it to
>> occupy the entire work bench. Your help would be greaty appreaticated.
>
> This is not SWT, and is more approriate for eclipse.platform.
>
> Later,
> PW
Paul,
A colleague of mine asked the same question in e.swt and you
responded to that. We have struggling to set the size of a editor. Any
pointers in either the e.swt or this newsgroup will be helpful.
Re: maximize the editor [message #306502 is a reply to message #306500] Mon, 31 July 2006 15:03 Go to previous messageGo to next message
Eclipse UserFriend
Guru Nagarajan wrote:
> Paul,
> A colleague of mine asked the same question in e.swt and you
> responded to that. We have struggling to set the size of a editor. Any
> pointers in either the e.swt or this newsgroup will be helpful.

To maximize an editor programmatically, you would use IWorkbenchPage
methods (like toggleZoom(*) or setPartState(*) introduced in 3.2).

Later,
PW
Re: maximize the editor [message #306509 is a reply to message #306502] Mon, 31 July 2006 17:13 Go to previous messageGo to next message
Eclipse UserFriend
How do I do it on 3.1?
Re: maximize the editor [message #306519 is a reply to message #306509] Tue, 01 August 2006 08:15 Go to previous message
Eclipse UserFriend
Carl Wong wrote:
> How do I do it on 3.1?
>

You cannot do it through API on 3.1.

That being said, the methods are there on the *internal* class
WorkbenchPage on 3.1 ... but of course internal classes always carry the
risk that they can disappear, or their methods can change, from release
to release.

Later,
PW
Previous Topic:Getting your markers added to "Java Problem Type" in 3.2?
Next Topic:NullPointer with Editor
Goto Forum:
  


Current Time: Sun May 04 11:56:44 EDT 2025

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

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

Back to the top