<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.4"?>
<plugin>
+ <extension
+ point="org.eclipse.core.expressions.definitions">
+ <definition
+ id="net.mograsim.plugin.core.hasNature">
+ <adapt
+ type="org.eclipse.core.resources.IProject">
+ <test
+ property="org.eclipse.core.resources.projectNature"
+ value="net.mograsim.plugin.core.mograsimNature">
+ </test>
+ </adapt>
+ </definition>
+ </extension>
<extension
point="org.eclipse.core.contenttype.contentTypes">
name="%content-type.name"
priority="high">
</content-type>
+ <content-type
+ base-type="org.eclipse.core.runtime.text"
+ default-charset="UTF-8"
+ file-extensions="mpm"
+ id="net.mograsim.plugin.mpm"
+ 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>
+ <content-type
+ base-type="org.eclipse.core.runtime.text"
+ default-charset="UTF-8"
+ file-extensions="mprom"
+ id="net.mograsim.plugin.mprom"
+ name="%content-type.mprom.name"
+ priority="high">
+ </content-type>
+ </extension>
+ <extension
+ point="org.eclipse.ui.menus">
+ <menuContribution
+ locationURI="popup:org.eclipse.ui.projectConfigure">
+ <command
+ commandId="net.mograsim.plugin.core.addMograsimNature"
+ label="%command.label"
+ style="push">
+ <visibleWhen
+ checkEnabled="false">
+ <not>
+ <reference
+ definitionId="net.mograsim.plugin.core.hasNature">
+ </reference>
+ </not>
+ </visibleWhen>
+ </command>
+ </menuContribution>
+ </extension>
+ <extension
+ id="mograsimNature"
+ name="%extension.name.0"
+ point="org.eclipse.core.resources.natures">
+ <runtime>
+ <run
+ class="net.mograsim.plugin.nature.MograsimNature">
+ </run>
+ </runtime>
+ <builder
+ id="net.mograsim.plugin.nature.mograsimBuilder">
+ </builder>
</extension>
<extension
point="org.eclipse.ui.editors">
- <editorContentTypeBinding
+ <!-- editorContentTypeBinding
contentTypeId="net.mograsim.plugin.asm"
editorId="org.eclipse.ui.genericeditor.GenericEditor">
- </editorContentTypeBinding>
+ </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.MPROMEditor"
+ icon="icons/mograsim/blue-orange/icon_blue-orange_16.png"
+ id="net.mograsim.plugin.editors.mpromeditor"
+ name="MPROM Editor">xcdys
+ <contentTypeBinding
+ contentTypeId="net.mograsim.plugin.mprom">
+ </contentTypeBinding>
+ </editor>
+ <editor
+ class="net.mograsim.plugin.editors.MainMemoryEditor"
+ icon="icons/mograsim/blue-orange/icon_blue-orange_16.png"
+ id="net.mograsim.plugin.editors.mainmemoryeditor"
+ name="Main Memory Editor">
+ xcdys
+ <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.view1"
- 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>
- <view
- category="net.mograsim.plugin"
- id="net.mograsim.plugin.tables.mi.InstructionView"
- class="net.mograsim.plugin.tables.mi.InstructionView"
- icon="icons/mograsim/blue-orange/icon_blue-orange_16.png"
- name="%view.name.2">
- </view>
</extension>
<extension
id="net.mograsim.plugin.nature.mograsimBuilder"
</builder>
</extension>
<extension
- id="mograsimNature"
- name="%extension.name.0"
- point="org.eclipse.core.resources.natures">
- <runtime>
- <run
- class="net.mograsim.plugin.nature.MograsimNature">
- </run>
- </runtime>
- <builder
- id="net.mograsim.plugin.nature.mograsimBuilder">
- </builder>
- </extension>
- <extension
- point="org.eclipse.ui.commands">
- <category
- id="net.mograsim.plugin.mograsimNature.category"
- name="%category.name.0">
- </category>
- <command
- categoryId="net.mograsim.plugin.mograsimNature.category"
- defaultHandler="net.mograsim.plugin.nature.AddRemoveMograsimNatureHandler"
- id="net.mograsim.plugin.addRemoveMograsimNature"
- name="%command.name">
- </command>
- </extension>
- <extension
- point="org.eclipse.ui.menus">
- <menuContribution
- locationURI="popup:org.eclipse.ui.projectConfigure?after=additions">
- <command
- commandId="net.mograsim.plugin.addRemoveMograsimNature"
- label="%command.label"
- style="push">
- <visibleWhen
- checkEnabled="false">
- <with
- variable="selection">
- <count
- value="1">
- </count>
- <iterate>
- <adapt
- type="org.eclipse.core.resources.IProject">
- <test
- property="org.eclipse.core.resources.projectNature"
- value="net.mograsim.plugin.mograsimNature">
- </test>
- </adapt>
- </iterate>
- </with>
- </visibleWhen>
- </command>
- <command
- commandId="net.mograsim.plugin.addRemoveMograsimNature"
- label="%command.label.0"
- style="push">
- <visibleWhen
- checkEnabled="false">
- <with
- variable="selection">
- <count
- value="1">
- </count>
- <iterate>
- <adapt
- type="org.eclipse.core.resources.IProject">
- <not>
- <test
- property="org.eclipse.core.resources.projectNature"
- value="net.mograsim.plugin.mograsimNature">
- </test>
- </not>
- </adapt>
- </iterate>
- </with>
- </visibleWhen>
- </command>
- </menuContribution>
- </extension>
- <extension
- id="xmlProblem"
+ id="asmProblem"
name="%extension.name.1"
point="org.eclipse.core.resources.markers">
<super
value="true">
</persistent>
</extension>
- <extension
- point="org.eclipse.ui.decorators">
- <decorator
- adaptable="true"
- icon="icons/mograsim/blue-orange/icon_blue-orange_7x8.png"
- id="net.mograsim.plugin.decorator"
- label="%decorator.label"
- lightweight="true"
- location="BOTTOM_RIGHT"
- state="true">
- <enablement>
- <and>
- <objectClass
- name="org.eclipse.core.resources.IResource">
- </objectClass>
- <or>
- <objectClass
- name="org.eclipse.core.resources.IProject">
- </objectClass>
- <objectClass
- name="org.eclipse.core.resources.IFile">
- </objectClass>
- </or>
- </and>
- </enablement>
- </decorator>
- </extension>
<extension
point="org.eclipse.ui.themes">
<themeElementCategory
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">
+ <page
+ class="net.mograsim.plugin.MainPreferencePage"
+ id="net.mograsim.plugin.core.mainprefpage"
+ name="Mograsim">
+ </page>
+ </extension>
+ <extension
+ point="org.eclipse.ui.propertyPages">
+ <page
+ class="net.mograsim.plugin.nature.properties.MograsimNaturePropertyPage"
+ id="net.mograsim.plugin.nature.properties.samplePropertyPage"
+ name="Mograsim">
+ <enabledWhen>
+ <reference
+ definitionId="net.mograsim.plugin.core.hasNature">
+ </reference>
+ </enabledWhen>
+ </page>
+ </extension>
+ <extension
+ point="org.eclipse.ui.ide.projectNatureImages">
+ <image
+ icon="icons/mograsim/blue-orange/icon_blue-orange_7x8.png"
+ id="net.mograsim.plugin.core.nature.icon"
+ natureId="net.mograsim.plugin.core.mograsimNature">
+ </image>
+ </extension>
+ <extension
+ point="org.eclipse.ui.commands">
+ <category
+ id="net.mograsim.plugin.mograsimNature.category"
+ name="%category.name.0">
+ </category>
+ <command
+ categoryId="net.mograsim.plugin.mograsimNature.category"
+ defaultHandler="net.mograsim.plugin.nature.AddMograsimNatureHandler"
+ id="net.mograsim.plugin.core.addMograsimNature"
+ 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>
+ <wizard
+ id="net.mograsim.plugin.wizards.newWizards.NewWizardMEM"
+ name="%wizards.newWizards.mem.name"
+ class="net.mograsim.plugin.wizards.newWizards.NewWizardMEM"
+ category="net.mograsim.plugin.wizards.newWizards.category"
+ icon="icons/mograsim/blue-orange/icon_blue-orange_16.png">
+ <description>%wizards.newWizards.mem.desc</description>
+ <selection class="org.eclipse.core.resources.IResource"/>
+ </wizard>
+ <wizard
+ id="net.mograsim.plugin.wizards.newWizards.NewWizardMPROM"
+ name="%wizards.newWizards.mprom.name"
+ class="net.mograsim.plugin.wizards.newWizards.NewWizardMPROM"
+ category="net.mograsim.plugin.wizards.newWizards.category"
+ icon="icons/mograsim/blue-orange/icon_blue-orange_16.png">
+ <description>%wizards.newWizards.mprom.desc</description>
+ <selection class="org.eclipse.core.resources.IResource"/>
+ </wizard>
+ <wizard
+ category="net.mograsim.plugin.wizards.newWizards.category"
+ class="net.mograsim.plugin.wizards.newWizards.NewMograsimProject"
+ descriptionImage="icons/mograsim/logo/logo_blue-orange_128.png"
+ finalPerspective="net.mograsim.plugin.core.mograsimDefaultPerspective"
+ icon="icons/mograsim/blue-orange/icon_blue-orange_16.png"
+ id="net.mograsim.plugin.wizards.newWizards.NewProjectWizzard"
+ name="%wizards.newWizards.project.name"
+ project="true">
+ <description>
+ %wizards.newWizards.project.desc
+ </description>
+ <selection
+ class="org.eclipse.core.resources.IResource">
+ </selection>
+ </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,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>
+ <extension
+ point="org.eclipse.ui.perspectives">
+ <perspective
+ class="net.mograsim.plugin.perspectives.MograsimPerspective"
+ icon="icons/mograsim/blue-orange/icon_blue-orange_16.png"
+ id="net.mograsim.plugin.core.mograsimDefaultPerspective"
+ name="Mograsim">
+ </perspective>
+ </extension>
+ <extension
+ point="org.eclipse.ui.perspectiveExtensions">
+ <perspectiveExtension
+ targetID="net.mograsim.plugin.core.mograsimDefaultPerspective">
+ <newWizardShortcut
+ id="net.mograsim.plugin.wizards.newWizards.NewWizardMEM">
+ </newWizardShortcut>
+ <newWizardShortcut
+ id="net.mograsim.plugin.wizards.newWizards.NewWizardMPM">
+ </newWizardShortcut>
+ <viewShortcut
+ id="net.mograsim.plugin.simulationview">
+ </viewShortcut>
+ <viewShortcut
+ id="org.eclipse.debug.ui.MemoryView">
+ </viewShortcut>
+ <viewShortcut
+ id="org.eclipse.debug.ui.DebugView">
+ </viewShortcut>
+ <viewShortcut
+ id="org.eclipse.debug.ui.RegisterView">
+ </viewShortcut>
+ <viewShortcut
+ id="org.eclipse.ui.navigator.ProjectExplorer">
+ </viewShortcut>
+ <perspectiveShortcut
+ id="net.mograsim.plugin.core.mograsimDefaultPerspective">
+ </perspectiveShortcut>
+ <perspectiveShortcut
+ id="org.eclipse.ui.resourcePerspective">
+ </perspectiveShortcut>
+ <view
+ id="org.eclipse.ui.navigator.ProjectExplorer"
+ minimized="false"
+ ratio="0.18"
+ relationship="left"
+ relative="org.eclipse.ui.editorss">
+ </view>
+ <view
+ id="org.eclipse.debug.ui.DebugView"
+ minimized="false"
+ relationship="stack"
+ relative="org.eclipse.ui.navigator.ProjectExplorer">
+ </view>
+ <view
+ id="org.eclipse.debug.ui.MemoryView"
+ minimized="false"
+ ratio="0.82"
+ relationship="right"
+ relative="org.eclipse.ui.editorss">
+ </view>
+ <view
+ id="org.eclipse.debug.ui.RegisterView"
+ minimized="false"
+ ratio="0.5"
+ relationship="top"
+ relative="org.eclipse.debug.ui.MemoryView">
+ </view>
+ <view
+ id="net.mograsim.plugin.simulationview"
+ minimized="false"
+ ratio="0.35"
+ relationship="bottom"
+ relative="org.eclipse.ui.editorss"
+ visible="true">
+ </view>
+ <actionSet
+ id="org.eclipse.debug.ui.debugActionSet">
+ </actionSet>
+ <actionSet
+ id="org.eclipse.debug.ui.launchActionSet">
+ </actionSet>
+ <newWizardShortcut
+ id="net.mograsim.plugin.wizards.newWizards.NewProjectWizzard">
+ </newWizardShortcut>
+ </perspectiveExtension>
+ <perspectiveExtension
+ targetID="org.eclipse.ui.resourcePerspective">
+ <perspectiveShortcut
+ id="net.mograsim.plugin.core.mograsimDefaultPerspective">
+ </perspectiveShortcut>
+ </perspectiveExtension>
+ <perspectiveExtension
+ targetID="org.eclipse.jdt.ui.JavaPerspective">
+ <perspectiveShortcut
+ id="net.mograsim.plugin.core.mograsimDefaultPerspective">
+ </perspectiveShortcut>
+ </perspectiveExtension>
+ </extension>
</plugin>