Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Multiple Views
Multiple Views [message #303443] Mon, 15 May 2006 16:47 Go to next message
Eclipse UserFriend
Hi all,

As i said in a previous post my application creates its own view. Durring
the runtime my plugin creates mutiple sessions and "one view" must be
associated to each session. Knowing the fact that in eclipse view is
unique i decided to use a small scrolling menu (added to the view toolbar)
allowing the user to switch session. To implement this functionality i
decided in the first called of CreatePartControl to store the given
Composite called parent and each time the user switches session i draw the
associated session in this composite and i call the Composite.layout()
method.

Is that a good solution and does exists an other "best and more elegant
and efficient way" to do this?

Thanks

Manu
Re: Multiple Views [message #303469 is a reply to message #303443] Tue, 16 May 2006 07:01 Go to previous message
Eclipse UserFriend
Check out PageBook and PageBookView ... that's what underlies the
ContentView, which shows a different page depending on what editor is
active.

Later,
PW
Previous Topic:Feature Suggestion: Ctrl+Right Click
Next Topic:Toolbar layout with MODE_FORCE_TEXT for ActionContributionItem
Goto Forum:
  


Current Time: Sat Jul 19 19:33:14 EDT 2025

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

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

Back to the top