[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[pde-dev] get the id value from wizard in plugin.xml
|
Hi all,
I'm trying to develop a plugin for eclipse. In the plugin.xml I defined 2 wizards. Each one as an own id but the same class.
the plugin.xml is this
<plugin>
<extension
point="org.eclipse.ui.newWizards">
<category
id="MyWizards"
name="My wonderful Applicaton">
</category>
<wizard
category="MyWizards"
class="com.app.template.ApplicationWizard"
hasPages="true"
icon="icons/logo.gif"
id="ApplicationInitiated"
name="Application Initiated"
project="true"/>
<wizard
category="MyWizards"
class="com.app.template.ApplicationWizard"
hasPages="true"
icon="icons/logo.gif"
id="NetworkInitiated"
name="Network Triggered"
project="true"/>
</extension>
</plugin>
Now, when I run the plugin, I would like to get the id in the code (the class"com.app.template.ApplicationWizard").
For instance, if I choose "Application Initiated" the id is ApplicationInitiated, if I choose "Network Triggered" the id is NetworkInitiated.
Somebody can help me?
thanks
Passa a
Yahoo! Mail.
La webmail che ti offre GRATIS spazio illimitato, antispam e messenger integrato.