Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 06:49 Go to next message
pit is currently offline pitFriend
Messages: 2
Registered: July 2009
Junior Member
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] Wed, 10 June 2009 01:04 Go to previous message
Ben Vitale is currently offline Ben VitaleFriend
Messages: 247
Registered: July 2009
Senior Member
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] Wed, 10 June 2009 01:04 Go to previous message
Ben Vitale is currently offline Ben VitaleFriend
Messages: 247
Registered: July 2009
Senior Member
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: Sat Apr 20 00:51:38 GMT 2024

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

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

Back to the top