Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » How to make page closable
How to make page closable [message #335090] Sat, 21 March 2009 19:00 Go to next message
maatari is currently offline maatariFriend
Messages: 74
Registered: July 2009
Member
> This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

--B_3320510437_9200654
Content-type: text/plain;
charset="US-ASCII"
Content-transfer-encoding: 7bit

Hi All,

I would like to be able to close the pages of my multipageEditor Part, any
advise?

--B_3320510437_9200654
Content-type: text/html;
charset="US-ASCII"
Content-transfer-encoding: quoted-printable

<HTML>
<HEAD>
<TITLE>How to make page closable</TITLE>
</HEAD>
<BODY>
<FONT FACE=3D"Calibri, Verdana, Helvetica, Arial"><SPAN STYLE=3D'font-size:11pt=
'>Hi All, <BR>
<BR>
I would like to be able to close the pages of my multipageEditor Part, any =
advise?</SPAN></FONT>
</BODY>
</HTML>


--B_3320510437_9200654--
Re: How to make page closable [message #335300 is a reply to message #335090] Tue, 31 March 2009 15:39 Go to previous message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

Daniel OKOUYA wrote:
> I would like to be able to close the pages of my multipageEditor Part,
> any advise?

You can't add the close button on the CTabFolder, AFAIK.
https://bugs.eclipse.org/bugs/show_bug.cgi?id=103865

But you can remove pages yourself, in response to your own events or a
command or keybindings. See
org.eclipse.ui.part.MultiPageEditorPart.removePage(int)

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/ganymede/index.jsp?topic=/org.eclips e.platform.doc.isv/guide/workbench.htm


Previous Topic:Local Update Site Mirror
Next Topic:enabledWhen: Compare File Name to stored Value
Goto Forum:
  


Current Time: Fri Apr 26 06:20:07 GMT 2024

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

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

Back to the top