Non-default values are now highlighted in the InstructionTable
[Mograsim.git] / plugins / net.mograsim.plugin.core / plugin.xml
index e9c762a..e431d6e 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.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"
+            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">
             inject="true"
             name="%view.name">
       </view>
-      <view
-            allowMultiple="true"
-            category="net.mograsim.plugin"
-            class="net.mograsim.plugin.views.LogicUIPart"
-            icon="icons/mograsim/blue-orange/icon_blue-orange_16.png"
-            id="net.mograsim.plugin.core.view1"
-            inject="true"
-            name="%view.name.0"
-            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">
+      </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.modified_cell_bg_color"
+            isEditable="true"
+            label="%colorDefinition.label.11"
+            value="COLOR_BLUE">
+      </colorDefinition>
+      <colorDefinition
+            categoryId="net.mograsim.plugin.mi"
+            id="net.mograsim.plugin.modified_cell_fg_color"
+            isEditable="true"
+            label="%colorDefinition.label.12"
+            value="COLOR_WHITE">
+      </colorDefinition>
    </extension>
    <extension
          point="org.eclipse.ui.preferencePages">
                        <selection class="org.eclipse.core.resources.IResource"/>
                </wizard>
        </extension>
-</plugin>
\ No newline at end of file
+</plugin>