]> gerrit.simantics Code Review - simantics/sysdyn.git/log
simantics/sysdyn.git
10 years agoAttempt to fix a svn commit error
jkauttio [Mon, 10 Mar 2014 08:58:27 +0000 (08:58 +0000)]
Attempt to fix a svn commit error

refs #2924

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/branches/dev-jkauttio@29056 ac1ea38d-2e2b-0410-8846-a27921b304fc

10 years agoAttempt to fix a svn commit error
jkauttio [Mon, 10 Mar 2014 08:50:53 +0000 (08:50 +0000)]
Attempt to fix a svn commit error

refs #2924

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/branches/dev-jkauttio@29055 ac1ea38d-2e2b-0410-8846-a27921b304fc

10 years agoUpdate vensim import (still does not work)
jkauttio [Mon, 10 Mar 2014 08:47:51 +0000 (08:47 +0000)]
Update vensim import (still does not work)

refs #2924

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/branches/dev-jkauttio@29054 ac1ea38d-2e2b-0410-8846-a27921b304fc

10 years agoAttempt to fix a svn commit error
jkauttio [Mon, 10 Mar 2014 08:44:18 +0000 (08:44 +0000)]
Attempt to fix a svn commit error

refs #2924

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/branches/dev-jkauttio@29053 ac1ea38d-2e2b-0410-8846-a27921b304fc

10 years agoAttempt to fix a svn commit error
jkauttio [Mon, 10 Mar 2014 08:33:16 +0000 (08:33 +0000)]
Attempt to fix a svn commit error

refs #2924

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/branches/dev-jkauttio@29052 ac1ea38d-2e2b-0410-8846-a27921b304fc

10 years agoRename and reorganize model import packages
jkauttio [Mon, 10 Mar 2014 08:28:29 +0000 (08:28 +0000)]
Rename and reorganize model import packages

refs #2924

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/branches/dev-jkauttio@29051 ac1ea38d-2e2b-0410-8846-a27921b304fc

10 years agoinitial version of new vensim import (does not work)
jkauttio [Fri, 14 Feb 2014 13:36:53 +0000 (13:36 +0000)]
initial version of new vensim import (does not work)

refs #2924

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/branches/dev-jkauttio@28850 ac1ea38d-2e2b-0410-8846-a27921b304fc

10 years agodevelopment branch for vensim import
jkauttio [Fri, 14 Feb 2014 13:12:38 +0000 (13:12 +0000)]
development branch for vensim import

refs #2924

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/branches/dev-jkauttio@28849 ac1ea38d-2e2b-0410-8846-a27921b304fc

10 years agodevelopment branch for vensim import
jkauttio [Fri, 14 Feb 2014 13:10:05 +0000 (13:10 +0000)]
development branch for vensim import

refs #2924

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/branches/dev-jkauttio@28847 ac1ea38d-2e2b-0410-8846-a27921b304fc

10 years agoAllow variables starting and ending with ' characters in Sysdyn ExpressionParser...
miettinen [Fri, 14 Feb 2014 13:01:30 +0000 (13:01 +0000)]
Allow variables starting and ending with ' characters in Sysdyn ExpressionParser (refs #2924).

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

10 years agoChanged PieDataset to support Comparable keys.
luukkainen [Fri, 14 Feb 2014 11:52:45 +0000 (11:52 +0000)]
Changed PieDataset to support Comparable keys.
Fixed ChartVariable compareTo()

refs #4741

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

10 years agoPie Charts show numeric values in legends
luukkainen [Thu, 13 Feb 2014 12:58:16 +0000 (12:58 +0000)]
Pie Charts show numeric values in legends
Sulca specific chart types

refs #8417

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

10 years agoAdded some Sysdyn sample models (refs #4702).
miettinen [Mon, 10 Feb 2014 10:49:43 +0000 (10:49 +0000)]
Added some Sysdyn sample models (refs #4702).

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

10 years agoUnit parser of Sysdyn to match equivalents in reducing units (refs #4704).
miettinen [Fri, 7 Feb 2014 08:03:36 +0000 (08:03 +0000)]
Unit parser of Sysdyn to match equivalents in reducing units (refs #4704).
Centered the text in auxiliary, input, stock and module.

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

10 years agoAccidentally committed a change to Sysdyn product configuration.
luukkainen [Wed, 5 Feb 2014 11:03:23 +0000 (11:03 +0000)]
Accidentally committed a change to Sysdyn product configuration.

refs #4699

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

10 years agoChanged AlphaComposite SRC_ATOP to SRC_OVER. This is much faster to render.
luukkainen [Wed, 5 Feb 2014 11:00:52 +0000 (11:00 +0000)]
Changed AlphaComposite SRC_ATOP to SRC_OVER. This is much faster to render.

refs #4699

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

10 years agoWrong query id caused query cache to store model variables separately for each variable
luukkainen [Tue, 4 Feb 2014 14:47:14 +0000 (14:47 +0000)]
Wrong query id caused query cache to store model variables separately for each variable
Dispose methods for clearing local caches.

fixes #4694

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

10 years agoUnit validation for Sysdyn functions: unit "1" in inputs to not correspond to any...
miettinen [Tue, 4 Feb 2014 13:16:32 +0000 (13:16 +0000)]
Unit validation for Sysdyn functions: unit "1" in inputs to not correspond to any anymore (refs #4320).
Bug fixes to unit validator (refs #4692).

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

10 years agoJFreeChart rendering fix (Java7 bug).
luukkainen [Tue, 4 Feb 2014 12:16:31 +0000 (12:16 +0000)]
JFreeChart rendering fix (Java7 bug).

fixes #4693

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

10 years agoUnit validation for Sysdyn functions: refactoring (refs #4320).
miettinen [Fri, 31 Jan 2014 13:45:45 +0000 (13:45 +0000)]
Unit validation for Sysdyn functions: refactoring (refs #4320).

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

10 years agoGenerated java files for unit parser (refs #4320).
miettinen [Fri, 31 Jan 2014 12:26:33 +0000 (12:26 +0000)]
Generated java files for unit parser (refs #4320).

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

10 years agoUnit validation for Sysdyn functions: matching argument units to the input (template...
miettinen [Fri, 31 Jan 2014 12:25:35 +0000 (12:25 +0000)]
Unit validation for Sysdyn functions: matching argument units to the input (template) units (refs #4320). Lacks the correct behavior of scalar vs unit="1".

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

10 years agoUnit validation for Sysdyn functions: determination of function output unit based...
miettinen [Wed, 29 Jan 2014 10:04:48 +0000 (10:04 +0000)]
Unit validation for Sysdyn functions: determination of function output unit based on input units (refs #4320).

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

10 years agoUnit validation for functions in Sysdyn: unit definitions for built-in functions...
miettinen [Mon, 27 Jan 2014 10:07:38 +0000 (10:07 +0000)]
Unit validation for functions in Sysdyn: unit definitions for built-in functions and propagation of available functions (also user-defined) information within the unit parser (refs #4320).

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

10 years agoWhen selecting a Sysdyn loop, color the elements which belong to that loop (refs...
miettinen [Thu, 23 Jan 2014 12:14:13 +0000 (12:14 +0000)]
When selecting a Sysdyn loop, color the elements which belong to that loop (refs #3012).

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

10 years agoAutomatic balancing / reinforcing comment (B/R) for Sysdyn loops (refs #3012).
miettinen [Tue, 21 Jan 2014 11:43:46 +0000 (11:43 +0000)]
Automatic balancing / reinforcing comment (B/R) for Sysdyn loops (refs #3012).

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

10 years agoLoops tab in Sysdyn: Combo for selecting the loop items (refs #3012).
miettinen [Tue, 21 Jan 2014 06:35:57 +0000 (06:35 +0000)]
Loops tab in Sysdyn: Combo for selecting the loop items (refs #3012).
LoopTab to extend AdjustableTab

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

10 years agoLoops under structure view in Sysdyn: consider flows bidirectional dependencies,...
miettinen [Mon, 20 Jan 2014 08:33:48 +0000 (08:33 +0000)]
Loops under structure view in Sysdyn: consider flows bidirectional dependencies, and refactoring (refs #3012).

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

10 years agoLoops under structure view in Sysdyn, initial implementation (refs #3012).
miettinen [Mon, 20 Jan 2014 05:35:12 +0000 (05:35 +0000)]
Loops under structure view in Sysdyn, initial implementation (refs #3012).
Moved ConfigurationUtils from sysdyn.ui to sysdyn package.

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

10 years agoLoops under structure view in Sysdyn, initial implementation (refs #3012).
miettinen [Fri, 17 Jan 2014 12:23:17 +0000 (12:23 +0000)]
Loops under structure view in Sysdyn, initial implementation (refs #3012).

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

10 years agoUpdated layout of Sysdyn configuration tab (refs #4628).
miettinen [Fri, 17 Jan 2014 08:07:37 +0000 (08:07 +0000)]
Updated layout of Sysdyn configuration tab (refs #4628).

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

10 years agoGenerated java files for unit parser (refs #4628).
miettinen [Fri, 17 Jan 2014 06:29:16 +0000 (06:29 +0000)]
Generated java files for unit parser (refs #4628).

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

10 years agoUnit equivalents to Sysdyn unit parser (refs #4628).
miettinen [Fri, 17 Jan 2014 06:28:17 +0000 (06:28 +0000)]
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

10 years agoFix to Sysdyn unit validator: stock variables with whitespace in their names (refs...
miettinen [Thu, 16 Jan 2014 07:50:11 +0000 (07:50 +0000)]
Fix to Sysdyn unit validator: stock variables with whitespace in their names (refs #4548).
Import Model to file menu (refs #4665).

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

10 years agoSolving problems in custom integral equation in stocks (refs #4657).
miettinen [Thu, 16 Jan 2014 05:49:26 +0000 (05:49 +0000)]
Solving problems in custom integral equation in stocks (refs #4657).

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

10 years agoAdjustableTab to Sysdyn to allow reorganizing the configuration tab (refs #4655).
miettinen [Wed, 15 Jan 2014 13:47:28 +0000 (13:47 +0000)]
AdjustableTab to Sysdyn to allow reorganizing the configuration tab (refs #4655).

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

10 years agoSolving problems in custom integral equation in stocks (refs #4657).
miettinen [Tue, 14 Jan 2014 10:42:30 +0000 (10:42 +0000)]
Solving problems in custom integral equation in stocks (refs #4657).

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

10 years agoFixes to jfreechart plugin after Hannu's changes to org.simantics.diagram.synchroniza...
lehtonen [Mon, 13 Jan 2014 09:23:47 +0000 (09:23 +0000)]
Fixes to jfreechart plugin after Hannu's changes to org.simantics.diagram.synchronization.graph.RemoveElement.

refs #4624

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

10 years agoGenerated java files for unit parser (refs #4547).
miettinen [Mon, 13 Jan 2014 08:15:45 +0000 (08:15 +0000)]
Generated java files for unit parser (refs #4547).

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

10 years agoSysdyn unit parser to understand ^ (refs #4547) and bugfix to division (refs #4549).
miettinen [Mon, 13 Jan 2014 08:14:16 +0000 (08:14 +0000)]
Sysdyn unit parser to understand ^ (refs #4547) and bugfix to division (refs #4549).

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

10 years agoJust testing that my svn upgrade working copy didn't break my configuration (refs...
miettinen [Mon, 13 Jan 2014 08:05:39 +0000 (08:05 +0000)]
Just testing that my svn upgrade working copy didn't break my configuration (refs #4547).

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

10 years agoAllow arrows into stocks. Also enabled the ShortcutTabWidget and expression parser...
miettinen [Thu, 9 Jan 2014 08:31:34 +0000 (08:31 +0000)]
Allow arrows into stocks. Also enabled the ShortcutTabWidget and expression parser in the integral field (refs #6423).
Changed the size of the dependency arrow head (refs #4622).
Bugfix to npe in focus of stock and delay tabs.

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

10 years agoStock equation to not depend on the flows on the diagram (refs #4623).
miettinen [Thu, 9 Jan 2014 06:39:08 +0000 (06:39 +0000)]
Stock equation to not depend on the flows on the diagram (refs #4623).

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

10 years agoChangeable thicknesses of dependency arrows and flows (refs #4622).
miettinen [Wed, 8 Jan 2014 07:41:59 +0000 (07:41 +0000)]
Changeable thicknesses of dependency arrows and flows (refs #4622).

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

10 years agoCheckbox to dependencies to show or hide the arrow head (refs #4619).
miettinen [Tue, 7 Jan 2014 06:26:14 +0000 (06:26 +0000)]
Checkbox to dependencies to show or hide the arrow head (refs #4619).

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

10 years agoDelay marks to dependency arrows (refs #4615).
miettinen [Tue, 7 Jan 2014 05:33:02 +0000 (05:33 +0000)]
Delay marks to dependency arrows (refs #4615).

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

10 years agoFixed/ignored unnecessary warnings.
lehtonen [Fri, 3 Jan 2014 09:03:11 +0000 (09:03 +0000)]
Fixed/ignored unnecessary warnings.
refs #3552

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

11 years agoMinor adjustments to vensim import. Vensim import not in use.
lempinen [Tue, 31 Dec 2013 11:31:55 +0000 (11:31 +0000)]
Minor adjustments to vensim import. Vensim import not in use.
refs #2924

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

11 years agorefs #3511
lempinen [Tue, 31 Dec 2013 11:06:33 +0000 (11:06 +0000)]
refs #3511

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

11 years agoHidden element support for buttons and horizontal and vertical layouts. Update everyt...
lempinen [Fri, 27 Dec 2013 09:20:21 +0000 (09:20 +0000)]
Hidden element support for buttons and horizontal and vertical layouts. Update everything when input changes.
refs #3511

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

11 years agoDisable undo in sysdyn. It is too unreliable and the reason has not been found yet.
lempinen [Thu, 12 Dec 2013 11:57:52 +0000 (11:57 +0000)]
Disable undo in sysdyn. It is too unreliable and the reason has not been found yet.
refs #4593

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

11 years agoSymbol contributions did not follow when editing component types in shared ontologies
villberg [Thu, 28 Nov 2013 11:39:05 +0000 (11:39 +0000)]
Symbol contributions did not follow when editing component types in shared ontologies
refs #4574

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

11 years agoResourceEditorInput2 RVI is now from RVI.toString
villberg [Wed, 27 Nov 2013 05:17:32 +0000 (05:17 +0000)]
ResourceEditorInput2 RVI is now from RVI.toString
refs #4564

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

11 years agoGet rid of model URI in inputs
villberg [Tue, 26 Nov 2013 08:49:05 +0000 (08:49 +0000)]
Get rid of model URI in inputs
refs #4564

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

11 years agoEditable multi-line text elements
lempinen [Mon, 25 Nov 2013 13:17:28 +0000 (13:17 +0000)]
Editable multi-line text elements
refs #2929

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

11 years agoFixes several inconsistencies with creating flows in different input modes. The Sysdy...
jkauttio [Fri, 22 Nov 2013 16:04:04 +0000 (16:04 +0000)]
Fixes several inconsistencies with creating flows in different input modes. The SysdynConnectTool class could still use some cleanup.

fixes #4511

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

11 years agoAdded algorithm to find loops in graphs. Added a utility class to use that for Sysdyn...
miettinen [Fri, 22 Nov 2013 14:07:45 +0000 (14:07 +0000)]
Added algorithm to find loops in graphs. Added a utility class to use that for Sysdyn Resources. (refs #3012)

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

11 years agoHover to follow Loop image. Flip image with the clockwise option. (refs #3012)
miettinen [Fri, 22 Nov 2013 09:48:49 +0000 (09:48 +0000)]
Hover to follow Loop image. Flip image with the clockwise option. (refs #3012)
Simantics flips to not mirror text elements.

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

11 years agoMake sure no more than one SysdynConnectTool is associated with the canvas context...
jkauttio [Thu, 21 Nov 2013 14:49:02 +0000 (14:49 +0000)]
Make sure no more than one SysdynConnectTool is associated with the canvas context at a time. Still need to figure out if and how the behaviour of mouse clicks during connection and flow creation should be overridden.

refs #4511

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

11 years agoSysdyn loop text to diagram. Hover around loop image. (refs #3012)
miettinen [Thu, 21 Nov 2013 11:45:46 +0000 (11:45 +0000)]
Sysdyn loop text to diagram. Hover around loop image. (refs #3012)

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

11 years agoAdded loop to Sysdyn comment symbols. Loop has properties of direction of rotation...
miettinen [Wed, 20 Nov 2013 13:24:11 +0000 (13:24 +0000)]
Added loop to Sysdyn comment symbols. Loop has properties of direction of rotation and comment, of which both can be modified, but are not yet shown on diagram. (refs #3012)

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

11 years agoImplement a basic error reporting system for the new solver interface.
jkauttio [Tue, 19 Nov 2013 12:58:37 +0000 (12:58 +0000)]
Implement a basic error reporting system for the new solver interface.

fixes #4513

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

11 years agoModify the styles of multiple selected dependencies. (refs #4554)
miettinen [Tue, 19 Nov 2013 10:58:55 +0000 (10:58 +0000)]
Modify the styles of multiple selected dependencies. (refs #4554)

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

11 years agoEquationTab changes layout when the available area changes. (refs #4550)
miettinen [Fri, 15 Nov 2013 11:32:16 +0000 (11:32 +0000)]
EquationTab changes layout when the available area changes. (refs #4550)

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

11 years agoInitial work.
villberg [Wed, 13 Nov 2013 20:35:16 +0000 (20:35 +0000)]
Initial work.
refs #4546

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

11 years agoLock Sketch (refs #4545)
miettinen [Wed, 13 Nov 2013 14:10:47 +0000 (14:10 +0000)]
Lock Sketch (refs #4545)

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

11 years agoImproved experiment handling. Now activating a workbench experiment does not destroy...
lempinen [Wed, 13 Nov 2013 13:27:46 +0000 (13:27 +0000)]
Improved experiment handling. Now activating a workbench experiment does not destroy simupedia UI completely. It only destroys the experiment.
refs #3511

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

11 years agoSysdyn scl update
lempinen [Wed, 13 Nov 2013 11:51:49 +0000 (11:51 +0000)]
Sysdyn scl update
refs #3511

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

11 years agoActivate variable save when the respective EquationTab is disposed.
miettinen [Wed, 13 Nov 2013 08:51:44 +0000 (08:51 +0000)]
Activate variable save when the respective EquationTab is disposed.
Save variable also when only the type of variable is changed.
(refs #4544).

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

11 years agoTwo perspectives (equation & trend) (refs #4483).
miettinen [Tue, 12 Nov 2013 12:37:43 +0000 (12:37 +0000)]
Two perspectives (equation & trend) (refs #4483).
Compressed the equationTab slightly.

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

11 years agoAutomatically activate rename when creating a new Sysdyn variable either by drag...
miettinen [Tue, 12 Nov 2013 09:36:25 +0000 (09:36 +0000)]
Automatically activate rename when creating a new Sysdyn variable either by drag and drop or keyboard shortcut (refs #870).

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

11 years agoDependency tracking fix
villberg [Fri, 8 Nov 2013 12:39:16 +0000 (12:39 +0000)]
Dependency tracking fix
refs #3552

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

11 years agoFix to Sysdyn valve shape (refs #4525 #4482).
miettinen [Wed, 6 Nov 2013 11:06:48 +0000 (11:06 +0000)]
Fix to Sysdyn valve shape (refs #4525 #4482).

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

11 years agoFix to (refs #4521)
miettinen [Wed, 6 Nov 2013 08:19:54 +0000 (08:19 +0000)]
Fix to (refs #4521)

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

11 years agoRemoved uses of the deprecated org.simantics.ui.utils.AdaptionUtils by replacing...
lehtonen [Tue, 5 Nov 2013 19:31:48 +0000 (19:31 +0000)]
Removed uses of the deprecated org.simantics.ui.utils.AdaptionUtils by replacing it with org.simantics.utils.ui.AdaptionUtils.

refs #4533

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

11 years agoIndexVariables fixed for cases when there is a history dataset
lempinen [Tue, 5 Nov 2013 11:30:52 +0000 (11:30 +0000)]
IndexVariables fixed for cases when there is a history dataset
refs #4529

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

11 years agoMinor simupedia updates
lempinen [Tue, 29 Oct 2013 14:53:47 +0000 (14:53 +0000)]
Minor simupedia updates
refs #3511

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

11 years agoMinor simupedia updates
lempinen [Tue, 29 Oct 2013 14:53:26 +0000 (14:53 +0000)]
Minor simupedia updates
refs #3511

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

11 years agoSysdyn dependency arrow to stop overlapping valve texts. (refs #4482)
miettinen [Tue, 29 Oct 2013 14:30:55 +0000 (14:30 +0000)]
Sysdyn dependency arrow to stop overlapping valve texts. (refs #4482)

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

11 years agoUpdated simupedia references to sysdyn import
lempinen [Tue, 29 Oct 2013 14:24:42 +0000 (14:24 +0000)]
Updated simupedia references to sysdyn import
refs #3511

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

11 years agoFixed bug: New elements were always created with the element-specific preference
lempinen [Tue, 29 Oct 2013 14:17:52 +0000 (14:17 +0000)]
Fixed bug: New elements were always created with the element-specific preference
refs #4481

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

11 years agoFixed support for variable names with spaces.
lempinen [Tue, 29 Oct 2013 14:08:53 +0000 (14:08 +0000)]
Fixed support for variable names with spaces.
refs #4424

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

11 years agoAlso update plugin.xml which was accidentally left out of previous commit.
jkauttio [Tue, 29 Oct 2013 11:56:03 +0000 (11:56 +0000)]
Also update plugin.xml which was accidentally left out of previous commit.

fixes #4486

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

11 years agoAdd radio buttons in main toolbar for different diagram editor modes.
jkauttio [Tue, 29 Oct 2013 11:52:18 +0000 (11:52 +0000)]
Add radio buttons in main toolbar for different diagram editor modes.

#fixes #4486

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

11 years agoImproved appearance of diagram elements. No customization yet for arrow sizes.
lempinen [Tue, 29 Oct 2013 10:49:41 +0000 (10:49 +0000)]
Improved appearance of diagram elements. No customization yet for arrow sizes.
refs #4481

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

11 years agoMouse click (for rename) on Sysdyn diagram more intuitive (refs #4484).
miettinen [Tue, 29 Oct 2013 08:14:21 +0000 (08:14 +0000)]
Mouse click (for rename) on Sysdyn diagram more intuitive (refs #4484).
Allow Valve terminals to be generic Shapes, we need something other (i.e. Polygon) shape to define a Valve than Rectangle (refs #4482).

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

11 years agoPreference page for modifying element fonts and colors
lempinen [Mon, 28 Oct 2013 13:47:45 +0000 (13:47 +0000)]
Preference page for modifying element fonts and colors
refs #4481

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

11 years agodiagramRuntime is checked for null before it is used
lempinen [Mon, 28 Oct 2013 11:03:48 +0000 (11:03 +0000)]
diagramRuntime is checked for null before it is used
refs #4504

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

11 years agoAdded appropriate copyrights for fi.semantum.sysdyn.solver code.
lehtonen [Mon, 28 Oct 2013 06:15:27 +0000 (06:15 +0000)]
Added appropriate copyrights for fi.semantum.sysdyn.solver code.

refs #4488

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

11 years agoDefault color and font selection for all component types.
lempinen [Fri, 25 Oct 2013 12:40:00 +0000 (12:40 +0000)]
Default color and font selection for all component types.

refs #4481

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

11 years agoTooltips for symbols in Sysdyn symbol view (refs #4485)
miettinen [Fri, 25 Oct 2013 10:54:48 +0000 (10:54 +0000)]
Tooltips for symbols in Sysdyn symbol view (refs #4485)

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

11 years agoPropertyPage for changing default colors of diagram elements. Currently only Dependen...
lempinen [Fri, 25 Oct 2013 08:57:16 +0000 (08:57 +0000)]
PropertyPage for changing default colors of diagram elements. Currently only Dependency arrows are supported. Default color is displayed if user has not specified a color for the element.

refs #4481

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

11 years agoBugfix to whitespace replacement in Sysdyn (refs #2930).
miettinen [Fri, 25 Oct 2013 08:28:09 +0000 (08:28 +0000)]
Bugfix to whitespace replacement in Sysdyn (refs #2930).

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

11 years agoFix for when replacing renamed variables in equations where there are newline charact...
miettinen [Fri, 25 Oct 2013 07:43:55 +0000 (07:43 +0000)]
Fix for when replacing renamed variables in equations where there are newline characters. (refs #4495)

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

11 years agoExport model and export model as... buttons to Sysdyn (refs #4487).
miettinen [Fri, 25 Oct 2013 06:25:53 +0000 (06:25 +0000)]
Export model and export model as... buttons to Sysdyn (refs #4487).

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

11 years agoAdd a special "time" variable to the solver that always refers to the current simulat...
jkauttio [Thu, 24 Oct 2013 12:30:56 +0000 (12:30 +0000)]
Add a special "time" variable to the solver that always refers to the current simulation time.

refs #4488

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

11 years agoFixed history datasets when variable has spaces
lempinen [Thu, 24 Oct 2013 11:44:14 +0000 (11:44 +0000)]
Fixed history datasets when variable has spaces

refs #4494

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

11 years agoFixed history datasets to display values in the case where dataset contains "Variable...
lempinen [Thu, 24 Oct 2013 11:28:55 +0000 (11:28 +0000)]
Fixed history datasets to display values in the case where dataset contains "Variable" and system asks for "Module1.Variable". First try to find the exact, but if not found, try from the last "." forward. In "Variable" case it would eventually find the correct variable.
refs #4494

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

11 years agoUse integers instead of doubles as array indices in printed multidimensional variable...
jkauttio [Thu, 24 Oct 2013 10:40:55 +0000 (10:40 +0000)]
Use integers instead of doubles as array indices in printed multidimensional variable names, and also include parameter values in simulation results.

refs #4488

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

11 years agorefs #4488
jkauttio [Thu, 24 Oct 2013 07:23:19 +0000 (07:23 +0000)]
refs #4488

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