Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Close and Editor programatically
Close and Editor programatically [message #455477] Mon, 16 May 2005 19:13 Go to next message
Steve Gutz is currently offline Steve GutzFriend
Messages: 70
Registered: July 2009
Member
I have an editor that I would like to close programitcally but can't figure
out how. Logically it would be something like:


PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActi vePage().close()
;

But that seems to close everything but the main window.

Anyone got an idea how to do this?
Re: Close and Editor programatically [message #455592 is a reply to message #455477] Tue, 17 May 2005 20:48 Go to previous message
Veronika Irvine is currently offline Veronika IrvineFriend
Messages: 1272
Registered: July 2009
Senior Member
You will probably get a better response to this question in the
eclipse.platform newsgroup.

"Noname" <sgutz@ca.ibm.com> wrote in message
news:d6as09$m6o$1@news.eclipse.org...
>I have an editor that I would like to close programitcally but can't figure
> out how. Logically it would be something like:
>
>
> PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActi vePage().close()
> ;
>
> But that seems to close everything but the main window.
>
> Anyone got an idea how to do this?
>
>
Previous Topic:Soft vertical scrolling in Table?
Next Topic:GUI SWT Designer for Mac OS X
Goto Forum:
  


Current Time: Thu Sep 19 16:20:03 GMT 2024

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

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

Back to the top