1 /*******************************************************************************
2 * Copyright (c) 2019 Association for Decentralized Information Management
4 * All rights reserved. This program and the accompanying materials
5 * are made available under the terms of the Eclipse Public License v1.0
6 * which accompanies this distribution, and is available at
7 * http://www.eclipse.org/legal/epl-v10.html
10 * VTT Technical Research Centre of Finland - initial API and implementation
11 * Semantum Oy - reorganization
12 *******************************************************************************/
13 L0 = <http://www.simantics.org/Layer0-1.1>
14 PROJECT = <http://www.simantics.org/Project-1.2>
15 MOD = <http://www.simantics.org/Modeling-1.2>
16 DIA = <http://www.simantics.org/Diagram-2.2>
17 STR = <http://www.simantics.org/Structural-1.2>
18 SEL = <http://www.simantics.org/SelectionView-1.2>
19 SEL_UI = <http://www.simantics.org/SelectionViewUI-1.1>
20 ANNO = <http://www.simantics.org/Annotation-1.0>
21 TEMPLATE = <http://www.simantics.org/ModelingTemplate2d-1.0>
23 PlatformUI = <http://www.simantics.org/PlatformUI-1.0> : L0.Ontology
25 L0.HasResourceClass "org.simantics.platform.ui.PlatformUIResource"
28 L0.IsLinkedTo TEMPLATE
31 PlatformUI.SCLMain : L0.SCLModule
32 L0.SCLModule.definition """ include "Simantics/PlatformUI" """
34 PlatformUI.NameLabelMode <T L0.String
35 @L0.tag L0.Enumeration
37 PlatformUI.NameLabelMode.Name = "NAME" : L0.String
38 PlatformUI.NameLabelMode.Label = "LABEL" : L0.String
39 PlatformUI.NameLabelMode.NameAndLabel = "NAME_AND_LABEL" : L0.String
40 PlatformUI.NameLabelMode.LabelAndName= "LABEL_AND_NAME" : L0.String
43 >-- PlatformUI.hasNameLabelMode --> PlatformUI.NameLabelMode <R L0.HasProperty : L0.FunctionalRelation
45 PlatformUI.Model <T MOD.StructuralModel
46 @L0.assert MOD.StructuralModel.HasConfigurationType PlatformUI.Configuration
47 @L0.assert L0.IsLinkedTo PlatformUI
49 PlatformUI.Configuration <T STR.Composite <T L0.RVIContext
51 PlatformUI.SharedOntology <T MOD.SharedOntology
52 L0.HasLabel "Generic Shared Ontology"
53 @L0.assert L0.IsLinkedTo PlatformUI
55 PlatformUI.StandardPropertiesTabContribution : SEL.TypedVariableTabContribution
56 SEL.TypedVariableTabContribution.HasType L0.Entity
57 SEL.VariableTabContribution.HasView SEL_UI.StandardProperties
58 SEL.VariableTabContribution.HasPriority -1
59 @MOD.scl SEL.VariableTabContribution.transformation "standardPropertiesElementTransformation" "Variable -> <ReadGraph> Variable"
60 L0.HasLabel "Properties"
62 PlatformUI.StandardElementProperties : SEL.TypedVariableTabContribution
63 SEL.TypedVariableTabContribution.HasType DIA.Element
64 L0.HasLabel "Element Properties"
65 SEL.VariableTabContribution.HasPriority -2
66 SEL.VariableTabContribution.HasView SEL_UI.StandardProperties