[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [pde-dev] how to show a view dynamically
|
Hi Nalaka,
try this
IWorkbenchPage page =
PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage();
page.showView(viewID); //viewID the id of the view extension to use
Regards
Alessandro
nalaka gamage wrote:
Hi all,
I have created a new view extending ViewPart. Now I can see this new
view in windows=>show view. Now I require to show this view
dynamically in one of my action class without user selct menu option
windows=>show view. Is there a way to do this?
I just go through the api's and one possible method was
createPartControl() methos. However the api doc says not to call it
specifically, rather let workbench call it internally. Has any one
done this before
Regards
Nalaka
------------------------------------------------------------------------
Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail Beta.
<http://us.rd.yahoo.com/evt=42297/*http://advision.webevents.yahoo.com/handraisers>
------------------------------------------------------------------------
_______________________________________________
pde-dev mailing list
pde-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/pde-dev