Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » MultiPageEditorPart with closable page ?
MultiPageEditorPart with closable page ? [message #313540] Fri, 16 March 2007 18:28 Go to next message
Eclipse UserFriend
Hello,

I would like to add pages that are closable by the user in a
MultiPageEditorPart. This way some pages are closables and others not.

But I can't find a way to define the CTabItem style (SWT.CLOSE) of the page.

So, is there an other way than writing my own MultiPageEditorPart to
acomplish that ?

thx,

Nicolas Bihan
Re: MultiPageEditorPart with closable page ? [message #313572 is a reply to message #313540] Mon, 19 March 2007 15:29 Go to previous messageGo to next message
Eclipse UserFriend
FWIW, I had a similar requirement and wound up writing the equivalent of the MPEP (in fact, just a
regular editor, that contains a CTabFolder, etc.)

sorry,
Paul
Re: MultiPageEditorPart with closable page ? [message #313781 is a reply to message #313540] Mon, 26 March 2007 10:14 Go to previous message
Eclipse UserFriend
The MPEP will allow you to add and remove pages, but you can't put the
"close X" on the CTabFolder.

You would have to provide your own action, probably in your page context
menu or a more general one in an actionSet

Later,
PW
Previous Topic:provide values in "org.eclipse.ui.prefs" apistore
Next Topic:What release did Eclipse move to jar plugins?
Goto Forum:
  


Current Time: Mon Jul 14 12:47:07 EDT 2025

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

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

Back to the top