Made simulation view / LogicUIPart to an Editor
[Mograsim.git] / plugins / net.mograsim.plugin.core / plugin.xml
index 76a2161..965c260 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>
    </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>
    </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.simulationView"
-            inject="true"
-            name="%view.name.0"
-            restorable="true">
-      </view>
       <view
             category="net.mograsim.plugin"
                id="net.mograsim.plugin.tables.memory.MemoryView"
                        <selection class="org.eclipse.core.resources.IResource"/>
                </wizard>
        </extension>
-</plugin>
\ No newline at end of file
+</plugin>