Skip to main content



      Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » customize the org.eclipse.ui.newWizard extension point
customize the org.eclipse.ui.newWizard extension point [message #64054] Thu, 04 June 2009 02:49 Go to next message
Eclipse UserFriend
Dear all,

I am using the org.eclipse.ui.newWizard extension point in my project and
need to do some changes on its first page (which displays a tree with the
different wizard categories):
1. by changing of the page title/description
2. by adding an invocation of the SelectionService to get the selection
parameters from the last active vew.

What is the best way to do that?

Many thanks in advance,

pit
Re: customize the org.eclipse.ui.newWizard extension point [message #64443 is a reply to message #64054] Tue, 09 June 2009 21:04 Go to previous message
Eclipse UserFriend
Comments below,

pit wrote:
> Dear all,
>
> I am using the org.eclipse.ui.newWizard extension point in my project and
> need to do some changes on its first page (which displays a tree with the
> different wizard categories):
> 1. by changing of the page title/description

I don't think there is API to do this. You'd probably have to roll your
own dialog to achieve something similar but customized to fit your
needs. See the class org.eclipse.ui.internal.handlers.WizardHandler.New
to see how the existing dialog is created.

> 2. by adding an invocation of the SelectionService to get the selection
> parameters from the last active vew.

You might be able to implement your own handler for the
org.eclipse.ui.newWizard command which initializes the wizard with a
different selection.. but I'm not really sure.

>
> What is the best way to do that?
>
> Many thanks in advance,
>
> pit
>
>

HTH
Ben
Re: customize the org.eclipse.ui.newWizard extension point [message #598194 is a reply to message #64054] Tue, 09 June 2009 21:04 Go to previous message
Eclipse UserFriend
Comments below,

pit wrote:
> Dear all,
>
> I am using the org.eclipse.ui.newWizard extension point in my project and
> need to do some changes on its first page (which displays a tree with the
> different wizard categories):
> 1. by changing of the page title/description

I don't think there is API to do this. You'd probably have to roll your
own dialog to achieve something similar but customized to fit your
needs. See the class org.eclipse.ui.internal.handlers.WizardHandler.New
to see how the existing dialog is created.

> 2. by adding an invocation of the SelectionService to get the selection
> parameters from the last active vew.

You might be able to implement your own handler for the
org.eclipse.ui.newWizard command which initializes the wizard with a
different selection.. but I'm not really sure.

>
> What is the best way to do that?
>
> Many thanks in advance,
>
> pit
>
>

HTH
Ben
Previous Topic:Best Practices for debugging Extension Points
Next Topic:Deleting a launch configuration doesnt clean up the file system data
Goto Forum:
  


Current Time: Fri May 02 08:29:38 EDT 2025

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

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

Back to the top