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">
contentTypeId="net.mograsim.plugin.asm"
editorId="org.eclipse.ui.genericeditor.GenericEditor">
</editorContentTypeBinding>
- <editorContentTypeBinding
- contentTypeId="net.mograsim.plugin.mpm"
- editorId="net.mograsim.plugin.tables.mi.InstructionView">
- </editorContentTypeBinding>
<editor
name="%editor.name.0"
icon="icons/mograsim/blue-orange/icon_blue-orange_16.png"
class="net.mograsim.plugin.tables.mi.InstructionView"
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
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"
name="%command.name">
</command>
</extension>
-
+ <extension
+ point="org.eclipse.ui.newWizards">
+ <category
+ name="%wizards.newWizards.category"
+ id="net.mograsim.plugin.wizards.newWizards.category">
+ </category>
+ <wizard
+ id="net.mograsim.plugin.wizards.newWizards.NewWizardMPM"
+ name="%wizards.newWizards.mpm.name"
+ class="net.mograsim.plugin.wizards.newWizards.NewWizardMPM"
+ category="net.mograsim.plugin.wizards.newWizards.category"
+ icon="icons/mograsim/blue-orange/icon_blue-orange_16.png">
+ <description>%wizards.newWizards.mpm.desc</description>
+ <selection class="org.eclipse.core.resources.IResource"/>
+ </wizard>
+ </extension>
+ <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">
+ </renderingBindings>
+ </extension>
</plugin>