Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Opening New Server creation wizard programmatically
Opening New Server creation wizard programmatically [message #325447] Tue, 19 February 2008 02:16 Go to next message
Eclipse UserFriend
Originally posted by: abinashsahu.hsbc.co.in

Hi,

I want to open the New Server creation wizard programmatically from a cheatsheet action.I found one class org.eclipse.wst.server.ui.internal.wizard.NewServerWizard. Can this be used or any other class to be used.If this is to be used then how do we get access to this class.

Thanks
Abinash
Re: Opening New Server creation wizard programmatically [message #325467 is a reply to message #325447] Tue, 19 February 2008 10:18 Go to previous messageGo to next message
Eclipse UserFriend
You want to use the new wizard command, org.eclipse.ui.newWizard ... you
can specify the specific wizard ID using the parameter newWizardId

PW


--
Paul Webster
http://wiki.eclipse.org/Platform_Command_Framework
http://wiki.eclipse.org/Command_Core_Expressions
http://wiki.eclipse.org/Menu_Contributions
http://wiki.eclipse.org/Menus_Extension_Mapping
http://help.eclipse.org/help33/index.jsp?topic=/org.eclipse. platform.doc.isv/guide/workbench.htm
Re: Opening New Server creation wizard programmatically [message #325492 is a reply to message #325467] Wed, 20 February 2008 01:30 Go to previous message
Eclipse UserFriend
Originally posted by: abinashsahu.hsbc.co.in

Hi Paul,

I have NewServerWizard class with me and using this code i am not able to open the Server creatio wizard.

NewServerWizard wizard = new NewServerWizard();
wizard.init(
workbench,
new StructuredSelection());

WizardDialog dialog = new WizardDialog(shell, wizard);

dialog.create();
dialog.open();

Even NewServerWizard class is not visible to me (gives compilation error), I think this is because WST is not enabled.When I take the WST (eclipse 3.3) I am able to see NewServerWizard class.How can I add WST into the existing one.I tried by the eclipse update site but could not get anything like WST.

Please advice.
Thanks
Abinash.
Previous Topic:Classloading problem between jars inside the same plugin
Next Topic:A doubt on WorkspaceModifyOperation
Goto Forum:
  


Current Time: Wed Jul 16 00:30:13 EDT 2025

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

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

Back to the top