Class parameter in newWizard of Plugin.xml [message #254282] |
Thu, 26 June 2008 15:43  |
Eclipse User |
|
|
|
When I was browsing through the plugin.xml of org.eclipse.jdt.ui, found
that New Class Wizard declaration has specified a parameter to the class,
which is not supported to be specified using the Extension Editor tab.
I believe this is used to pass a parameter to a Class, so that same class
can be used to support multiple Wizards. The plugin.xml I'm referring to
is as below.
<wizard
name="%NewJavaClass.label"
icon="$nl$/icons/full/etool16/newclass_wiz.gif"
category="org.eclipse.jdt.ui.java"
id="org.eclipse.jdt.ui.wizards.NewClassCreationWizard">
<class
class="org.eclipse.jdt.internal.ui.wizards.NewClassCreationWizard ">
<parameter name="javatype" value="true"/>
</class>
<description>
%NewJavaClass.description
</description>
</wizard>
Any idea, how this parameter (name="javatype" value="true") can be read in
the class?
|
|
|
|
Powered by
FUDForum. Page generated in 0.03598 seconds