]> gerrit.simantics Code Review - simantics/sysdyn.git/log
simantics/sysdyn.git
13 years agoUpdated sysdyn installer MSVC runtime
lehtonen [Mon, 23 May 2011 15:58:33 +0000 (15:58 +0000)]
Updated sysdyn installer MSVC runtime

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@21079 ac1ea38d-2e2b-0410-8846-a27921b304fc

13 years agoUpdated sysdyn installer MSVC runtime
lehtonen [Mon, 23 May 2011 15:56:24 +0000 (15:56 +0000)]
Updated sysdyn installer MSVC runtime

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@21078 ac1ea38d-2e2b-0410-8846-a27921b304fc

13 years agoUse copy4 to copy variables on diagram. This fixes copy for expressions but not for...
lempinen [Fri, 20 May 2011 08:39:17 +0000 (08:39 +0000)]
Use copy4 to copy variables on diagram. This fixes copy for expressions but not for array indexes.

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@21050 ac1ea38d-2e2b-0410-8846-a27921b304fc

13 years agogit-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@21040 ac1ea38d-2e2b...
lempinen [Fri, 20 May 2011 07:55:54 +0000 (07:55 +0000)]
git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@21040 ac1ea38d-2e2b-0410-8846-a27921b304fc

13 years agoHackFix to get operating interfaces to work again for 1.4. Need proper migration...
lempinen [Fri, 20 May 2011 07:21:43 +0000 (07:21 +0000)]
HackFix to get operating interfaces to work again for 1.4. Need proper migration to propertyvariable!

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@21039 ac1ea38d-2e2b-0410-8846-a27921b304fc

13 years agogit-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@21038 ac1ea38d-2e2b...
lempinen [Fri, 20 May 2011 06:26:29 +0000 (06:26 +0000)]
git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@21038 ac1ea38d-2e2b-0410-8846-a27921b304fc

13 years agogit-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@20986 ac1ea38d-2e2b...
lempinen [Tue, 17 May 2011 13:35:45 +0000 (13:35 +0000)]
git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@20986 ac1ea38d-2e2b-0410-8846-a27921b304fc

13 years agoAllow to use same enumeration name in different hierarchical levels. Show Module...
lempinen [Tue, 17 May 2011 12:40:31 +0000 (12:40 +0000)]
Allow to use same enumeration name in different hierarchical levels. Show Module -handler to work also with module types, not just instantiated modules.

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@20985 ac1ea38d-2e2b-0410-8846-a27921b304fc

13 years agoCopy Enumerations to modules and configurations.
lempinen [Mon, 16 May 2011 13:32:50 +0000 (13:32 +0000)]
Copy Enumerations to modules and configurations.

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@20970 ac1ea38d-2e2b-0410-8846-a27921b304fc

13 years agoadded connectors to Modelica standard library ontology
niemisto [Fri, 13 May 2011 08:37:19 +0000 (08:37 +0000)]
added connectors to Modelica standard library ontology

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@20937 ac1ea38d-2e2b-0410-8846-a27921b304fc

13 years agoUse default input value also if a dependency from module to input exists, but referen...
lempinen [Wed, 11 May 2011 12:15:35 +0000 (12:15 +0000)]
Use default input value also if a dependency from module to input exists, but reference has not been set.

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@20864 ac1ea38d-2e2b-0410-8846-a27921b304fc

13 years agoNew decoration for modules & Enumeration copy+paste (not working properly, core consu...
lempinen [Wed, 11 May 2011 12:00:33 +0000 (12:00 +0000)]
New decoration for modules & Enumeration copy+paste (not working properly, core consumes 100% cpu and nothing happens)

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@20863 ac1ea38d-2e2b-0410-8846-a27921b304fc

13 years agoSlight re-organization of code to prevent one unnecessary diagnostic message
hoharri [Tue, 10 May 2011 10:13:13 +0000 (10:13 +0000)]
Slight re-organization of code to prevent one unnecessary diagnostic message

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@20854 ac1ea38d-2e2b-0410-8846-a27921b304fc

13 years agoAdd optional parameter to RelatedValue-annotation for providing an adapter class...
hoharri [Tue, 10 May 2011 09:23:34 +0000 (09:23 +0000)]
Add optional parameter to RelatedValue-annotation for providing an adapter class (for custom data type conversions between java objects and db)

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@20851 ac1ea38d-2e2b-0410-8846-a27921b304fc

13 years agoadded value adapters to objmap
niemisto [Tue, 10 May 2011 05:05:01 +0000 (05:05 +0000)]
added value adapters to objmap

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@20843 ac1ea38d-2e2b-0410-8846-a27921b304fc

13 years agoDisplay error messages when trying to import something that should not be imported.
lempinen [Fri, 6 May 2011 15:22:50 +0000 (15:22 +0000)]
Display error messages when trying to import something that should not be imported.

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@20809 ac1ea38d-2e2b-0410-8846-a27921b304fc

13 years agoFor convenience: import/export locations are stored and shown the next time that...
lempinen [Fri, 6 May 2011 13:57:45 +0000 (13:57 +0000)]
For convenience: import/export locations are stored and shown the next time that same type of object is imported/exported. SysdynDatasetSelectionListener uses LinkedHashMap so that enumerations are always in the same order (not the case with ordinary HashMap).

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@20808 ac1ea38d-2e2b-0410-8846-a27921b304fc

13 years agoPrint number format errors to console, when modelica gives results like INF and IND...
lempinen [Fri, 6 May 2011 10:14:31 +0000 (10:14 +0000)]
Print number format errors to console, when modelica gives results like INF and IND instead of numbers

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@20801 ac1ea38d-2e2b-0410-8846-a27921b304fc

13 years agoRemoved context menu and added buttons to external function file handling. Selections...
lempinen [Thu, 5 May 2011 12:38:10 +0000 (12:38 +0000)]
Removed context menu and added buttons to external function file handling. Selections for the context menu were not reliable.

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@20779 ac1ea38d-2e2b-0410-8846-a27921b304fc

13 years agoImport and export of modules that have no dependencies to other modules
lempinen [Thu, 5 May 2011 11:04:45 +0000 (11:04 +0000)]
Import and export of modules that have no dependencies to other modules

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@20778 ac1ea38d-2e2b-0410-8846-a27921b304fc

13 years agoNew naming service for sysdyn editor.
lempinen [Wed, 4 May 2011 09:02:45 +0000 (09:02 +0000)]
New naming service for sysdyn editor.

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@20754 ac1ea38d-2e2b-0410-8846-a27921b304fc

13 years agochanged the function editor from ordinary text field to ExpressionField
lempinen [Tue, 3 May 2011 13:35:31 +0000 (13:35 +0000)]
changed the function editor from ordinary text field to ExpressionField

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@20748 ac1ea38d-2e2b-0410-8846-a27921b304fc

13 years agoComplete Modelica model parser (for function editing)
lempinen [Tue, 3 May 2011 13:32:17 +0000 (13:32 +0000)]
Complete Modelica model parser (for function editing)

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@20747 ac1ea38d-2e2b-0410-8846-a27921b304fc

13 years agoadded newline and tab characters to line delimiters to enable renaming of variables...
lempinen [Tue, 3 May 2011 07:03:44 +0000 (07:03 +0000)]
added newline and tab characters to line delimiters to enable renaming of variables that are in the beginning of a new line

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@20733 ac1ea38d-2e2b-0410-8846-a27921b304fc

13 years agoChanged the Modelica simulation result format from .plt to .csv. With a complex and...
lempinen [Tue, 3 May 2011 06:43:16 +0000 (06:43 +0000)]
Changed the Modelica simulation result format from .plt to .csv. With a complex and multidimensional model, the result file size was reduced from 5 MB to 1.8 MB and reading of the results (SysdynModel:246-256) was 6 seconds faster (from 8.9 s to 2.9 s)

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@20732 ac1ea38d-2e2b-0410-8846-a27921b304fc

13 years agogit-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@20694 ac1ea38d-2e2b...
lempinen [Mon, 2 May 2011 07:38:01 +0000 (07:38 +0000)]
git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@20694 ac1ea38d-2e2b-0410-8846-a27921b304fc

13 years agoAdded splash.bmp and modified build to include the new OpenModelica
lempinen [Mon, 2 May 2011 06:11:06 +0000 (06:11 +0000)]
Added splash.bmp and modified build to include the new OpenModelica

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@20693 ac1ea38d-2e2b-0410-8846-a27921b304fc

13 years agoadded getPossibleChild -method that is used by operating interface trend element
lempinen [Fri, 29 Apr 2011 10:57:51 +0000 (10:57 +0000)]
added getPossibleChild -method that is used by operating interface trend element

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@20681 ac1ea38d-2e2b-0410-8846-a27921b304fc

13 years agogit-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@20680 ac1ea38d-2e2b...
lempinen [Fri, 29 Apr 2011 09:39:17 +0000 (09:39 +0000)]
git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@20680 ac1ea38d-2e2b-0410-8846-a27921b304fc

13 years agosysdyn.psf and feature to include all that sysdyn needs in addition to simantics.psf
lempinen [Fri, 29 Apr 2011 08:54:52 +0000 (08:54 +0000)]
sysdyn.psf and feature to include all that sysdyn needs in addition to simantics.psf

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@20679 ac1ea38d-2e2b-0410-8846-a27921b304fc

13 years agoAdd dispose listener to make sure name listening receives the correct isDisposed...
lempinen [Fri, 29 Apr 2011 06:37:12 +0000 (06:37 +0000)]
Add dispose listener to make sure name listening receives the correct isDisposed -value

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@20670 ac1ea38d-2e2b-0410-8846-a27921b304fc

13 years agoSome problems with diagram (e.g. copypaste) fixed by using diagramtemplate to create...
lempinen [Thu, 28 Apr 2011 13:47:36 +0000 (13:47 +0000)]
Some problems with diagram (e.g. copypaste) fixed by using diagramtemplate to create the diagram and give it an uri.

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@20617 ac1ea38d-2e2b-0410-8846-a27921b304fc

13 years agoAll tabs use LabelPropertyTabContributor to provide proper names for tabs.
lempinen [Thu, 28 Apr 2011 13:44:43 +0000 (13:44 +0000)]
All tabs  use LabelPropertyTabContributor to provide proper names for tabs.

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@20615 ac1ea38d-2e2b-0410-8846-a27921b304fc

13 years agoNo more Builtins class, use Layer0 instead.
lehtonen [Thu, 28 Apr 2011 13:21:01 +0000 (13:21 +0000)]
No more Builtins class, use Layer0 instead.

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@20612 ac1ea38d-2e2b-0410-8846-a27921b304fc

13 years agoStop using Builtins, use Layer0 instead.
lehtonen [Thu, 28 Apr 2011 09:02:08 +0000 (09:02 +0000)]
Stop using Builtins, use Layer0 instead.

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@20604 ac1ea38d-2e2b-0410-8846-a27921b304fc

13 years agogit-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@20587 ac1ea38d-2e2b...
lempinen [Wed, 27 Apr 2011 10:13:16 +0000 (10:13 +0000)]
git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@20587 ac1ea38d-2e2b-0410-8846-a27921b304fc

13 years agoSupport some basic Vensim functions
lempinen [Wed, 27 Apr 2011 09:47:03 +0000 (09:47 +0000)]
Support some basic Vensim functions

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@20586 ac1ea38d-2e2b-0410-8846-a27921b304fc

13 years agoSupport (only) 1.7.0 OpenModelica
lempinen [Wed, 27 Apr 2011 09:46:19 +0000 (09:46 +0000)]
Support (only) 1.7.0 OpenModelica

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@20585 ac1ea38d-2e2b-0410-8846-a27921b304fc

13 years agoSwitch to 1.7.0 OpenModelica
lempinen [Wed, 27 Apr 2011 08:30:34 +0000 (08:30 +0000)]
Switch to 1.7.0 OpenModelica

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@20581 ac1ea38d-2e2b-0410-8846-a27921b304fc

13 years agoImproved shared function library handling
lempinen [Thu, 21 Apr 2011 11:04:51 +0000 (11:04 +0000)]
Improved shared function library handling

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@20567 ac1ea38d-2e2b-0410-8846-a27921b304fc

13 years agoChanged ChildVariable to extend AbstractChildVariable instead of StandardGraphChildVa...
lempinen [Wed, 20 Apr 2011 10:12:40 +0000 (10:12 +0000)]
Changed ChildVariable to extend AbstractChildVariable instead of StandardGraphChildVariable. URIs were not functioning correctly because Standard-implementation relied on resources and their URIs.

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@20544 ac1ea38d-2e2b-0410-8846-a27921b304fc

13 years agoFixed sysdyn component copy advisor after interface changes.
lehtonen [Wed, 20 Apr 2011 08:59:22 +0000 (08:59 +0000)]
Fixed sysdyn component copy advisor after interface changes.

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@20543 ac1ea38d-2e2b-0410-8846-a27921b304fc

13 years agoSupport getting and settin values to variables in the old style
lempinen [Fri, 15 Apr 2011 10:21:03 +0000 (10:21 +0000)]
Support getting and settin values to variables in the old style

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@20507 ac1ea38d-2e2b-0410-8846-a27921b304fc

13 years agoFunction libraries started
lempinen [Fri, 15 Apr 2011 08:35:53 +0000 (08:35 +0000)]
Function libraries started

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@20506 ac1ea38d-2e2b-0410-8846-a27921b304fc

13 years agoContinuing with the variable change
lempinen [Fri, 15 Apr 2011 08:35:22 +0000 (08:35 +0000)]
Continuing with the variable change

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@20505 ac1ea38d-2e2b-0410-8846-a27921b304fc

13 years agoAihio Teemulle.
villberg [Wed, 13 Apr 2011 13:21:22 +0000 (13:21 +0000)]
Aihio Teemulle.

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@20474 ac1ea38d-2e2b-0410-8846-a27921b304fc

13 years agogit-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@20431 ac1ea38d-2e2b...
niemisto [Mon, 11 Apr 2011 08:56:22 +0000 (08:56 +0000)]
git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@20431 ac1ea38d-2e2b-0410-8846-a27921b304fc

13 years agoFix cast to correct type
hoharri [Wed, 6 Apr 2011 08:58:04 +0000 (08:58 +0000)]
Fix cast to correct type

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@20355 ac1ea38d-2e2b-0410-8846-a27921b304fc

13 years agoadded new objmap annotation OptionalRelatedElements that allows field to be null
niemisto [Wed, 6 Apr 2011 07:18:05 +0000 (07:18 +0000)]
added new objmap annotation OptionalRelatedElements that allows field to be null

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@20350 ac1ea38d-2e2b-0410-8846-a27921b304fc

13 years agoTGs for builds.
lehtonen [Tue, 5 Apr 2011 14:15:24 +0000 (14:15 +0000)]
TGs for builds.

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@20345 ac1ea38d-2e2b-0410-8846-a27921b304fc

13 years agoAdapter -> ResourceAdapter 2011-04-05-db-merge-trunk
lehtonen [Fri, 1 Apr 2011 18:04:28 +0000 (18:04 +0000)]
Adapter -> ResourceAdapter

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@20292 ac1ea38d-2e2b-0410-8846-a27921b304fc

13 years ago* Implemented unique and automatic local diagram flag labeling.
lehtonen [Thu, 24 Mar 2011 00:09:16 +0000 (00:09 +0000)]
* Implemented unique and automatic local diagram flag labeling.
* Added a preference page for configuring a project-wide default setting for the currently used labeling scheme

See FlagLabelingScheme, Splitter and ConnectionBuilder for implementation and use.

fixes #1518
fixes #1656
fixes #1643

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@20205 ac1ea38d-2e2b-0410-8846-a27921b304fc

13 years agoHackfix to ImportModelHandler. Manually check that IsLinkedTo -relation exist
lempinen [Wed, 23 Mar 2011 17:42:29 +0000 (17:42 +0000)]
Hackfix to ImportModelHandler. Manually check that IsLinkedTo -relation exist

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@20201 ac1ea38d-2e2b-0410-8846-a27921b304fc

13 years agogit-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@20189 ac1ea38d-2e2b...
lempinen [Wed, 23 Mar 2011 11:27:42 +0000 (11:27 +0000)]
git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@20189 ac1ea38d-2e2b-0410-8846-a27921b304fc

13 years agoFirst take on user-defined functions
lempinen [Wed, 23 Mar 2011 11:25:21 +0000 (11:25 +0000)]
First take on user-defined functions

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@20188 ac1ea38d-2e2b-0410-8846-a27921b304fc

13 years agoVendors and proper names for sysdyn plug-ins.
lehtonen [Tue, 22 Mar 2011 15:29:01 +0000 (15:29 +0000)]
Vendors and proper names for sysdyn plug-ins.

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@20171 ac1ea38d-2e2b-0410-8846-a27921b304fc

13 years agoStructuralRealization has moved.
lehtonen [Tue, 15 Mar 2011 13:27:00 +0000 (13:27 +0000)]
StructuralRealization has moved.

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@20087 ac1ea38d-2e2b-0410-8846-a27921b304fc

13 years agogit-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@19958 ac1ea38d-2e2b...
lempinen [Tue, 8 Mar 2011 10:36:46 +0000 (10:36 +0000)]
git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@19958 ac1ea38d-2e2b-0410-8846-a27921b304fc

13 years agogit-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@19860 ac1ea38d-2e2b...
lempinen [Tue, 1 Mar 2011 14:05:29 +0000 (14:05 +0000)]
git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@19860 ac1ea38d-2e2b-0410-8846-a27921b304fc

13 years agoEnumeration support
lempinen [Tue, 1 Mar 2011 14:04:18 +0000 (14:04 +0000)]
Enumeration support

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@19859 ac1ea38d-2e2b-0410-8846-a27921b304fc

13 years agogit-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@19815 ac1ea38d-2e2b...
lempinen [Tue, 22 Feb 2011 10:57:09 +0000 (10:57 +0000)]
git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@19815 ac1ea38d-2e2b-0410-8846-a27921b304fc

13 years agoAdded error tolerance. Angle calculations for dependency connections based on the...
lempinen [Tue, 22 Feb 2011 10:21:28 +0000 (10:21 +0000)]
Added error tolerance. Angle calculations for dependency connections based on the control points in Vensim

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@19814 ac1ea38d-2e2b-0410-8846-a27921b304fc

13 years agosupport importing vensim models with multiple views
lempinen [Mon, 21 Feb 2011 13:04:32 +0000 (13:04 +0000)]
support importing vensim models with multiple views

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@19812 ac1ea38d-2e2b-0410-8846-a27921b304fc

13 years agoEnumeration properties work also in the modules-folder. changes do not update model...
lempinen [Fri, 18 Feb 2011 07:48:28 +0000 (07:48 +0000)]
Enumeration properties work also in the modules-folder. changes do not update model results.

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@19799 ac1ea38d-2e2b-0410-8846-a27921b304fc

13 years agoBetter support for enumerations: Enumerations in module can be created and replaced
lempinen [Wed, 16 Feb 2011 13:59:11 +0000 (13:59 +0000)]
Better support for enumerations: Enumerations in module can be created and replaced

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@19792 ac1ea38d-2e2b-0410-8846-a27921b304fc

13 years agoFirst version of vensim import
lempinen [Wed, 16 Feb 2011 13:56:53 +0000 (13:56 +0000)]
First version of vensim import

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@19791 ac1ea38d-2e2b-0410-8846-a27921b304fc

13 years ago* Added ElementHints.KEY_HIDDEN for stating that an element should be considered...
lehtonen [Thu, 10 Feb 2011 18:49:46 +0000 (18:49 +0000)]
* Added ElementHints.KEY_HIDDEN for stating that an element should be considered hidden and no it should not:
** show up in any diagram/element measurements
** be involved in picking or any other interaction
** be rendered
* Changed InternalSize.getBounds specification to allow implementations to differentiate between cases where an element has no area (is infinitesimally small) and that an element does not exist visually (has no bounds). This also helps in the implementation of proper diagram element measurements when parts of the diagram are hidden.

fixes #2091

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@19757 ac1ea38d-2e2b-0410-8846-a27921b304fc

13 years agoPlease, make the assumptions in the graph code also that your code otherwise makes.
lehtonen [Thu, 10 Feb 2011 15:12:14 +0000 (15:12 +0000)]
Please, make the assumptions in the graph code also that your code otherwise makes.

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@19756 ac1ea38d-2e2b-0410-8846-a27921b304fc

13 years agoAttach only to sysdyn models.
lehtonen [Thu, 10 Feb 2011 15:08:12 +0000 (15:08 +0000)]
Attach only to sysdyn models.

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@19755 ac1ea38d-2e2b-0410-8846-a27921b304fc

13 years agoWhy oh why do TGs constantly change.
lehtonen [Wed, 9 Feb 2011 01:26:24 +0000 (01:26 +0000)]
Why oh why do TGs constantly change.

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@19720 ac1ea38d-2e2b-0410-8846-a27921b304fc

13 years ago* Removed use of deprecated project keys.
lehtonen [Tue, 8 Feb 2011 15:17:09 +0000 (15:17 +0000)]
* Removed use of deprecated project keys.
* Removed deprecated GE query processors relying on the removed project keys.

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@19710 ac1ea38d-2e2b-0410-8846-a27921b304fc

13 years agofixed create connection point, showing that a flag is lifted in diagram
niemisto [Wed, 2 Feb 2011 14:52:02 +0000 (14:52 +0000)]
fixed create connection point, showing that a flag is lifted in diagram

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@19607 ac1ea38d-2e2b-0410-8846-a27921b304fc

13 years agoMoved Cancer model to testGraph -folder, because importer is not working properly yet
lempinen [Wed, 2 Feb 2011 08:16:39 +0000 (08:16 +0000)]
Moved Cancer model to testGraph -folder, because importer is not working properly yet

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@19603 ac1ea38d-2e2b-0410-8846-a27921b304fc

13 years agoMade SysdynExperiment compile. Doesn't support IDynamicExperiment.getDataSource.
lehtonen [Fri, 28 Jan 2011 23:41:18 +0000 (23:41 +0000)]
Made SysdynExperiment compile. Doesn't support IDynamicExperiment.getDataSource.

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@19575 ac1ea38d-2e2b-0410-8846-a27921b304fc

13 years agoBuild modeling.ui before issues.ui
lehtonen [Fri, 28 Jan 2011 12:09:53 +0000 (12:09 +0000)]
Build modeling.ui before issues.ui

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@19566 ac1ea38d-2e2b-0410-8846-a27921b304fc

13 years agoChopped diagram ontology into multiple files.
lehtonen [Wed, 26 Jan 2011 12:03:52 +0000 (12:03 +0000)]
Chopped diagram ontology into multiple files.

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@19528 ac1ea38d-2e2b-0410-8846-a27921b304fc

13 years agogit-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@19508 ac1ea38d-2e2b...
lempinen [Tue, 25 Jan 2011 12:59:23 +0000 (12:59 +0000)]
git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@19508 ac1ea38d-2e2b-0410-8846-a27921b304fc

13 years agoBetter support for enumeration checking in for_indices
lempinen [Tue, 25 Jan 2011 12:58:52 +0000 (12:58 +0000)]
Better support for enumeration checking in for_indices

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@19507 ac1ea38d-2e2b-0410-8846-a27921b304fc

13 years agogit-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@19497 ac1ea38d-2e2b...
lempinen [Tue, 25 Jan 2011 10:52:11 +0000 (10:52 +0000)]
git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@19497 ac1ea38d-2e2b-0410-8846-a27921b304fc

13 years agogit-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@19469 ac1ea38d-2e2b...
lempinen [Mon, 24 Jan 2011 11:15:02 +0000 (11:15 +0000)]
git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@19469 ac1ea38d-2e2b-0410-8846-a27921b304fc

13 years agogit-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@19467 ac1ea38d-2e2b...
lempinen [Mon, 24 Jan 2011 10:25:11 +0000 (10:25 +0000)]
git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@19467 ac1ea38d-2e2b-0410-8846-a27921b304fc

13 years agoAdded first version of the event ontology and the viewer UI.
lehtonen [Sun, 23 Jan 2011 13:29:16 +0000 (13:29 +0000)]
Added first version of the event ontology and the viewer UI.
* Event plug-ins can be found in the simantics-incubator repository at /event/trunk.
* Ripped experiment run handling out of ExperimentManager to simplify it and leave run handling up to IModel implementations. Fixed too early experiment activation problems in Apros - now experiment activation callback is invoked only when activation is completely done.
* All experiment runs are marked as event producers in the model during experiment activation. This will bring their data into the event view.
* Added a very simple AprosEventWriter that produces events into experiment run instances by listening to Apros through AprosListener. This needs much more work.

TODO:
* Add a selection processor for the selection view of the event view. Make it contribute tab by adapting the input into a ComparableTabContributor.
* Make event producers and events adaptable to property tab contributors.

refs #2136

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@19458 ac1ea38d-2e2b-0410-8846-a27921b304fc

13 years agoFix related probably to some databoard updates
lempinen [Thu, 20 Jan 2011 14:38:50 +0000 (14:38 +0000)]
Fix related probably to some databoard updates

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@19442 ac1ea38d-2e2b-0410-8846-a27921b304fc

13 years agoSelect which indexes of multidimensional variables are shown in the trend view
lempinen [Thu, 20 Jan 2011 14:37:23 +0000 (14:37 +0000)]
Select which indexes of multidimensional variables are shown in the trend view

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@19440 ac1ea38d-2e2b-0410-8846-a27921b304fc

13 years agogit-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@19417 ac1ea38d-2e2b...
niemisto [Tue, 18 Jan 2011 13:16:00 +0000 (13:16 +0000)]
git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@19417 ac1ea38d-2e2b-0410-8846-a27921b304fc

13 years agoEnhanced flow router
lempinen [Mon, 17 Jan 2011 12:16:03 +0000 (12:16 +0000)]
Enhanced flow router

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@19391 ac1ea38d-2e2b-0410-8846-a27921b304fc

13 years agoSimplified selections and trend view selection listener
lempinen [Fri, 14 Jan 2011 13:20:30 +0000 (13:20 +0000)]
Simplified selections and trend view selection listener

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@19378 ac1ea38d-2e2b-0410-8846-a27921b304fc

13 years agoNew routers for flows and dependencies. They are functional, but should be tweaked...
lempinen [Fri, 14 Jan 2011 11:16:46 +0000 (11:16 +0000)]
New routers for flows and dependencies. They are functional, but should be tweaked for better appearance.

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@19373 ac1ea38d-2e2b-0410-8846-a27921b304fc

14 years agoremoved a debug print
lempinen [Wed, 29 Dec 2010 12:15:08 +0000 (12:15 +0000)]
removed a debug print

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@19227 ac1ea38d-2e2b-0410-8846-a27921b304fc

14 years agoRemoved old Connect tool that used diagram mutator. New Connect tool does not use...
lempinen [Wed, 29 Dec 2010 12:08:15 +0000 (12:08 +0000)]
Removed old Connect tool that used diagram mutator. New Connect tool does not use mutator and should in the future have better routing algorithms for flows.

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@19226 ac1ea38d-2e2b-0410-8846-a27921b304fc

14 years agoRemoved duplicate arc creation
lempinen [Tue, 21 Dec 2010 15:07:50 +0000 (15:07 +0000)]
Removed duplicate arc creation

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@19190 ac1ea38d-2e2b-0410-8846-a27921b304fc

14 years agoRemoved AA-setting from FlowNode/DependencyNode to keep interaction performance toler...
lehtonen [Tue, 21 Dec 2010 15:00:53 +0000 (15:00 +0000)]
Removed AA-setting from FlowNode/DependencyNode to keep interaction performance tolerable.

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@19189 ac1ea38d-2e2b-0410-8846-a27921b304fc

14 years agoReduced memory allocations
lempinen [Tue, 21 Dec 2010 12:22:15 +0000 (12:22 +0000)]
Reduced memory allocations

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@19187 ac1ea38d-2e2b-0410-8846-a27921b304fc

14 years agoReduced memory allocations:
lempinen [Tue, 21 Dec 2010 10:17:50 +0000 (10:17 +0000)]
Reduced memory allocations:

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@19185 ac1ea38d-2e2b-0410-8846-a27921b304fc

14 years agoMore support for array variables
lempinen [Mon, 20 Dec 2010 16:15:39 +0000 (16:15 +0000)]
More support for array variables

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@19174 ac1ea38d-2e2b-0410-8846-a27921b304fc

14 years agobetter support for arrays and for loops
lempinen [Mon, 20 Dec 2010 16:00:55 +0000 (16:00 +0000)]
better support for arrays and for loops

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@19173 ac1ea38d-2e2b-0410-8846-a27921b304fc

14 years agoReturning g2d back with original composite
lempinen [Mon, 20 Dec 2010 12:43:07 +0000 (12:43 +0000)]
Returning g2d back with original composite

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@19170 ac1ea38d-2e2b-0410-8846-a27921b304fc

14 years agobugfix for if statements.
jplaine [Fri, 17 Dec 2010 09:46:22 +0000 (09:46 +0000)]
bugfix for if statements.

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@19157 ac1ea38d-2e2b-0410-8846-a27921b304fc

14 years agoCancer model (doesn't simulate but the diagram can be viewed)
jplaine [Thu, 16 Dec 2010 14:16:56 +0000 (14:16 +0000)]
Cancer model (doesn't simulate but the diagram can be viewed)

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@19156 ac1ea38d-2e2b-0410-8846-a27921b304fc

14 years agoEnumeration tab updated to use graph explorer
lempinen [Tue, 14 Dec 2010 13:04:22 +0000 (13:04 +0000)]
Enumeration tab updated to use graph explorer

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@19150 ac1ea38d-2e2b-0410-8846-a27921b304fc