1 <?xml version="1.0" encoding="UTF-8"?>
\r
2 <?eclipse version="3.4"?>
\r<!--
\r
3 Copyright (c) 2007, 2010 Association for Decentralized Information Management
\r
5 All rights reserved. This program and the accompanying materials
\r
6 are made available under the terms of the Eclipse Public License v1.0
\r
7 which accompanies this distribution, and is available at
\r
8 http://www.eclipse.org/legal/epl-v10.html
\r
11 VTT Technical Research Centre of Finland - initial API and implementation
\r
16 point="org.eclipse.ui.views">
\r
18 category="org.simantics.modeling.category"
\r
19 class="org.simantics.structural.ui.modelBrowser.ModelBrowser2"
\r
20 icon="icons/chart_organisation.png"
\r
21 id="org.simantics.structural.ui.modelBrowser2"
\r
22 name="Model Browser"
\r
25 Generic browser for structural models.
\r
30 <extension point="org.simantics.browsing.ui.common.viewpointContributionBinding">
\r
31 <binding browseContext="http://www.simantics.org/Structural-0.0/ModelBrowser">
\r
32 <implementation class="org.simantics.structural.ui.modelBrowser.contributions.ProjectModels" preference="1.0"/>
\r
34 class="org.simantics.structural.ui.modelBrowser.contributions.ProjectComponentTypes"
\r
37 <implementation class="org.simantics.structural.ui.modelBrowser.contributions.ExperimentRuns" preference="1.0"/>
\r
38 <implementation class="org.simantics.structural.ui.modelBrowser.contributions.Experiments" preference="1.0"/>
\r
39 <implementation class="org.simantics.structural.ui.modelBrowser.contributions.ModelConfiguration" preference="1.0"/>
\r
40 <implementation class="org.simantics.structural.ui.modelBrowser.contributions.ModelExperiments" preference="1.0"/>
\r
42 class="org.simantics.structural.ui.modelBrowser.contributions.ComponentTypeDefinition"
\r
45 <implementation class="org.simantics.structural.ui.modelBrowser.contributions.CompositeComponents" preference="1.0"/>
\r
49 point="org.simantics.browsing.ui.common.labelerBinding">
\r
50 <binding browseContext="http://www.simantics.org/Structural-0.0/ModelBrowser">
\r
51 <implementation class="org.simantics.browsing.ui.graph.contributor.layer0.StringAdapter" preference="0.0" />
\r
52 <implementation class="org.simantics.structural.ui.modelBrowser.contributions.AbstractNodeLabeler" preference="1.0"/>
\r
53 <implementation class="org.simantics.structural.ui.modelBrowser.contributions.ExperimentLabeler" preference="2.0"/>
\r
54 <implementation class="org.simantics.structural.ui.modelBrowser.contributions.ExperimentsLabeler" preference="2.0"/>
\r
55 <implementation class="org.simantics.structural.ui.modelBrowser.contributions.ConnectionLabeler" preference="2.0"/>
\r
59 point="org.simantics.browsing.ui.common.imagerBinding">
\r
60 <binding browseContext="http://www.simantics.org/Structural-0.0/ModelBrowser">
\r
61 <implementation class="org.simantics.browsing.ui.swt.ImageDescriptorProviderAdapter" preference="0.0" />
\r
62 <implementation class="org.simantics.structural.ui.modelBrowser.contributions.ExperimentsImager" preference="2.0"/>
\r
63 <implementation class="org.simantics.structural.ui.modelBrowser.contributions.AbstractNodeImager" preference="1.0"/>
\r
67 point="org.simantics.browsing.ui.common.labelDecoratorBinding">
\r
68 <binding browseContext="http://www.simantics.org/Structural-0.0/ModelBrowser">
\r
69 <implementation class="org.simantics.structural.ui.modelBrowser.contributions.RunLabelDecorator" preference="2.0"/>
\r
71 class="org.simantics.structural.ui.modelBrowser.contributions.ComponentLabelDecorator"
\r
77 point="org.simantics.ui.resourceEditorAdapter">
\r
79 class="org.simantics.structural.ui.compositeViewer.CompositeViewerAdapter"
\r
80 id="org.simantics.structural.ui.compositeViewer"
\r
85 point="org.eclipse.ui.editors">
\r
87 class="org.simantics.structural.ui.compositeViewer.CompositeViewer"
\r
89 id="org.simantics.structural.ui.compositeViewer"
\r
90 matchingStrategy="org.simantics.ui.workbench.editor.input.ResourceEditorInputMatchingStrategy"
\r
91 name="Composite Viewer">
\r
95 point="org.eclipse.ui.menus">
\r
97 locationURI="popup:#GraphExplorerPopup?after=new.begin">
\r
99 class="org.simantics.structural.ui.menuContributions.ShowAllChildrenContribution"
\r
100 id="org.simantics.structural.ui.showAllChildren">
\r
103 id="org.simantics.new"
\r
118 </menuContribution>
\r
120 Disabled for now because the UI does not currently react to the state of this preference
\r
122 locationURI="toolbar:org.simantics.structural.ui.modelBrowser2?after=additions">
\r
124 class="org.simantics.structural.ui.modelBrowser.LinkWithEditor"
\r
125 id="org.simantics.structural.ui.modelBrowser.linkWithEditor">
\r
127 </menuContribution>
\r