Introduced a wizard for new MPROMs
authorDaniel Kirschten <daniel.kirschten@gmx.de>
Thu, 15 Oct 2020 15:08:26 +0000 (17:08 +0200)
committerDaniel Kirschten <daniel.kirschten@gmx.de>
Thu, 15 Oct 2020 15:08:26 +0000 (17:08 +0200)
plugins/net.mograsim.plugin.core.nl_de/OSGI-INF/l10n/bundle_de.properties
plugins/net.mograsim.plugin.core/OSGI-INF/l10n/bundle.properties
plugins/net.mograsim.plugin.core/plugin.xml
plugins/net.mograsim.plugin.core/src/net/mograsim/plugin/wizards/newWizards/NewWizardMPROM.java [new file with mode: 0644]

index e69d3c4..9286b1d 100644 (file)
@@ -44,6 +44,8 @@ wizards.newWizards.mpm.name = Microprogram Memory
 wizards.newWizards.mpm.desc = Erstelle eine neue Mikroprogrammspeicherdatei
 wizards.newWizards.mem.name = Hauptspeicher
 wizards.newWizards.mem.desc = Erstelle eine neue Hauptspeicherdatei
+wizards.newWizards.mprom.name = Mapping-PROM
+wizards.newWizards.mprom.desc = Erstelle ein neues Mapping-PROM
 wizards.newWizards.project.name = Mograsim Project
 wizards.newWizards.project.desc = Erstelle ein neues Mograsimprojekt mit einer benutzerdefinierten Maschine
 Bundle-Vendor.0 = Mograsim Team
\ No newline at end of file
index 3628250..aa940d1 100644 (file)
@@ -44,6 +44,8 @@ wizards.newWizards.mpm.name = Microprogram Memory
 wizards.newWizards.mpm.desc = Creates a default new Microprogram Memory
 wizards.newWizards.mem.name = Main Memory
 wizards.newWizards.mem.desc = Creates a default new Main Memory
+wizards.newWizards.mprom.name = Mapping PROM
+wizards.newWizards.mprom.desc = Creates a default new Mapping PROM
 wizards.newWizards.project.name = Mograsim Project
 wizards.newWizards.project.desc = Creates a new Mograsim Project using a machine selected by the user
 Bundle-Vendor.0 = Mograsim Team
\ No newline at end of file
index 9e8b8cf..2663a05 100644 (file)
                        <description>%wizards.newWizards.mem.desc</description>
                        <selection class="org.eclipse.core.resources.IResource"/>
                </wizard>
+               <wizard
+                       id="net.mograsim.plugin.wizards.newWizards.NewWizardMPROM"
+                       name="%wizards.newWizards.mprom.name"
+                       class="net.mograsim.plugin.wizards.newWizards.NewWizardMPROM"
+                       category="net.mograsim.plugin.wizards.newWizards.category"
+                       icon="icons/mograsim/blue-orange/icon_blue-orange_16.png">
+                       <description>%wizards.newWizards.mprom.desc</description>
+                       <selection class="org.eclipse.core.resources.IResource"/>
+               </wizard>
   <wizard
         category="net.mograsim.plugin.wizards.newWizards.category"
         class="net.mograsim.plugin.wizards.newWizards.NewMograsimProject"
diff --git a/plugins/net.mograsim.plugin.core/src/net/mograsim/plugin/wizards/newWizards/NewWizardMPROM.java b/plugins/net.mograsim.plugin.core/src/net/mograsim/plugin/wizards/newWizards/NewWizardMPROM.java
new file mode 100644 (file)
index 0000000..8d108cb
--- /dev/null
@@ -0,0 +1,17 @@
+package net.mograsim.plugin.wizards.newWizards;
+
+public class NewWizardMPROM extends BasicNewWizard
+{
+       @Override
+       public boolean performFinish()
+       {
+               setFileExtension("mprom");
+               return super.performFinish();
+       }
+
+       @Override
+       public String getWindowTitle()
+       {
+               return "Create new Mapping PROM";
+       }
+}