blob: c6cfed4966cf385d55699dfdeb81c4fb79c84ca1 [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.0"?>
<plugin>
<extension point="org.eclipse.emf.ecore.extension_parser">
<parser
type="mmd"
class="org.eclipse.gmf.runtime.emf.core.resources.GMFResourceFactory">
</parser>
</extension>
<extension point="org.eclipse.ui.editors">
<editor
id="org.eclipse.amalgam.examples.mindmap.diagram.editor.MindmapDiagramEditorID"
name="%editorName"
icon="icons/obj16/MindmapDiagramFile.gif"
extensions="mmd"
default="true"
class="org.eclipse.amalgam.examples.mindmap.diagram.editor.MindmapDiagramEditor"
matchingStrategy="org.eclipse.gmf.runtime.diagram.ui.resources.editor.parts.DiagramDocumentEditorMatchingStrategy"
contributorClass="org.eclipse.amalgam.examples.mindmap.diagram.editor.MindmapDiagramActionBarContributor">
</editor>
</extension>
<extension point="org.eclipse.ui.newWizards">
<wizard
category="org.eclipse.ui.Examples"
class="org.eclipse.amalgam.examples.mindmap.diagram.wizards.MindmapDiagramCreationWizard"
icon="icons/obj16/MindmapDiagramFile.gif"
id="org.eclipse.amalgam.examples.mindmap.diagram.wizards.MindmapCreationWizardID"
name="%newWizardName">
<description>%newWizardDesc</description>
</wizard>
</extension>
<extension point="org.eclipse.gmf.runtime.diagram.core.viewProviders">
<viewProvider class="org.eclipse.amalgam.examples.mindmap.diagram.providers.MindmapViewProvider">
<Priority name="Lowest"/>
</viewProvider>
</extension>
<extension point="org.eclipse.gmf.runtime.diagram.ui.editpartProviders">
<editpartProvider class="org.eclipse.amalgam.examples.mindmap.diagram.providers.MindmapEditPartProvider">
<Priority name="Lowest"/>
</editpartProvider>
</extension>
<extension point="org.eclipse.gmf.runtime.diagram.ui.editpolicyProviders">
<editpolicyProvider class="org.eclipse.amalgam.examples.mindmap.diagram.providers.MindmapEditPolicyProvider">
<Priority name="Lowest"/>
</editpolicyProvider>
</extension>
<extension point="org.eclipse.gmf.runtime.emf.type.core.elementTypes">
<metamodel nsURI="http://www.eclipse.org/2008/mindmap">
<metamodelType
id="org.eclipse.amalgam.examples.mindmap.diagram.Map"
icon="icons/obj16/MindmapDiagramFile.gif"
name="Map"
eclass="Map"
kind="org.eclipse.gmf.runtime.emf.type.core.IHintedType">
<param name="semanticHint" value="Map"/>
</metamodelType>
<metamodelType
id="org.eclipse.amalgam.examples.mindmap.diagram.Topic"
icon="icons/obj16/MindmapDiagramFile.gif"
name="Topic"
eclass="Topic"
kind="org.eclipse.gmf.runtime.emf.type.core.IHintedType">
<param name="semanticHint" value="Topic"/>
</metamodelType>
<specializationType
id="org.eclipse.amalgam.examples.mindmap.diagram.Subtopic"
icon="icons/obj16/Link.gif"
name="Subtopic"
kind="org.eclipse.gmf.runtime.emf.type.core.IHintedType">
<param name="semanticHint" value="Subtopic"/>
<specializes id="org.eclipse.gmf.runtime.emf.type.core.null"/>
</specializationType>
</metamodel>
</extension>
<!--
<extension point="org.eclipse.gmf.runtime.emf.type.core.elementTypeBindings">
<clientContext id="mindmapClientContext">
<enablement>
<test
property="org.eclipse.gmf.runtime.emf.core.editingDomain"
value="org.eclipse.amalgam.examples.mindmap.diagram.EditingDomain"/>
</enablement>
</clientContext>
<binding context="mindmapBindingContext">
<elementType pattern="org.eclipse.amalgam.examples.mindmap.*"/>
<advice ref="org.eclipse.gmf.runtime.diagram.core.advice.notationDepdendents"/>
<advice ref="org.eclipse.gmf.runtime.diagram.core.advice.removeBookmarks"/>
</binding>
</extension>
-->
<extension point="org.eclipse.gmf.runtime.diagram.ui.paletteProviders">
<paletteProvider class="org.eclipse.gmf.runtime.diagram.ui.providers.DefaultPaletteProvider">
<Priority name="Highest"/>
<editor id="org.eclipse.amalgam.examples.mindmap.diagram.editor.MindmapDiagramEditorID"/>
<contribution factoryClass="org.eclipse.amalgam.examples.mindmap.diagram.providers.MindmapPaletteFactory">
<entry id="nodeDrawer"
label="%palette.node.drawer.label"
kind="drawer"
description="%palette.node.drawer.desc"
path="/"
small_icon="icons/obj16/MindmapDiagramFile.gif">
<expand>
<content/>
</expand>
</entry>
<entry id="Topic"
label="%palette.topic.label"
kind="tool"
description="%palette.topic.desc"
path="/nodeDrawer/"
small_icon="icons/obj16/MindmapDiagramFile.gif"/>
<entry id="linkDrawer"
label="%palette.link.drawer.label"
kind="drawer"
description="%palette.link.drawer.desc"
path="/"
small_icon="icons/obj16/Link.gif">
<expand>
<content/>
</expand>
</entry>
<entry id="Subtopic"
label="%palette.link.label"
kind="tool"
description="%palette.link.desc"
path="/linkDrawer/"
small_icon="icons/obj16/Link.gif"/>
</contribution>
</paletteProvider>
</extension>
<extension point="org.eclipse.ui.views.properties.tabbed.propertyContributor">
<propertyContributor
contributorId="org.eclipse.amalgam.examples.mindmap.diagram"
labelProvider="org.eclipse.amalgam.examples.mindmap.diagram.sheet.MindmapSheetLabelProvider">
<propertyCategory category="domain"/>
<propertyCategory category="visual"/>
<propertyCategory category="extra"/>
</propertyContributor>
</extension>
<extension point="org.eclipse.ui.views.properties.tabbed.propertyTabs">
<propertyTabs contributorId="org.eclipse.amalgam.examples.mindmap.diagram">
<propertyTab
category="visual"
id="property.tab.AppearancePropertySection"
label="%tab.appearance"/>
<propertyTab
category="visual"
id="property.tab.DiagramPropertySection"
label="%tab.diagram"/>
<propertyTab
category="domain"
id="property.tab.domain"
label="%tab.domain"/>
</propertyTabs>
</extension>
<extension point="org.eclipse.ui.views.properties.tabbed.propertySections">
<propertySections contributorId="org.eclipse.amalgam.examples.mindmap.diagram">
<propertySection id="property.section.ConnectorAppearancePropertySection"
filter="org.eclipse.gmf.runtime.diagram.ui.properties.filters.ConnectionEditPartPropertySectionFilter"
class="org.eclipse.gmf.runtime.diagram.ui.properties.sections.appearance.ConnectionAppearancePropertySection"
tab="property.tab.AppearancePropertySection">
</propertySection>
<propertySection id="property.section.ShapeColorAndFontPropertySection"
filter="org.eclipse.gmf.runtime.diagram.ui.properties.filters.ShapeEditPartPropertySectionFilter"
class="org.eclipse.gmf.runtime.diagram.ui.properties.sections.appearance.ShapeColorsAndFontsPropertySection"
tab="property.tab.AppearancePropertySection">
</propertySection>
<propertySection id="property.section.DiagramColorsAndFontsPropertySection"
filter="org.eclipse.gmf.runtime.diagram.ui.properties.filters.DiagramEditPartPropertySectionFilter"
class="org.eclipse.gmf.runtime.diagram.ui.properties.sections.appearance.DiagramColorsAndFontsPropertySection"
tab="property.tab.AppearancePropertySection">
</propertySection>
<propertySection id="property.section.RulerGridPropertySection"
filter="org.eclipse.gmf.runtime.diagram.ui.properties.filters.DiagramEditPartPropertySectionFilter"
class="org.eclipse.gmf.runtime.diagram.ui.properties.sections.grid.RulerGridPropertySection"
tab="property.tab.DiagramPropertySection">
</propertySection>
<propertySection
id="property.section.domain"
tab="property.tab.domain"
class="org.eclipse.amalgam.examples.mindmap.diagram.sheet.MindmapPropertySection">
<input type="org.eclipse.gmf.runtime.notation.View"/>
<input type="org.eclipse.gef.EditPart"/>
</propertySection>
</propertySections>
</extension>
</plugin>