]> gerrit.simantics Code Review - simantics/sysdyn.git/log
simantics/sysdyn.git
11 years agoShortcut tab in equation tab doesn't update the variable colors if there are syntax...
miettinen [Fri, 25 Jan 2013 10:31:02 +0000 (10:31 +0000)]
Shortcut tab in equation tab doesn't update the variable colors if there are syntax errors in the expression. That is, when the equation is being written, the list doesn't constantly go yellow and back to normal again (refs #3961).

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

11 years agoequals check did not expect null parameter.
luukkainen [Thu, 24 Jan 2013 13:31:26 +0000 (13:31 +0000)]
equals check did not expect null parameter.

refs #3988

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

11 years agoChanged the 'save equation when running simulation' feature implementation: The Equat...
miettinen [Thu, 24 Jan 2013 12:17:59 +0000 (12:17 +0000)]
Changed the 'save equation when running simulation' feature implementation: The EquationTab no longer uses keyboard focus to determine, if one of the simulate buttons are pressed. Instead, such simulation buttons that are desired to activate the saving are explicitly calling the save function of the EquationTab (refs #4009).

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

11 years ago* Add the saved simulation results under the experiment _after_ the respective Record...
miettinen [Tue, 22 Jan 2013 14:13:17 +0000 (14:13 +0000)]
* Add the saved simulation results under the experiment _after_ the respective RecordAccessors have been saved to file (refs #3958).
* Catching NPEs that are thrown if any "repeat" button is pressed consecutively (refs #4007).

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

11 years agoSimulate buttons save changes made in the model (refs #3960).
miettinen [Tue, 22 Jan 2013 07:11:22 +0000 (07:11 +0000)]
Simulate buttons save changes made in the model (refs #3960).
When pressing certain simulation buttons in toolbar, they acquire the focus which in turn causes focus listeners to save changes, e.g. in EquationTab. All buttons do not cause this effect.

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

11 years agoAfter copy, equations are changed to match the names of the copied variables. (fixes...
lempinen [Fri, 18 Jan 2013 12:08:58 +0000 (12:08 +0000)]
After copy, equations are changed to match the names of the copied variables. (fixes #3893)

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

11 years agoStringChooser for selecting objects with labels.
luukkainen [Fri, 18 Jan 2013 11:18:04 +0000 (11:18 +0000)]
StringChooser for selecting objects with labels.
Replaced TrackedText with StingChooser in Bar/PiePropertyComposite2.

refs #3988
fixes #3996

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

11 years agorefs #3996
luukkainen [Fri, 18 Jan 2013 08:32:42 +0000 (08:32 +0000)]
refs #3996

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

11 years agoSeparated fmu instantiation from initialization. Initial values can be changed after...
lempinen [Fri, 18 Jan 2013 08:22:44 +0000 (08:22 +0000)]
Separated fmu instantiation from initialization. Initial values can be changed after instantiation and before initialization with normal setRealValue, setBooleanValue, etc. If initialization has not been run after instantiation, and user tries to simulate steps, initialiation is run. (fixes #3909)

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

11 years agoReference to self no longer creates a "not connected" issue (fixes #3999)
lempinen [Fri, 18 Jan 2013 08:19:09 +0000 (08:19 +0000)]
Reference to self no longer creates a "not connected" issue (fixes #3999)

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

11 years agoReplaced awkward Pair construct with ChartVariable class.
luukkainen [Thu, 17 Jan 2013 16:14:59 +0000 (16:14 +0000)]
Replaced awkward Pair construct with ChartVariable class.

refs #3988

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

11 years agoTemporary UI for labels with separate rvi / labels.
luukkainen [Thu, 17 Jan 2013 13:58:35 +0000 (13:58 +0000)]
Temporary UI for labels with separate rvi / labels.

refs #3988

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

11 years agoInitial variable rvi / label separation. Work in progress...
luukkainen [Thu, 17 Jan 2013 13:57:47 +0000 (13:57 +0000)]
Initial variable rvi / label separation. Work in progress...

refs #3988

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

11 years agochart selection processor moved to jfreechart plug-in
luukkainen [Wed, 16 Jan 2013 16:12:55 +0000 (16:12 +0000)]
chart selection processor moved to jfreechart plug-in

refs #3988

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

11 years agochart component moved to jfreechart plug-in.
luukkainen [Wed, 16 Jan 2013 10:57:37 +0000 (10:57 +0000)]
chart component moved to jfreechart plug-in.

refs #3988

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

11 years agochart component moved to jfreechart plug-in.
luukkainen [Wed, 16 Jan 2013 10:53:01 +0000 (10:53 +0000)]
chart component moved to jfreechart plug-in.

refs #3988

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

11 years agochart component moved to jfreechart plug-in.
luukkainen [Wed, 16 Jan 2013 10:49:27 +0000 (10:49 +0000)]
chart component moved to jfreechart plug-in.

refs #3988

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

11 years agoMoved jfreechart related ontologies
luukkainen [Wed, 16 Jan 2013 10:47:57 +0000 (10:47 +0000)]
Moved jfreechart related ontologies

refs #3988

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

11 years agoSysdyn charts component as a separate plug-in.
luukkainen [Wed, 16 Jan 2013 10:42:17 +0000 (10:42 +0000)]
Sysdyn charts component as a separate plug-in.

refs #3988

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

11 years agoShare project "org.simantics.jfreechart" into "https://www.simantics.org/svn/simantics"
luukkainen [Wed, 16 Jan 2013 10:41:28 +0000 (10:41 +0000)]
Share project "org.simantics.jfreechart" into "https://www.simantics.org/svn/simantics"

refs #3988

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

11 years agoSmall memory leak fixed in redrawing the trend view (refs #3797).
miettinen [Tue, 15 Jan 2013 13:05:25 +0000 (13:05 +0000)]
Small memory leak fixed in redrawing the trend view (refs #3797).

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

11 years agoAllow function calls as enumeration indexes (fixes #3977)
lempinen [Fri, 11 Jan 2013 11:12:53 +0000 (11:12 +0000)]
Allow function calls as enumeration indexes (fixes #3977)

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

11 years agoValueIndexVariable provides the possibly changed value in game experiments without...
lempinen [Fri, 11 Jan 2013 10:57:03 +0000 (10:57 +0000)]
ValueIndexVariable provides the possibly changed value in game experiments without having to simulate steps. (fixes #3976)

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

11 years agoDependency node is a text node and it requires a string as text. Updated the string...
lempinen [Fri, 11 Jan 2013 10:42:09 +0000 (10:42 +0000)]
Dependency node is a text node and it requires a string as text. Updated the string to be empty instead of null, if polarity has not been set. (fixes #3975)

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

11 years agoPreparing for new OpenModelica release (refs #3878)
lempinen [Fri, 11 Jan 2013 10:35:59 +0000 (10:35 +0000)]
Preparing for new OpenModelica release (refs #3878)

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

11 years agoAsking OpenModelica version only upon running the first experiment after startup...
miettinen [Wed, 9 Jan 2013 10:14:07 +0000 (10:14 +0000)]
Asking OpenModelica version only upon running the first experiment after startup (refs #3941).

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

11 years agoFixed brekage that occurred in Sysdyn after multiline support modifications were...
lehtonen [Tue, 1 Jan 2013 21:58:52 +0000 (21:58 +0000)]
Fixed brekage that occurred in Sysdyn after multiline support modifications were made to TextNode.
Sysdyn contains scene graph node implementations that are inherited from TextNode and those were broken by r26561.

refs #3924

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

12 years agoDelete expression was still using OrderedSet. Removed all references to ordered sets...
lempinen [Thu, 20 Dec 2012 12:26:26 +0000 (12:26 +0000)]
Delete expression was still using OrderedSet. Removed all references to ordered sets (and also commented references to ordered sets) (fixes #3905)

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

12 years agoFixed save in DelayExpression. Simple copy&paste error. (fixes #3904)
lempinen [Thu, 20 Dec 2012 11:53:04 +0000 (11:53 +0000)]
Fixed save in DelayExpression. Simple copy&paste error. (fixes #3904)

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

12 years agoSet up org.simantics.sysdyn.feature build properties to bundle JRE when building...
lehtonen [Tue, 18 Dec 2012 08:12:00 +0000 (08:12 +0000)]
Set up org.simantics.sysdyn.feature build properties to bundle JRE when building with buckminster on Jenkins.

fixes #3900

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

12 years ago-XX:MaxPermSize=192 for sysdyn product launch arguments.
lehtonen [Tue, 18 Dec 2012 08:11:08 +0000 (08:11 +0000)]
-XX:MaxPermSize=192 for sysdyn product launch arguments.

fixes #3899

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

12 years agoBuild preparations (refs #3646)
lempinen [Fri, 14 Dec 2012 13:41:33 +0000 (13:41 +0000)]
Build preparations (refs #3646)

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

12 years agoNull check for lazy result reading (refs #3709)
lempinen [Tue, 11 Dec 2012 07:19:31 +0000 (07:19 +0000)]
Null check for lazy result reading (refs #3709)

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

12 years agoNull checks for lazy result reading save (refs #3709)
miettinen [Mon, 10 Dec 2012 10:41:12 +0000 (10:41 +0000)]
Null checks for lazy result reading save (refs #3709)

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

12 years agoOptimized simulation result read: Fixing results saving bug (refs #3709)
miettinen [Mon, 10 Dec 2012 09:07:47 +0000 (09:07 +0000)]
Optimized simulation result read: Fixing results saving bug (refs #3709)

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

12 years ago* Optimized simulation result read: The result file is indexed after running the...
miettinen [Fri, 7 Dec 2012 12:12:13 +0000 (12:12 +0000)]
* Optimized simulation result read: The result file is indexed after running the simulation; only the 'time' variable and parameters are read straight after the simulation. (refs #3709)
* Fixing a bug of output interval rounding up instead of rounding to the nearest.

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

12 years agoRemoved forgotten debug prints (refs #3708)
lempinen [Wed, 5 Dec 2012 13:34:43 +0000 (13:34 +0000)]
Removed forgotten debug prints (refs #3708)

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

12 years agoFixed copy issues. Changed ordered sets from sysdyn ontology to lists and added requi...
lempinen [Wed, 5 Dec 2012 12:15:42 +0000 (12:15 +0000)]
Fixed copy issues. Changed ordered sets from sysdyn ontology to lists and added required migration steps and tools for old models (refs #3708)

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

12 years agoReverted documentation changes away from trunk (refs #3884)
lempinen [Fri, 30 Nov 2012 11:18:45 +0000 (11:18 +0000)]
Reverted documentation changes away from trunk (refs #3884)

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

12 years agoFixed parameter reading and changing for 1.9 OpenModelica release. (fixes #3884)
lempinen [Fri, 30 Nov 2012 11:05:03 +0000 (11:05 +0000)]
Fixed parameter reading and changing for 1.9 OpenModelica release. (fixes #3884)

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

12 years agoRemoved spreadsheet remover and improved sheet handling (refs #3473)
lempinen [Wed, 28 Nov 2012 09:24:26 +0000 (09:24 +0000)]
Removed spreadsheet remover and improved sheet handling (refs #3473)

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

12 years agoFixed Sysdyn DiagramViewer after changes to the generic DiagramViewer in r26467.
lehtonen [Tue, 27 Nov 2012 21:43:02 +0000 (21:43 +0000)]
Fixed Sysdyn DiagramViewer after changes to the generic DiagramViewer in r26467.

refs #3863

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

12 years agoRemoved immediate text edit activation on element select. (fixes #3880)
lempinen [Tue, 27 Nov 2012 12:10:20 +0000 (12:10 +0000)]
Removed immediate text edit activation on element select. (fixes #3880)

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

12 years agoRemoved unnecessary hover hint listener code from TextElementNoBounds completely.
lehtonen [Tue, 27 Nov 2012 09:28:18 +0000 (09:28 +0000)]
Removed unnecessary hover hint listener code from TextElementNoBounds completely.
They were implemented incorrectly and caused problems in TextNode and should not be there at all.

refs #3877

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

12 years agoMigration for all imports: model, module and function library (fixes #3037)
lempinen [Tue, 27 Nov 2012 06:41:35 +0000 (06:41 +0000)]
Migration for all imports: model, module and function library (fixes #3037)

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

12 years agoVersion migration support to sysdyn. Changes paths in .tg files to enable importing...
lempinen [Mon, 26 Nov 2012 12:11:17 +0000 (12:11 +0000)]
Version migration support to sysdyn. Changes paths in .tg files to enable importing to a newer database. (fixes #3037)

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

12 years agoEnsured that all module configuration definitions are written into the declaration...
lempinen [Mon, 26 Nov 2012 12:09:18 +0000 (12:09 +0000)]
Ensured that all module configuration definitions are written into the declaration part of a model (fixes #3875)

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

12 years agoMoved calculating ranges to a different place and changed it to use synchronized...
lempinen [Mon, 26 Nov 2012 12:07:29 +0000 (12:07 +0000)]
Moved calculating ranges to a different place and changed it to use synchronized query. (fixes #3874)

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

12 years agoSpecial paste -option to diagram context menu (fixes #783)
lempinen [Fri, 23 Nov 2012 08:51:42 +0000 (08:51 +0000)]
Special paste -option to diagram context menu (fixes #783)

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

12 years agoSeparate name caches for each diagram configuration. Previously sysdyn model had...
lempinen [Thu, 22 Nov 2012 08:39:04 +0000 (08:39 +0000)]
Separate name caches for each diagram configuration. Previously sysdyn model had only one cache for the whole model. The cache was created from the first diagram configuration that was opened. (fixes #3773)

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

12 years agoAdded remover to remove references from dependency arrows when the referred variables...
lempinen [Wed, 21 Nov 2012 13:14:14 +0000 (13:14 +0000)]
Added remover to remove references from dependency arrows when the referred variables are removed (fixes #3580)

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

12 years agoAdded sheet variable transformation to stock start value (fixes #3790)
lempinen [Wed, 21 Nov 2012 09:43:58 +0000 (09:43 +0000)]
Added sheet variable transformation to stock start value (fixes #3790)

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

12 years agoEnumeration definition to multiple variables at the same time (fixes #2921)
lempinen [Wed, 21 Nov 2012 09:05:54 +0000 (09:05 +0000)]
Enumeration definition to multiple variables at the same time (fixes #2921)

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

12 years agorefs #3511
lempinen [Tue, 20 Nov 2012 11:07:08 +0000 (11:07 +0000)]
refs #3511

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

12 years agoNew method for changing model init values without compiling the model:
lempinen [Thu, 25 Oct 2012 06:41:15 +0000 (06:41 +0000)]
New method for changing model init values without compiling the model:

1. A full .mo file is created from the model, containing all required class definitions
2. Simulation files are created from the full model .mo (including init.xml)
3. Variables of the old init.xml are replaced with variables from the new init.xml

In addition, spreadsheet cell values can also be changed without having to recompile the model

(refs #3811)

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

12 years agorefs #3805
luukkainen [Tue, 23 Oct 2012 13:44:50 +0000 (13:44 +0000)]
refs #3805

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

12 years agoRemoved duplicate initialization and added a check to setting the value of time varia...
lempinen [Tue, 23 Oct 2012 07:15:04 +0000 (07:15 +0000)]
Removed duplicate initialization and added a check to setting the value of time variable. Time variable is added only in sysdyn. (fixes #3803)

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

12 years agoignore .sdf (refs #3803)
lempinen [Tue, 23 Oct 2012 07:00:49 +0000 (07:00 +0000)]
ignore .sdf (refs #3803)

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

12 years agoissue decorations null check (refs #3789)
lempinen [Mon, 22 Oct 2012 11:34:03 +0000 (11:34 +0000)]
issue decorations null check (refs #3789)

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

12 years agoWorkbenchSelectionElement in nodeType (refs #3799)
lempinen [Mon, 22 Oct 2012 11:23:23 +0000 (11:23 +0000)]
WorkbenchSelectionElement in nodeType (refs #3799)

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

12 years ago* Optimized simulation result read: All results are still read from file in one chunk...
miettinen [Fri, 19 Oct 2012 10:29:43 +0000 (10:29 +0000)]
* Optimized simulation result read: All results are still read from file in one chunk, but are processed further (made into recordings) only upon request. (refs #3709)
* The Save result button makes recordings out of all variables that not yet have those.
* Save result is run in its own job.
* A few null-checks added.

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

12 years agoAdded a null check to selection processor. (fixes #3796)
lempinen [Fri, 19 Oct 2012 07:31:15 +0000 (07:31 +0000)]
Added a null check to selection processor. (fixes #3796)

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

12 years agoissue decorations to old sysdyn model browser (fixes #3789)
lempinen [Wed, 17 Oct 2012 09:29:17 +0000 (09:29 +0000)]
issue decorations to old sysdyn model browser (fixes #3789)

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

12 years agoAdded batch validation to import process. The imported model is validated after impor...
lempinen [Tue, 16 Oct 2012 11:48:51 +0000 (11:48 +0000)]
Added batch validation to import process. The imported model is validated after import. Other issue-issues were fixed when import was not allowed to write to immutable resources #3785 (fixes #3017)

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

12 years agoImmutable resources were modified during import (refs #3785)
lempinen [Tue, 16 Oct 2012 10:16:33 +0000 (10:16 +0000)]
Immutable resources were modified during import (refs #3785)

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

12 years agoBetter issues. Added new issue types and remove issue sources from module types....
lempinen [Mon, 15 Oct 2012 12:31:49 +0000 (12:31 +0000)]
Better issues. Added new issue types and remove issue sources from module types. (refs #3017)

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

12 years ago* Fixing ctrl+space problem in text feed assist (refs #3697)
miettinen [Mon, 15 Oct 2012 10:39:00 +0000 (10:39 +0000)]
* Fixing ctrl+space problem in text feed assist (refs #3697)
* When the selection is chosen in text feed assist box with enter, the equation validation is run.

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

12 years agoChanged sysdyn result reader to buffered reader. Removed line counting of result...
miettinen [Mon, 15 Oct 2012 07:23:14 +0000 (07:23 +0000)]
Changed sysdyn result reader to buffered reader. Removed line counting of result file for .mat files. (refs #3699)

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

12 years agoIgnored .suo and .user files. (refs #3777)
lempinen [Fri, 12 Oct 2012 06:34:58 +0000 (06:34 +0000)]
Ignored .suo and .user files. (refs #3777)

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

12 years agoIgnored and deleted several unnecessary files. (refs #3777)
lempinen [Fri, 12 Oct 2012 06:29:27 +0000 (06:29 +0000)]
Ignored and deleted several unnecessary files. (refs #3777)

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

12 years agoValves are recognized in dependencies view to affect Stocks. (fixes #3707)
lempinen [Thu, 11 Oct 2012 09:52:25 +0000 (09:52 +0000)]
Valves are recognized in dependencies view to affect Stocks. (fixes #3707)

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

12 years agoChanged RelatedOrderedSetElementsAccessor to return an empty list if the Element...
lempinen [Thu, 11 Oct 2012 06:38:02 +0000 (06:38 +0000)]
Changed RelatedOrderedSetElementsAccessor to return an empty list if the Element has no statements (i.e. it has been removed). (fixes #3771)

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

12 years agoFixed plugin name reference (refs #3763)
lempinen [Wed, 10 Oct 2012 11:42:29 +0000 (11:42 +0000)]
Fixed plugin name reference (refs #3763)

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

12 years agoEnumeration issue source for checking that an enumeration is not empty (refs #3048)
lempinen [Wed, 10 Oct 2012 10:32:47 +0000 (10:32 +0000)]
Enumeration issue source for checking that an enumeration is not empty (refs #3048)

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

12 years agoChanged the location of FMU JNI control (refs #3763)
lempinen [Wed, 10 Oct 2012 10:29:45 +0000 (10:29 +0000)]
Changed the location of FMU JNI control (refs #3763)

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

12 years agoRemoved fmu handling from modelica plugins (refs #3763)
lempinen [Wed, 10 Oct 2012 10:26:28 +0000 (10:26 +0000)]
Removed fmu handling from modelica plugins (refs #3763)

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

12 years agofmu me win32 libraries (refs #3763)
lempinen [Wed, 10 Oct 2012 10:25:07 +0000 (10:25 +0000)]
fmu me win32 libraries (refs #3763)

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

12 years agoShare project "org.simantics.fmu.me.win32" into "https://www.simantics.org/svn/simantics"
lempinen [Wed, 10 Oct 2012 10:24:43 +0000 (10:24 +0000)]
Share project "org.simantics.fmu.me.win32" into "https://www.simantics.org/svn/simantics"

(refs #3763)

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

12 years agoorg.simantics.fmu to svn (refs #3763)
lempinen [Wed, 10 Oct 2012 10:22:34 +0000 (10:22 +0000)]
org.simantics.fmu to svn (refs #3763)

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

12 years agoShare project "org.simantics.fmu" into "https://www.simantics.org/svn/simantics"
lempinen [Wed, 10 Oct 2012 10:19:41 +0000 (10:19 +0000)]
Share project "org.simantics.fmu" into "https://www.simantics.org/svn/simantics"

(refs #3763)

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

12 years agoAdded an override to remove() that removes the HoverTextNode event handler from event...
lempinen [Wed, 10 Oct 2012 06:03:53 +0000 (06:03 +0000)]
Added an override to remove() that removes the HoverTextNode event handler from event handlers. (fixes #3762)

    @Override
    public void remove() {
        super.remove();
        removeEventHandler(this);
    }

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

12 years agoWhen the diagram loses focus and a text element is being edited, the element edition...
miettinen [Thu, 27 Sep 2012 09:31:57 +0000 (09:31 +0000)]
When the diagram loses focus and a text element is being edited, the element edition is ended, and thus a possible label change saved (refs #3643).

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

12 years agoRight-click paste allowed when no diagram elements is selected. For some reason,...
miettinen [Wed, 26 Sep 2012 13:17:18 +0000 (13:17 +0000)]
Right-click paste allowed when no diagram elements is selected. For some reason, this does not work always. (refs #3648)

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

12 years agoRename behind F2 and right mouse click (refs #3649)
miettinen [Wed, 26 Sep 2012 11:36:25 +0000 (11:36 +0000)]
Rename behind F2 and right mouse click (refs #3649)

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

12 years agoCopy, Cut, Paste under right click above sysdyn components and modules (refs #3647...
miettinen [Tue, 25 Sep 2012 11:37:28 +0000 (11:37 +0000)]
Copy, Cut, Paste under right click above sysdyn components and modules (refs #3647 #3648 # 3650).

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

12 years agoIcons + splash screen + product definitions
luukkainen [Fri, 21 Sep 2012 10:37:14 +0000 (10:37 +0000)]
Icons + splash screen + product definitions

#fixes #3728

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

12 years agoMatFileReader.toString() now prints filename.
luukkainen [Thu, 20 Sep 2012 12:51:24 +0000 (12:51 +0000)]
MatFileReader.toString() now prints filename.

refs #3722

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

12 years agoAdded value types to issue descriptions (fixes #3710)
lempinen [Fri, 14 Sep 2012 15:35:58 +0000 (15:35 +0000)]
Added value types to issue descriptions (fixes #3710)

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

12 years agoFixed getting simulation playback time for diagram visualizations (refs #3701)
lempinen [Fri, 14 Sep 2012 12:54:35 +0000 (12:54 +0000)]
Fixed getting simulation playback time for diagram visualizations (refs #3701)

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

12 years agoFixed problem with getting time from playback experiments. No variable had #time...
lempinen [Fri, 14 Sep 2012 12:47:36 +0000 (12:47 +0000)]
Fixed problem with getting time from playback experiments. No variable had #time# property. Added the property to experiment runs and modified chart datasets to ask for that value. (fixes #3701)

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

12 years agoFixing my mistake, before it causes any more troubles. Changed the version number...
lempinen [Fri, 14 Sep 2012 10:43:56 +0000 (10:43 +0000)]
Fixing my mistake, before it causes any more troubles. Changed the version number again, this time to 0.0. (refs #3702)

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

12 years agoFont-context menu fixed. Updated Diagram ontology version number. (fixes #3702)
lempinen [Fri, 14 Sep 2012 10:37:44 +0000 (10:37 +0000)]
Font-context menu fixed. Updated Diagram ontology version number. (fixes #3702)

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

12 years agoModelled property tabs for SVG (svg code) and Document (css code) selections. (refs...
lempinen [Wed, 12 Sep 2012 07:27:43 +0000 (07:27 +0000)]
Modelled property tabs for SVG (svg code) and Document (css code) selections. (refs #3511)

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

12 years agoImproving the content assist in text fields (refs #2969):
miettinen [Tue, 11 Sep 2012 10:11:18 +0000 (10:11 +0000)]
Improving the content assist in text fields (refs #2969):
* ESC no longer destroys all changes if pressed when the popup box is open
* The equation doesn't need to be delimited by whitespace to make the auto completion work.
* The cursor is put in between the parenthesis of functions
* Variables are on top of the list
Small fix to completion processor in the charts: '_' character is now allowed too

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

12 years agoFix: When a proposed completion is selected in a text field, the autosave is not...
miettinen [Tue, 11 Sep 2012 06:10:47 +0000 (06:10 +0000)]
Fix: When a proposed completion is selected in a text field, the autosave is not initiated when the selection is accepted with enter. (refs #2969)

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

12 years agoAssister in equation writing: While the user is typing an equation, the text field...
miettinen [Mon, 10 Sep 2012 11:40:31 +0000 (11:40 +0000)]
Assister in equation writing: While the user is typing an equation, the text field anticipates the input and presents the allowed variables and functions in a popup box. Ctrl+space opens the popup box with all allowed functions and variables. (refs #2969)

ESC and ENTER do not yet work properly, and the completion fails also if the equation is written without whitespaces between tokens.

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

12 years agousing long to calculate offsets.
luukkainen [Fri, 7 Sep 2012 10:56:54 +0000 (10:56 +0000)]
using long to calculate offsets.

refs #3692

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

12 years agoChanged relations SYSDYN.Variable.expressions and SYSDYN.Variable.arrayIndexes to...
lempinen [Fri, 7 Sep 2012 07:58:15 +0000 (07:58 +0000)]
Changed relations SYSDYN.Variable.expressions and SYSDYN.Variable.arrayIndexes to subrelations of L0.IsComposedOf. Remover can now delete SYSDYN.Expressions and SYSDYN.ArrayIndexes along with the rest of the variable. (refs #3651)

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

12 years agoRemoved debug prints (refs #3690)
lempinen [Fri, 7 Sep 2012 07:21:29 +0000 (07:21 +0000)]
Removed debug prints (refs #3690)

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

12 years agoFound more issues caused by version changes (refs #3684)
lempinen [Thu, 6 Sep 2012 12:57:26 +0000 (12:57 +0000)]
Found more issues caused by version changes (refs #3684)

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