]> gerrit.simantics Code Review - simantics/sysdyn.git/commit
First take on Enumerations in System Dynamics.
authorlempinen <lempinen@ac1ea38d-2e2b-0410-8846-a27921b304fc>
Tue, 2 Nov 2010 14:11:03 +0000 (14:11 +0000)
committerlempinen <lempinen@ac1ea38d-2e2b-0410-8846-a27921b304fc>
Tue, 2 Nov 2010 14:11:03 +0000 (14:11 +0000)
commitb7f8a2b6c6018cc06b06eaf0dee1641e62b66643
tree0f1147ca0374fe362eb4d5b8a8e9507082a26fb7
parent4d4252e4fb43c65c4c83e5e88ff4ff2ba62c0c8d
First take on Enumerations in System Dynamics.

Enumerations can be created to Configurations and deleted from the model browser.

Properties of the enumerations can be modified from the property view (add & remove indexes).

Enumeration is added to the modelica code, but it cannot be used yet.

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@18557 ac1ea38d-2e2b-0410-8846-a27921b304fc
22 files changed:
org.simantics.objmap/src/org/simantics/objmap/annotations/RelatedOrderedSetElements.java [new file with mode: 0644]
org.simantics.objmap/src/org/simantics/objmap/annotations/factories/RelatedOrderedSetElementsRuleFactory.java [new file with mode: 0644]
org.simantics.objmap/src/org/simantics/objmap/rules/domain/RelatedOrderedSetElementsAccessor.java [new file with mode: 0644]
org.simantics.sysdyn.ontology/graph.tg
org.simantics.sysdyn.ontology/graph/Sysdyn.pgraph
org.simantics.sysdyn.ontology/graph/WorkModel.pgraph
org.simantics.sysdyn.ontology/src/org/simantics/sysdyn/SysdynResource.java
org.simantics.sysdyn.ui/plugin.xml
org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/browser/BrowserSelection.java
org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/browser/SysdynBrowser.java
org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/browser/contributions/Configuration.java
org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/browser/nodes/EnumerationNode.java [new file with mode: 0644]
org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/handlers/NewEnumerationNodeHandler.java [new file with mode: 0644]
org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/properties/EnumerationTab.java [new file with mode: 0644]
org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/properties/ResourceSelectionProcessor.java
org.simantics.sysdyn/src/org/simantics/sysdyn/modelica/ModelicaWriter.java
org.simantics.sysdyn/src/org/simantics/sysdyn/representation/Enumeration.java [new file with mode: 0644]
org.simantics.sysdyn/src/org/simantics/sysdyn/representation/EnumerationIndex.java [new file with mode: 0644]
org.simantics.sysdyn/src/org/simantics/sysdyn/representation/EnumerationIndexes.java [new file with mode: 0644]
org.simantics.sysdyn/src/org/simantics/sysdyn/representation/SysdynSchema.java
org.simantics.sysdyn/src/org/simantics/sysdyn/representation/visitors/ElementVisitorVoidAdapter.java
org.simantics.sysdyn/src/org/simantics/sysdyn/representation/visitors/IElementVisitorVoid.java