MemoryEditor Font can now be configured
[Mograsim.git] / plugins / net.mograsim.plugin.core / plugin.xml
index 76a2161..8e00c1f 100644 (file)
             name="%content-type.mpm.name"
             priority="high">
       </content-type>
+      <content-type
+            base-type="org.eclipse.core.runtime.text"
+            default-charset="UTF-8"
+            file-extensions="regs"
+            id="net.mograsim.plugin.regs"
+            name="Registers / Latches state"
+            priority="high">
+      </content-type>
+      <content-type
+            base-type="org.eclipse.core.runtime.text"
+            default-charset="UTF-8"
+            file-extensions="mem"
+            id="net.mograsim.plugin.mem"
+            name="Main Memory"
+            priority="high">
+      </content-type>
    </extension>
    <extension
          point="org.eclipse.ui.menus">
                id="net.mograsim.plugin.tables.mi.InstructionView">
                <contentTypeBinding contentTypeId="net.mograsim.plugin.mpm"/>
       </editor>
+      <editor
+            class="net.mograsim.plugin.editors.MemoryEditor"
+            icon="icons/mograsim/blue-orange/icon_blue-orange_16.png"
+            id="net.mograsim.plugin.editors.memoryeditor"
+            name="Memory Editor">
+         <contentTypeBinding
+               contentTypeId="net.mograsim.plugin.mem">
+         </contentTypeBinding>
+      </editor>
    </extension>
    <extension
          point="org.eclipse.ui.genericeditor.presentationReconcilers">
             name="%view.name">
       </view>
       <view
-            allowMultiple="true"
             category="net.mograsim.plugin"
-            class="net.mograsim.plugin.views.LogicUIPart"
+            class="net.mograsim.plugin.views.SimulationView"
             icon="icons/mograsim/blue-orange/icon_blue-orange_16.png"
-            id="net.mograsim.plugin.core.simulationView"
-            inject="true"
-            name="%view.name.0"
+            id="net.mograsim.plugin.simulationview"
+            name="Simulation View"
             restorable="true">
       </view>
-      <view
-            category="net.mograsim.plugin"
-               id="net.mograsim.plugin.tables.memory.MemoryView"
-               class="net.mograsim.plugin.tables.memory.MemoryView"
-            icon="icons/mograsim/blue-orange/icon_blue-orange_16.png"
-               name="%view.name.1">
-      </view>
    </extension>
    <extension
          id="net.mograsim.plugin.nature.mograsimBuilder"
             label="%themeElementCategory.label.0"
             parentId="net.mograsim.plugin.mograsim">
       </themeElementCategory>
+      <themeElementCategory
+            class="net.mograsim.plugin.SimulationPreview"
+            id="net.mograsim.plugin.mi"
+            label="%themeElementCategory.label.1"
+            parentId="net.mograsim.plugin.mograsim">
+      </themeElementCategory>
+      <themeElementCategory
+            class="net.mograsim.plugin.SimulationPreview"
+            id="net.mograsim.plugin.memory"
+            label="%themeElementCategory.label.2"
+            parentId="net.mograsim.plugin.mograsim">
+      </themeElementCategory>
       <colorDefinition
             categoryId="net.mograsim.logic.model"
             id="net.mograsim.logic.model.color.background"
             isEditable="true"
             label="%fontDefinition.label">
       </fontDefinition>
+      <colorDefinition
+            categoryId="net.mograsim.plugin.mi"
+            id="net.mograsim.plugin.mi.modified_cell_bg_color"
+            isEditable="true"
+            label="%colorDefinition.label.11"
+            value="COLOR_GREEN">
+      </colorDefinition>
+      <colorDefinition
+            categoryId="net.mograsim.plugin.mi"
+            id="net.mograsim.plugin.mi.modified_cell_fg_color"
+            isEditable="true"
+            label="%colorDefinition.label.12"
+            value="COLOR_BLACK">
+      </colorDefinition>
+      <colorDefinition
+            categoryId="net.mograsim.plugin.mi"
+            id="net.mograsim.plugin.mi.highlighted_cell_bg_color"
+            isEditable="true"
+            label="%colorDefinition.label.13"
+            value="COLOR_YELLOW">
+      </colorDefinition>
+      <colorDefinition
+            categoryId="net.mograsim.plugin.mi"
+            id="net.mograsim.plugin.mi.highlighted_cell_fg_color"
+            isEditable="true"
+            label="%colorDefinition.label.14"
+            value="COLOR_BLACK">
+      </colorDefinition>
+      <fontDefinition
+            categoryId="net.mograsim.plugin.mi"
+            id="net.mograsim.plugin.mi.table_font"
+            isEditable="true"
+            label="%fontDefinition.label.0">
+      </fontDefinition>
+      <fontDefinition
+            categoryId="net.mograsim.plugin.memory"
+            id="net.mograsim.plugin.memory.table_font"
+            isEditable="true"
+            label="%fontDefinition.label.1">
+      </fontDefinition>
    </extension>
    <extension
          point="org.eclipse.ui.preferencePages">
                        <selection class="org.eclipse.core.resources.IResource"/>
                </wizard>
        </extension>
-</plugin>
\ No newline at end of file
+ <extension
+       point="org.eclipse.debug.core.launchConfigurationTypes">
+    <launchConfigurationType
+          delegate="net.mograsim.plugin.launch.MachineLaunchConfigType"
+          id="net.mograsim.plugin.core.launchmachine.type"
+          modes="run, debug"
+          name="Mograsim machine">
+    </launchConfigurationType>
+ </extension>
+ <extension
+       point="org.eclipse.debug.ui.launchConfigurationTabGroups">
+    <launchConfigurationTabGroup
+          class="net.mograsim.plugin.launch.EmptyLaunchConfigTabGroup"
+          id="net.mograsim.plugin.core.launchmachine.tabgroup"
+          type="net.mograsim.plugin.core.launchmachine.type">
+    </launchConfigurationTabGroup>
+ </extension>
+ <extension
+       point="org.eclipse.debug.ui.launchConfigurationTabs">
+    <tab
+          class="net.mograsim.plugin.launch.MainMachineLaunchConfigTab"
+          group="net.mograsim.plugin.core.launchmachine.tabgroup"
+          id="net.mograsim.plugin.core.launchmachine.maintab"
+          name="Common">
+    </tab>
+ </extension>
+ <extension
+       point="org.eclipse.debug.ui.launchConfigurationTypeImages">
+    <launchConfigurationTypeImage
+          configTypeID="net.mograsim.plugin.core.launchmachine.type"
+          icon="icons/mograsim/orange/icon_orange_16.png"
+          id="net.mograsim.plugin.core.launchmachine.image">
+    </launchConfigurationTypeImage>
+ </extension>
+ <extension
+       point="org.eclipse.debug.ui.memoryRenderings">
+    <renderingBindings
+          defaultIds="org.eclipse.debug.ui.rendering.raw_memory"
+          primaryId="org.eclipse.debug.ui.rendering.raw_memory"
+          renderingIds="org.eclipse.debug.ui.rendering.raw_memory,org.eclipse.debug.ui.rendering.hexint,org.eclipse.debug.ui.rendering.signedint,org.eclipse.debug.ui.rendering.unsignedint,org.eclipse.debug.ui.rendering.ascii">
+    </renderingBindings>
+ </extension>
+</plugin>