]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.simantics.document.swt.ontology/graph/SWT.pgraph
Migrated source code from Simantics SVN
[simantics/platform.git] / bundles / org.simantics.document.swt.ontology / graph / SWT.pgraph
1 L0 = <http://www.simantics.org/Layer0-1.1>
2 SEL = <http://www.simantics.org/SelectionView-1.2>
3 DOC = <http://www.simantics.org/Documentation-1.2>
4 STR = <http://www.simantics.org/Structural-1.2>
5
6 SWT = <http://www.simantics.org/SWT-1.0> : L0.Ontology
7     @L0.new
8     L0.HasResourceClass "org.simantics.document.swt.ontology.SWTResources"
9
10 SWT.SCLMain : L0.SCLModule
11   L0.SCLModule.definition _ : L0.String
12       @L0.loadString "scl/SCLMain.scl"
13
14 FUNCTIONS = SWT.Functions
15
16 SWT.TypedVariableTabContribution <T SEL.AbstractTypedVariableTabContribution
17   >-- SWT.TypedVariableTabContribution.HasView --> DOC.Document <R L0.DependsOn
18   >-- SWT.TypedVariableTabContribution.type --> L0.Value <R L0.HasProperty : SEL.GenericParameterType
19   @L0.assert SWT.TypedVariableTabContribution.type 
20     _ : STR.SCLValue
21       L0.HasValueType "String"
22       L0.SCLValue.expression "contributionType self"
23       
24 SWT.TypedVariableTabContribution.type 
25   L0.RequiresValueType "String" : L0.String