Ignore:
Timestamp:
04/10/09 02:23:56 (11 years ago)
Author:
swagner
Message:

Worked on VS wizard for creating new HeuristicLab plugins (#567)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/Wizards/NewPluginWizard.cs

    r1546 r1547  
    4444    public void RunStarted(object automationObject, Dictionary<string, string> replacementsDictionary, WizardRunKind runKind, object[] customParams) {
    4545      try {
    46         MessageBox.Show("Init");
    4746        using (NewPluginWizardForm form = new NewPluginWizardForm()) {
    4847          if (form.ShowDialog() == DialogResult.OK) {
    49             MessageBox.Show(form.Settings.PluginName + "\n" + form.Settings.PluginVersion);
    50             replacementsDictionary.Add("$PluginName$", form.Settings.PluginName);
     48            MessageBox.Show(form.Settings.PluginName + "\n" + form.Settings.PluginVersion.Trim());
     49            replacementsDictionary.Add("$PluginName$", form.Settings.PluginName.Trim());
     50            replacementsDictionary.Add("$PluginClassName$", form.Settings.PluginName.Replace(".", "").Trim() + "Plugin");
    5151            replacementsDictionary.Add("$PluginVersion$", form.Settings.PluginVersion);
    5252          }
    5353        }
    54         MessageBox.Show("Done");
    5554      }
    5655      catch (Exception ex) {
Note: See TracChangeset for help on using the changeset viewer.