]> gerrit.simantics Code Review - simantics/platform.git/blob - Literals.pgraph
1b4ce4bb33d3f120a632e4523c5a36529e45bdf5
[simantics/platform.git] / Literals.pgraph
1 L0 = <http://www.simantics.org/Layer0-1.1>
2 SWT = <http://www.simantics.org/SWT-1.0>
3
4 LITERALS = SWT.Literals : L0.Library
5
6 LITERALS.Margins <T L0.Literal
7     @L0.assert L0.HasValueType "(Integer,Integer,Integer,Integer)"
8     @L0.assert L0.HasDataType ${ left : Integer, right : Integer, top : Integer, bottom : Integer }
9
10 LITERALS.Columns <T L0.Literal
11     @L0.assert L0.HasValueType "Columns"
12     // TODO: Bindings.getBeanBinding(type) does not work with enumerations
13     @L0.assert L0.HasDataType $ { columns : {key : String,label : String,tooltip : String,width : Integer,weight : Integer,alignment : String,grab : Boolean}[]}
14