Jump to: navigation, search

Difference between revisions of "FAQ What wizards do I define for my own language?"

 
m
 
Line 1: Line 1:
This depends on your language. For instance, the PDE
+
This depends on your language. For instance, the PDE offers wizards for creating plug-ins, features, plug-in fragments, and update sites. In addition, the PDE provides support for converting something existing into a form it can work with, such as converting a regular project to a plug-in project.
offers wizards for creating plug-ins,
+
features, plug-in fragments, and update sites. In addition,
+
the PDE provides support for converting something existing
+
into a form it can work with, such as converting a  
+
regular project to a plug-in project.
+
  
In the case of Java, the JDT offers wizards for the obvious  
+
In the case of Java, the JDT offers wizards for the obvious things—Java projects, packages, classes, and interfaces—as well as for less obvious ones such as a wizard for creating a scrapbook page and a source folder. The CDT offers wizards for generating a C++ class and for creating either a standard make file project or a managed make project for C or C++. Furthermore, the CDT has a wizard for converting a normal project to a C/C++ project.
things—Java projects, packages, classes, and interfaces—as  
+
well as for less obvious ones such as a wizard for creating a  
+
scrapbook page and a source folder. The CDT offers wizards for  
+
generating a C++ class and  
+
for creating either a standard make file project
+
or a managed make project for C or C++. Furthermore, the
+
CDT has a wizard for converting a normal project to a  
+
C/C++ project.
+
  
If we look at eScript, the only appropriate wizard type seems to be
+
If we look at eScript, the only appropriate wizard type seems to be the creation of an eScript file, where the user would choose whether the generated code should include the definition of a feature and an update site. An extra wizard page could be added to generate code to implement plug-ins that contribute a view, editor, and so on.
the creation of an eScript file, where the user would
+
choose whether the generated code should include the
+
definition of a feature and an update site. An extra
+
wizard page could be added to generate code to implement
+
plug-ins that contribute a view, editor, and so on.
+
  
When certain wizards are used frequently, consider
+
When certain wizards are used frequently, consider showing them in the toolbar by contributing an action set.
showing them in the toolbar by contributing an action set.
+
  
For instructions on writing wizards, look at  
+
For instructions on writing wizards, look at '''Help > Platform Plug-in Developer Guide > Programmer’s Guide > Dialogs and Wizards > Wizards'''.
'''Help > Platform Plug-in Developer Guide
+
> Programmer’s Guide  
+
> Dialogs and Wizards
+
> Wizards'''.
+
  
 
== See Also: ==
 
== See Also: ==
 
+
*[[FAQ_What_is_a_wizard%3F]]
[[FAQ_What_is_a_wizard%3F]]
+
*[[FAQ_When_does_my_language_need_its_own_nature%3F]]
 
+
*[http://www.eclipse.org/articles/Article-JFace%20Wizards/wizardArticle.html Eclipse online article “Creating JFace Wizards”]
[[FAQ_When_does_my_language_need_its_own_nature%3F]]
+
 
+
Eclipse online article “Creating JFace Wizards”
+
  
 
<hr><font size=-2>This FAQ was originally published in [http://www.eclipsefaq.org Official Eclipse 3.0 FAQs]. Copyright 2004, Pearson Education, Inc. All rights reserved. This text is made available here under the terms of the [http://www.eclipse.org/legal/epl-v10.html Eclipse Public License v1.0].</font>
 
<hr><font size=-2>This FAQ was originally published in [http://www.eclipsefaq.org Official Eclipse 3.0 FAQs]. Copyright 2004, Pearson Education, Inc. All rights reserved. This text is made available here under the terms of the [http://www.eclipse.org/legal/epl-v10.html Eclipse Public License v1.0].</font>

Latest revision as of 21:30, 29 May 2006

This depends on your language. For instance, the PDE offers wizards for creating plug-ins, features, plug-in fragments, and update sites. In addition, the PDE provides support for converting something existing into a form it can work with, such as converting a regular project to a plug-in project.

In the case of Java, the JDT offers wizards for the obvious things—Java projects, packages, classes, and interfaces—as well as for less obvious ones such as a wizard for creating a scrapbook page and a source folder. The CDT offers wizards for generating a C++ class and for creating either a standard make file project or a managed make project for C or C++. Furthermore, the CDT has a wizard for converting a normal project to a C/C++ project.

If we look at eScript, the only appropriate wizard type seems to be the creation of an eScript file, where the user would choose whether the generated code should include the definition of a feature and an update site. An extra wizard page could be added to generate code to implement plug-ins that contribute a view, editor, and so on.

When certain wizards are used frequently, consider showing them in the toolbar by contributing an action set.

For instructions on writing wizards, look at Help > Platform Plug-in Developer Guide > Programmer’s Guide > Dialogs and Wizards > Wizards.

See Also:


This FAQ was originally published in Official Eclipse 3.0 FAQs. Copyright 2004, Pearson Education, Inc. All rights reserved. This text is made available here under the terms of the Eclipse Public License v1.0.