[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.platform] Re: eclipse launch framework
|
Hi,
Does this mean you want to launch your own perspective or view when a user
right-clicks on an item in your custom Project/Product explorer?
In case this is what you want to do, you need to add an objectContribution
or an actionProvider to provide the option for this launch in your right
click menu. Then in the execution for this provided
objectContribution/actionProvider you could do
PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage()#setPerspective
or #showView or #activate depending on your requirement.
Rahul
"Trushna" <trushna.kholgade@xxxxxxxxxx> wrote in message
news:ccaab3e40ae42e85bd348272142afea7$1@xxxxxxxxxxxxxxxxxx
> Hi everyone,
>
> I am using eclipse launch framework for GUI in my application.
> I am launching this ui from eclipse menubar. It works fine.
> I have my own product explorer which can be viewed by..
> windows -> show view -> other -> my customised explorer.
> I want to launch the same screen (my customised eclipse launch
> screen) on right click of one of the item in explorer.
> Does anyone know how to achieve this?
>