]> gerrit.simantics Code Review - simantics/sysdyn.git/commit
Unit equivalents to Sysdyn unit parser (refs #4628).
authormiettinen <miettinen@ac1ea38d-2e2b-0410-8846-a27921b304fc>
Fri, 17 Jan 2014 06:28:17 +0000 (06:28 +0000)
committermiettinen <miettinen@ac1ea38d-2e2b-0410-8846-a27921b304fc>
Fri, 17 Jan 2014 06:28:17 +0000 (06:28 +0000)
commit97e6269352f0a3340e50d5dcb8308966fd0db96b
tree8dae684380c0f842d0fbc152a3174d4ec24b951a
parentad4eda5768b186895da7600da5c272ecabb82dff
Unit equivalents to Sysdyn unit parser (refs #4628).
Allow %, $, £, and euro symbols, as well as greek letters in unit parser (refs #4425).

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@28650 ac1ea38d-2e2b-0410-8846-a27921b304fc
26 files changed:
org.simantics.sysdyn.ontology/graph.tg
org.simantics.sysdyn.ontology/graph/Validation.pgraph
org.simantics.sysdyn.ontology/src/org/simantics/sysdyn/SysdynResource.java
org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/properties/ConfigurationTab.java
org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/properties/widgets/EquivalentUnitsWidget.java [new file with mode: 0644]
org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/validation/UnitFunction.java
org.simantics.sysdyn/src/org/simantics/sysdyn/TestParser.java
org.simantics.sysdyn/src/org/simantics/sysdyn/representation/utils/UnitUtils.java
org.simantics.sysdyn/src/org/simantics/sysdyn/unitParser/UnitCheckingNode.java
org.simantics.sysdyn/src/org/simantics/sysdyn/unitParser/UnitParser.jjt
org.simantics.sysdyn/src/org/simantics/sysdyn/unitParser/nodes/AddOp.java
org.simantics.sysdyn/src/org/simantics/sysdyn/unitParser/nodes/Arithmetic.java
org.simantics.sysdyn/src/org/simantics/sysdyn/unitParser/nodes/ArrayDefinition.java
org.simantics.sysdyn/src/org/simantics/sysdyn/unitParser/nodes/ComponentReferenceFull.java
org.simantics.sysdyn/src/org/simantics/sysdyn/unitParser/nodes/Divide.java
org.simantics.sysdyn/src/org/simantics/sysdyn/unitParser/nodes/Factor.java
org.simantics.sysdyn/src/org/simantics/sysdyn/unitParser/nodes/ForIndex.java
org.simantics.sysdyn/src/org/simantics/sysdyn/unitParser/nodes/FunctionCall.java
org.simantics.sysdyn/src/org/simantics/sysdyn/unitParser/nodes/IfThenElse.java
org.simantics.sysdyn/src/org/simantics/sysdyn/unitParser/nodes/Multiplication.java
org.simantics.sysdyn/src/org/simantics/sysdyn/unitParser/nodes/Power.java
org.simantics.sysdyn/src/org/simantics/sysdyn/unitParser/nodes/RelOp.java
org.simantics.sysdyn/src/org/simantics/sysdyn/unitParser/nodes/Relation.java
org.simantics.sysdyn/src/org/simantics/sysdyn/unitParser/nodes/Term.java
org.simantics.sysdyn/src/org/simantics/sysdyn/unitParser/nodes/UnitResult.java
org.simantics.sysdyn/src/org/simantics/sysdyn/unitParser/nodes/Value.java