Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Modular RCP Application (Creating an RCP App with seperate modules)
icon9.gif  Modular RCP Application [message #553514] Tue, 17 August 2010 18:55 Go to next message
eshvar60  is currently offline eshvar60
Messages: 51
Registered: March 2010
Member
I have an application thatI will have high level tabs where each tab has its own perspective, views and editors. Each tab is a self contained mini application where the only thing common across all of them would be a log view(StickyView I guess) and the tab bar to switch between the different tabs.

Each of these high level tabs also needs to be able to detatch(like a View) from the main window.

So how would you guys solve this problem. Windows? Perspectives?

If I use Perspectives how can I make one of these perspectives detatch into its own window but without the toolbar and menu bar present in the main window?

If I use Windows how can I make the windows appear inside my main workbench and share the toolbar/menubar as well as the log?


I am having a lot of trouble wrapping my head around this problem and I have no one to consult(I am alone on this project).

Re: Modular RCP Application [message #554019 is a reply to message #553514] Thu, 19 August 2010 17:40 Go to previous messageGo to next message
eshvar60  is currently offline eshvar60
Messages: 51
Registered: March 2010
Member
Alright so I had some more time to think about this and narrow down my use case.

I want to have a main plug-in which will contain a Perspective Bar(Implemented as a StickyView for customization) and a Log Console View(also Sticky).

Each module will be its own plug-in that will plug into my core app. Each model will specify it's own perspective with editors and views. This perspective must be shown inside the main window between the perspective bar and general log. Or separately in it's own window with ONLY it's own menus.

So any idea on how to achieve this(more specific) use case?
My main concern is how I can get the two views from my main window(perspective bar and log) to appear throughout all perspectives with the actual content being between them.
Re: Modular RCP Application [message #554792 is a reply to message #554019] Tue, 24 August 2010 12:19 Go to previous messageGo to next message
Paul Webster is currently offline Paul Webster
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

You can apply your sticky views to all perspectives thought
org.eclipse.ui.perspectiveExtensions.

If you don't include the toolbar or perspective bar that comes with
eclipse, you can still open each perspective as needed in a new window
using org.eclipse.ui.IWorkbench.openWorkbenchWindow(String, IAdaptable)
from your own code.

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


Re: Modular RCP Application [message #554825 is a reply to message #554792] Tue, 24 August 2010 13:37 Go to previous message
eshvar60  is currently offline eshvar60
Messages: 51
Registered: March 2010
Member
Thank you Paul, this is exactly what I did in the end. If anyone has the same problem and wants to see my solution feel free to PM me and I will post my answer here.
Previous Topic:Extension point selection - adding new extensions
Next Topic:Maximize the Intro/Welcome View
Goto Forum:
  


Current Time: Wed Sep 17 23:55:12 GMT 2014

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

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