+/*******************************************************************************
+ * Copyright (c) 2019 Association for Decentralized Information Management
+ * in Industry THTH ry.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * VTT Technical Research Centre of Finland - initial API and implementation
+ * Semantum Oy - reorganization
+ *******************************************************************************/
L0 = <http://www.simantics.org/Layer0-1.1>
PROJECT = <http://www.simantics.org/Project-1.2>
MOD = <http://www.simantics.org/Modeling-1.2>
+DIA = <http://www.simantics.org/Diagram-2.2>
STR = <http://www.simantics.org/Structural-1.2>
SEL = <http://www.simantics.org/SelectionView-1.2>
SEL_UI = <http://www.simantics.org/SelectionViewUI-1.1>
L0.IsLinkedTo SEL
L0.IsLinkedTo ANNO
L0.IsLinkedTo TEMPLATE
+ L0.IsLinkedTo MOD
PlatformUI.SCLMain : L0.SCLModule
- L0.SCLModule.definition _ : L0.String
- @L0.loadString "scl/SCLMain.scl"
+ L0.SCLModule.definition """ include "Simantics/PlatformUI" """
PlatformUI.NameLabelMode <T L0.String
@L0.tag L0.Enumeration
PlatformUI.Model <T MOD.StructuralModel
@L0.assert MOD.StructuralModel.HasConfigurationType PlatformUI.Configuration
+ @L0.assert L0.IsLinkedTo PlatformUI
+
PlatformUI.Configuration <T STR.Composite <T L0.RVIContext
PlatformUI.SharedOntology <T MOD.SharedOntology
+ L0.HasLabel "Generic Shared Ontology"
@L0.assert L0.IsLinkedTo PlatformUI
PlatformUI.StandardPropertiesTabContribution : SEL.TypedVariableTabContribution
SEL.TypedVariableTabContribution.HasType L0.Entity
SEL.VariableTabContribution.HasView SEL_UI.StandardProperties
SEL.VariableTabContribution.HasPriority -1
- L0.HasLabel "Properties"
\ No newline at end of file
+ @MOD.scl SEL.VariableTabContribution.transformation "standardPropertiesElementTransformation" "Variable -> <ReadGraph> Variable"
+ L0.HasLabel "Properties"
+
+PlatformUI.StandardElementProperties : SEL.TypedVariableTabContribution
+ SEL.TypedVariableTabContribution.HasType DIA.Element
+ L0.HasLabel "Element Properties"
+ SEL.VariableTabContribution.HasPriority -2
+ SEL.VariableTabContribution.HasView SEL_UI.StandardProperties