]> gerrit.simantics Code Review - simantics/sysdyn.git/log
simantics/sysdyn.git
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

14 years agogit-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@19149 ac1ea38d-2e2b...
lempinen [Tue, 14 Dec 2010 12:26:46 +0000 (12:26 +0000)]
git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@19149 ac1ea38d-2e2b-0410-8846-a27921b304fc

14 years agoUpdated expression parser to support array variables
lempinen [Tue, 14 Dec 2010 11:55:36 +0000 (11:55 +0000)]
Updated expression parser to support array variables

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

14 years agoRanges are verified inside expressions. Similar use cases as in expression range...
lempinen [Tue, 14 Dec 2010 11:54:46 +0000 (11:54 +0000)]
Ranges are verified inside expressions. Similar use cases as in expression range (same verify action).

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

14 years agoText transformation bug fix: Horizontal alignment was applied twice, and scale was...
jplaine [Tue, 14 Dec 2010 10:55:39 +0000 (10:55 +0000)]
Text transformation bug fix: Horizontal alignment was applied twice, and scale was not taken into account in TextNodes horizontal alignment.

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

14 years agoImprovements to sg event handling implementation (a bit slower, but more robust)...
jplaine [Mon, 13 Dec 2010 09:27:21 +0000 (09:27 +0000)]
Improvements to sg event handling implementation (a bit slower, but more robust). Also some thread utils copied from o.s.utils.thread (needs some refactoring later on). refs  #1942

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

14 years agoSceneGraph event handling changed to listener based, fixes #1942
jplaine [Fri, 10 Dec 2010 11:00:04 +0000 (11:00 +0000)]
SceneGraph event handling changed to listener based, fixes #1942

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

14 years agoSwitch to Databoard 0.6.0
kalajainen [Tue, 7 Dec 2010 12:32:39 +0000 (12:32 +0000)]
Switch to Databoard 0.6.0

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

14 years agoSwitch to Databoard 0.6.0
kalajainen [Tue, 7 Dec 2010 12:32:20 +0000 (12:32 +0000)]
Switch to Databoard 0.6.0

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

14 years agoSwitch to Databoard 0.6.0
kalajainen [Tue, 7 Dec 2010 12:31:57 +0000 (12:31 +0000)]
Switch to Databoard 0.6.0

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

14 years agoForgot these from the last commit..
jplaine [Tue, 7 Dec 2010 11:25:55 +0000 (11:25 +0000)]
Forgot these from the last commit..

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

14 years agoRemoved Graphics2D.create() calls from G2DParentNode. For now on, those render method...
jplaine [Tue, 7 Dec 2010 11:13:13 +0000 (11:13 +0000)]
Removed Graphics2D.create() calls from G2DParentNode. For now on, those render methods that actually alter the transformation, are responsible of reverting the g2d instance transformation to what is was when the render method was called.

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

14 years agoVariable name validation that supports range indexes
lempinen [Fri, 3 Dec 2010 12:36:12 +0000 (12:36 +0000)]
Variable name validation that supports range indexes

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

14 years agoDiscovered and fixed some of the most obvious and major/minor memory allocation goofs...
lehtonen [Thu, 2 Dec 2010 19:56:24 +0000 (19:56 +0000)]
Discovered and fixed some of the most obvious and major/minor memory allocation goofs in the scene graph rendering code.

The next major bottleneck in the scene graph with regard to huge memory allocation is the problem that all events
are currently propagated recursively throughout the whole scene graph by G2DParentNode.
J-P and I considered adding a separate listener registration mechanism as in DOM. While at it, we must specify better
how the scene graph event handling is performed and write it down.

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

14 years agoAdded memory consumption FIXMEs for sysdyn scene graph nodes
lehtonen [Thu, 2 Dec 2010 16:29:23 +0000 (16:29 +0000)]
Added memory consumption FIXMEs for sysdyn scene graph nodes

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

14 years agoSimple models with array variables are working. No equation, variable name or other...
lempinen [Thu, 2 Dec 2010 14:42:47 +0000 (14:42 +0000)]
Simple models with array variables are working. No equation, variable name or other validations are available.

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

14 years agoChanged UI to support new ontology with array variables and multiple expressions.
lempinen [Thu, 2 Dec 2010 12:58:11 +0000 (12:58 +0000)]
Changed UI to support new ontology with array variables and multiple expressions.

Some UI components added to support using array variables, but they are incomplete and buggy.
MODEL CANNOT BE SIMULATED IF ARRAYS ARE USED!

If array variables are not used, the software should function the way it did before.

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

14 years agoA new ontology that supports array variables and multiple expressions
lempinen [Thu, 2 Dec 2010 12:51:20 +0000 (12:51 +0000)]
A new ontology that supports array variables and multiple expressions

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

14 years agoApplied changes to Sysdyn tool licence text suggested by OSMC board: simantics-1.2.1
lehtonen [Tue, 16 Nov 2010 20:19:02 +0000 (20:19 +0000)]
Applied changes to Sysdyn tool licence text suggested by OSMC board:

The reason is that it is allowed to redistribute OpenModelica by itself under GNU GPL 3.0 license.

However, if OpenModelica is integrated with some other software that is not GPL 3.0, then the OSMC-PL applies, enforcing the above restrictions.

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

14 years ago* Lifted org.eclipse.ui dependency from org.simantics.project by moving UIModelManage...
lehtonen [Thu, 11 Nov 2010 09:30:57 +0000 (09:30 +0000)]
* Lifted org.eclipse.ui dependency from org.simantics.project by moving UIModelManager/UIModelManagerBase into org.simantics.ui.
* Replaced UI-based ScopedPreferenceStore usage from org.simantics.project with use of IScopeContext/IPreferencesService from org.eclipse.core.runtime.

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

14 years agoChanged license text according to Tommi's comments on Open Modelica changes.
lehtonen [Wed, 10 Nov 2010 13:49:47 +0000 (13:49 +0000)]
Changed license text according to Tommi's comments on Open Modelica changes.

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

14 years agogit-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@18640 ac1ea38d-2e2b...
kalajainen [Tue, 9 Nov 2010 18:02:32 +0000 (18:02 +0000)]
git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@18640 ac1ea38d-2e2b-0410-8846-a27921b304fc

14 years agogit-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@18618 ac1ea38d-2e2b...
lehtonen [Mon, 8 Nov 2010 16:05:35 +0000 (16:05 +0000)]
git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@18618 ac1ea38d-2e2b-0410-8846-a27921b304fc

14 years agoOld equation view, not needed
lempinen [Fri, 5 Nov 2010 13:05:03 +0000 (13:05 +0000)]
Old equation view, not needed

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

14 years agoOld equation view, not needed
lempinen [Fri, 5 Nov 2010 13:03:45 +0000 (13:03 +0000)]
Old equation view, not needed

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

14 years agoFirst take on Enumerations in System Dynamics.
lempinen [Tue, 2 Nov 2010 14:11:03 +0000 (14:11 +0000)]
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

14 years agoFixed possible NPE problem.
lehtonen [Mon, 25 Oct 2010 11:46:49 +0000 (11:46 +0000)]
Fixed possible NPE problem.

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

14 years agoSyntax error messages for lookup tables, when the syntax is correct but dimensions...
lempinen [Fri, 22 Oct 2010 13:02:02 +0000 (13:02 +0000)]
Syntax error messages for lookup tables, when the syntax is correct but dimensions are not.

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

14 years agoTable support for []-brackets
lempinen [Fri, 22 Oct 2010 13:01:33 +0000 (13:01 +0000)]
Table support for []-brackets

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

14 years agogit-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@18466 ac1ea38d-2e2b...
lehtonen [Tue, 19 Oct 2010 07:33:51 +0000 (07:33 +0000)]
git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@18466 ac1ea38d-2e2b-0410-8846-a27921b304fc

14 years agogit-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@18465 ac1ea38d-2e2b...
lehtonen [Tue, 19 Oct 2010 06:48:18 +0000 (06:48 +0000)]
git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@18465 ac1ea38d-2e2b-0410-8846-a27921b304fc

14 years agoico file for sysdyn root
lehtonen [Tue, 19 Oct 2010 06:45:24 +0000 (06:45 +0000)]
ico file for sysdyn root

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

14 years agomissing files
lempinen [Tue, 19 Oct 2010 06:21:16 +0000 (06:21 +0000)]
missing files

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

14 years agogit-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@18462 ac1ea38d-2e2b...
lehtonen [Tue, 19 Oct 2010 05:41:39 +0000 (05:41 +0000)]
git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@18462 ac1ea38d-2e2b-0410-8846-a27921b304fc

14 years agoDon't build self-extracting executable.
lehtonen [Tue, 19 Oct 2010 05:40:03 +0000 (05:40 +0000)]
Don't build self-extracting executable.

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

14 years agogit-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@18460 ac1ea38d-2e2b...
lehtonen [Tue, 19 Oct 2010 05:22:26 +0000 (05:22 +0000)]
git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@18460 ac1ea38d-2e2b-0410-8846-a27921b304fc

14 years agoNo eclipsec.launcher
lehtonen [Tue, 19 Oct 2010 04:21:24 +0000 (04:21 +0000)]
No eclipsec.launcher

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

14 years agogit-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@18458 ac1ea38d-2e2b...
lehtonen [Mon, 18 Oct 2010 14:44:13 +0000 (14:44 +0000)]
git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@18458 ac1ea38d-2e2b-0410-8846-a27921b304fc

14 years agosysdyn installer
lehtonen [Mon, 18 Oct 2010 14:44:04 +0000 (14:44 +0000)]
sysdyn installer

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

14 years agoorg.junit always optional!
lehtonen [Mon, 18 Oct 2010 14:41:03 +0000 (14:41 +0000)]
org.junit always optional!

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

14 years agogit-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@18450 ac1ea38d-2e2b...
lempinen [Mon, 18 Oct 2010 12:48:56 +0000 (12:48 +0000)]
git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@18450 ac1ea38d-2e2b-0410-8846-a27921b304fc