MemoryEditor Font can now be configured
[Mograsim.git] / plugins / net.mograsim.plugin.core / plugin.xml
index 6b5cdc5..8e00c1f 100644 (file)
                id="net.mograsim.plugin.tables.mi.InstructionView">
                <contentTypeBinding contentTypeId="net.mograsim.plugin.mpm"/>
       </editor>
-      <editor
-            class="net.mograsim.plugin.editors.SimulationViewEditor"
-            icon="icons/mograsim/blue-orange/icon_blue-orange_16.png"
-            id="net.mograsim.plugin.editors.simulationvieweditor"
-            name="Simulation View Editor">
-               <contentTypeBinding contentTypeId="net.mograsim.plugin.regs"/>
-      </editor>
       <editor
             class="net.mograsim.plugin.editors.MemoryEditor"
             icon="icons/mograsim/blue-orange/icon_blue-orange_16.png"
             inject="true"
             name="%view.name">
       </view>
+      <view
+            category="net.mograsim.plugin"
+            class="net.mograsim.plugin.views.SimulationView"
+            icon="icons/mograsim/blue-orange/icon_blue-orange_16.png"
+            id="net.mograsim.plugin.simulationview"
+            name="Simulation View"
+            restorable="true">
+      </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">
     <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">
+          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>