| Switching Presentations on the fly, programmatically? [message #554288] |
Fri, 20 August 2010 18:49  |
eshvar60 Messages: 51 Registered: March 2010 |
Member |
|
|
Hey guys,
So I have a core plug-in which includes other plug-ins(modules). Each module has it's own perspective and I want each module to define its own presentation factory so it can customize its own views. Is this possible programmatically?
So in my ModulePerspective.createInitialLayout I can do:
PlatformUI.getPreferenceStore().setDefault(IWorkbenchPreferenceConstants.PRESENTATION_FACTORY_ID, "modulePresFactory");
But this will not actually cause the new presentation to be loaded. Any ideas on how to make this happen?
Thanks again!
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.02069 seconds