1 L0 = <http://www.simantics.org/Layer0-1.1>
2 DIA = <http://www.simantics.org/Diagram-2.2>
4 DIA.SymbolContribution <T L0.Entity
5 L0.HasDescription """Adds symbols to symbol library"""
8 DIA.HasSymbolContribution <R L0.IsRelatedTo
9 L0.HasDescription """Adds symbol contribution to Diagram"""
11 --> DIA.SymbolContribution
13 DIA.IndexRootSymbolContribution <T DIA.SymbolContribution
14 L0.HasDescription """Symbol contribution that searches for libraries from current index root"""
16 DIA.BasicSymbolContribution <T DIA.SymbolContribution
17 L0.HasDescription """Symbol contribution that consists of specific libraries"""
18 @L0.property DIA.BasicSymbolContributionHasSymbolLibrary
20 DIA.BasicSymbolContributionHasSymbolLibrary <R L0.IsRelatedTo
21 <-- DIA.BasicSymbolContribution
23 --> DIA.SymbolReferenceLibrary
25 DIA.SymbolReferenceLibrary <T L0.Entity
26 L0.HasDescription """An entitylibrary type for gathering symbols, i.e. DIA.ElementClass instances."""
27 @L0.property DIA.HasSymbol
28 //TODO [L0.ConsistsOf all SymbolReferenceLibrary]
29 //TODO [L0.DependsOn all L0.Type]
31 DIA.HasSymbol <R L0.IsRelatedTo
32 L0.InverseOf DIA.HasSymbol.Inverse <R L0.IsWeaklyRelatedTo
33 <-- DIA.SymbolReferenceLibrary
36 // For symbol library / symbol filter definition.
37 DIA.SymbolContributionFilter <T L0.Entity
38 L0.HasDescription """A symbol contribution filter is used to check whether a symbol or a symbol contribution should be contributed.
39 It must be adaptable to class org.simantics.diagram.symbolcontribution.SymbolContributionFilter."""
40 DIA.HasSymbolContributionFilter --> DIA.SymbolContributionFilter <R L0.IsRelatedTo
41 L0.HasDescription """Binds a symbol contribution filter to a symbol or a symbol contribution."""
42 L0.InverseOf DIA.SymbolContributionFilterOf <R L0.IsRelatedTo
44 DIA.DenyFilter : DIA.SymbolContributionFilter
45 DIA.SCLFilter <T DIA.SymbolContributionFilter
46 --> DIA.SCLFilter.filter ==> "Resource -> Resource -> Maybe Resource -> <ReadGraph> Boolean" <R L0.HasProperty : L0.TotalFunction