]>
gerrit.simantics Code Review - simantics/sysdyn.git/log
lehtonen [Fri, 14 Jun 2013 14:54:57 +0000 (14:54 +0000)]
Fixed Sysdyn 1.8 (Simantics 1.11) to point to the correct locations for building. refs #4347
git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/branches/simantics-1.11@27584
ac1ea38d -2e2b-0410-8846-
a27921b304fc
lehtonen [Fri, 14 Jun 2013 13:42:09 +0000 (13:42 +0000)]
"Simantics 1.11 release branching from trunk@27547 to branches/simantics-1.11 on 2013-06-14. refs #4347"
git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/branches/simantics-1.11@27575
ac1ea38d -2e2b-0410-8846-
a27921b304fc
lempinen [Fri, 14 Jun 2013 07:46:27 +0000 (07:46 +0000)]
Added support for exporting JFreeChart charts as SVG (fixes #4344)
git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@27542
ac1ea38d -2e2b-0410-8846-
a27921b304fc
lempinen [Fri, 14 Jun 2013 07:43:38 +0000 (07:43 +0000)]
Trend view could not be reopened. Got rid of anonymous inner class listeners and static variables -> nicer and working code (fixes #4335)
git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@27541
ac1ea38d -2e2b-0410-8846-
a27921b304fc
miettinen [Fri, 14 Jun 2013 05:15:50 +0000 (05:15 +0000)]
* Propose and allow only parameters for sensitivity analysis simulation. (refs #4319)
* Rainbow icon to sensitivity chart (refs #4340)
git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@27540
ac1ea38d -2e2b-0410-8846-
a27921b304fc
lempinen [Thu, 13 Jun 2013 13:06:17 +0000 (13:06 +0000)]
Fixed a bug that caused unit validation warnings for stocks inside modules: Provide time unit data into modules (fixes #4341)
git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@27539
ac1ea38d -2e2b-0410-8846-
a27921b304fc
miettinen [Wed, 12 Jun 2013 07:27:26 +0000 (07:27 +0000)]
Remove under right mouse button for AbstractChart (refs #4330).
Bugfix for removing line and sensitivity charts.
git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@27528
ac1ea38d -2e2b-0410-8846-
a27921b304fc
miettinen [Wed, 12 Jun 2013 06:12:17 +0000 (06:12 +0000)]
Time as the default x-axis in line and sensitivity charts (refs #4323).
git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@27527
ac1ea38d -2e2b-0410-8846-
a27921b304fc
miettinen [Tue, 11 Jun 2013 11:58:55 +0000 (11:58 +0000)]
Estimating (linearly) the confidence limits in sensitivity analysis fan charts (refs #4324).
git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@27520
ac1ea38d -2e2b-0410-8846-
a27921b304fc
miettinen [Tue, 11 Jun 2013 07:33:09 +0000 (07:33 +0000)]
Update sensitivity chart each time a new result file is read to avoid possibly missing some of the last results (refs #4326).
git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@27519
ac1ea38d -2e2b-0410-8846-
a27921b304fc
lempinen [Thu, 6 Jun 2013 11:00:23 +0000 (11:00 +0000)]
Fixed a typo in node imager. Now the image for sensitivity analysis experiment is written correctly. (fixes #4318)
git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@27513
ac1ea38d -2e2b-0410-8846-
a27921b304fc
lempinen [Thu, 6 Jun 2013 10:48:49 +0000 (10:48 +0000)]
Changes in PossibleActiveVariableFromVariable prevented Sysdyn from finding active results for model browser selections. Added <T RVIContext to Sysdyn.Configuration. (fixes #4317)
git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@27512
ac1ea38d -2e2b-0410-8846-
a27921b304fc
lempinen [Thu, 6 Jun 2013 09:33:02 +0000 (09:33 +0000)]
Chart editor that displays a chart when it is double-clicked on model browser (fixes #4198)
git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@27511
ac1ea38d -2e2b-0410-8846-
a27921b304fc
lempinen [Thu, 6 Jun 2013 07:58:43 +0000 (07:58 +0000)]
SensitivityAnalysisExperimentTab displays information of the first parameter when the view is initialized (fixes #4309)
git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@27510
ac1ea38d -2e2b-0410-8846-
a27921b304fc
lempinen [Thu, 6 Jun 2013 06:20:17 +0000 (06:20 +0000)]
Validate units of lookup tables (fixes #4316)
git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@27509
ac1ea38d -2e2b-0410-8846-
a27921b304fc
lempinen [Thu, 6 Jun 2013 06:16:02 +0000 (06:16 +0000)]
Unit validation for stock integrals (fixes #4306)
git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@27508
ac1ea38d -2e2b-0410-8846-
a27921b304fc
lempinen [Thu, 6 Jun 2013 06:15:24 +0000 (06:15 +0000)]
Do not display unit warnings for clouds (fixes #4307)
git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@27507
ac1ea38d -2e2b-0410-8846-
a27921b304fc
lempinen [Thu, 6 Jun 2013 05:34:04 +0000 (05:34 +0000)]
Moved some import and result handling from sysdyn.ui to sysdyn (fixes #4314)
git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@27506
ac1ea38d -2e2b-0410-8846-
a27921b304fc
lempinen [Wed, 22 May 2013 11:31:52 +0000 (11:31 +0000)]
Sensitivity analysis with a better configuration UI. The UI is not perfect, but enables defining variables, indexes and distributions. Multiple parameters are supported. (refs #4239)
git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@27438
ac1ea38d -2e2b-0410-8846-
a27921b304fc
lempinen [Fri, 17 May 2013 10:11:11 +0000 (10:11 +0000)]
Removed diffing full model texts to find out if parameters have changed. The operation took 0 ms, but I got rid of it anyway. Now SysdynModel has a good tool to inspect changes in the model. (refs #3967)
git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@27423
ac1ea38d -2e2b-0410-8846-
a27921b304fc
lempinen [Fri, 17 May 2013 09:05:55 +0000 (09:05 +0000)]
Eliminated the need to build separate full modelica code file for models (OMC version 1.9 ->).
Instead, the experiment creates full modelica structure directly to memory and it is created only once per simulation.
(fixes #3968)
git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@27422
ac1ea38d -2e2b-0410-8846-
a27921b304fc
lempinen [Fri, 10 May 2013 06:16:13 +0000 (06:16 +0000)]
Added time property for sysdyn variables. (refs #4280)
git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@27361
ac1ea38d -2e2b-0410-8846-
a27921b304fc
lempinen [Tue, 7 May 2013 12:13:46 +0000 (12:13 +0000)]
Allow shadow variables to provide values (of the original variables) to modules. (fixes #4273)
git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@27317
ac1ea38d -2e2b-0410-8846-
a27921b304fc
lempinen [Mon, 6 May 2013 10:24:16 +0000 (10:24 +0000)]
Unit validation for module interfaces (refs #4268)
git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@27310
ac1ea38d -2e2b-0410-8846-
a27921b304fc
lempinen [Fri, 3 May 2013 11:13:00 +0000 (11:13 +0000)]
Fixed problem where changing unit in variable does not affect unit validation in expressions where the variable is used. (fixes #4269)
git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@27306
ac1ea38d -2e2b-0410-8846-
a27921b304fc
lempinen [Fri, 3 May 2013 10:13:01 +0000 (10:13 +0000)]
A simple trick for saving experiment configuration values before running simulations if experiment configuration tab is open. The whole tab is wrapped in RemoveFocusBeforeExperimentComposite. HandlerUtil notices this and removes focus from the widget that has focus. This triggers saving the widget's value before simulation is run. (fixes #4242)
git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@27305
ac1ea38d -2e2b-0410-8846-
a27921b304fc
lempinen [Fri, 3 May 2013 09:05:07 +0000 (09:05 +0000)]
Show all runs of sensitivity analysis on charts (fixes #4237)
git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@27304
ac1ea38d -2e2b-0410-8846-
a27921b304fc
lempinen [Fri, 3 May 2013 08:50:01 +0000 (08:50 +0000)]
SensitivityChart configuration widgets: One variable in chart, five possible confidence bounds. Supports multi and single dimensional variables. (fixes #4237)
git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@27303
ac1ea38d -2e2b-0410-8846-
a27921b304fc
lempinen [Thu, 2 May 2013 05:13:55 +0000 (05:13 +0000)]
Forgotten files for unit parser. (refs #4263)
git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@27301
ac1ea38d -2e2b-0410-8846-
a27921b304fc
lempinen [Tue, 30 Apr 2013 07:08:37 +0000 (07:08 +0000)]
Unit validation for functions (UnitType.Any) and array definitions. (refs #4263)
git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@27300
ac1ea38d -2e2b-0410-8846-
a27921b304fc
lempinen [Tue, 30 Apr 2013 07:06:44 +0000 (07:06 +0000)]
Error management for empty datasets (refs #4237)
git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@27299
ac1ea38d -2e2b-0410-8846-
a27921b304fc
lempinen [Mon, 29 Apr 2013 06:40:40 +0000 (06:40 +0000)]
refs #4093
git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@27298
ac1ea38d -2e2b-0410-8846-
a27921b304fc
lempinen [Mon, 29 Apr 2013 06:37:23 +0000 (06:37 +0000)]
Generated UnitParser files (refs #4093)
git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@27297
ac1ea38d -2e2b-0410-8846-
a27921b304fc
lempinen [Mon, 29 Apr 2013 06:36:29 +0000 (06:36 +0000)]
Unit analysis for expressions. (refs #4093)
git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@27296
ac1ea38d -2e2b-0410-8846-
a27921b304fc
lempinen [Mon, 22 Apr 2013 06:44:45 +0000 (06:44 +0000)]
Add shadow profiles for imported models (refs #4154)
git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@27291
ac1ea38d -2e2b-0410-8846-
a27921b304fc
lempinen [Mon, 15 Apr 2013 12:01:45 +0000 (12:01 +0000)]
Ugly but working visualization for shadow variables. (refs #4154)
git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@27285
ac1ea38d -2e2b-0410-8846-
a27921b304fc
lempinen [Mon, 15 Apr 2013 08:18:08 +0000 (08:18 +0000)]
Shadow variables (refs #4094)
git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@27284
ac1ea38d -2e2b-0410-8846-
a27921b304fc
lempinen [Fri, 12 Apr 2013 08:23:29 +0000 (08:23 +0000)]
Fixed color image for color picker button. WidgetSupport was missing a resource manager. (refs #4227)
git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@27282
ac1ea38d -2e2b-0410-8846-
a27921b304fc
lempinen [Thu, 11 Apr 2013 12:27:27 +0000 (12:27 +0000)]
Display only allowed input variables in ModuleInputTab (fixes #4252)
git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@27279
ac1ea38d -2e2b-0410-8846-
a27921b304fc
lempinen [Thu, 11 Apr 2013 12:24:13 +0000 (12:24 +0000)]
First take on sensitivity analysis charts. Uses the same controls as normal line chart, but only one (non-array) variable works! (refs #4237)
git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@27278
ac1ea38d -2e2b-0410-8846-
a27921b304fc
lempinen [Thu, 11 Apr 2013 12:23:59 +0000 (12:23 +0000)]
First take on sensitivity analysis charts. Uses the same controls as normal line chart, but only one (non-array) variable works! (refs #4237)
git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@27277
ac1ea38d -2e2b-0410-8846-
a27921b304fc
lempinen [Thu, 11 Apr 2013 12:17:41 +0000 (12:17 +0000)]
First take on normal distribution for sensitivity analysis (refs #4241)
git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@27276
ac1ea38d -2e2b-0410-8846-
a27921b304fc
lempinen [Thu, 11 Apr 2013 11:11:59 +0000 (11:11 +0000)]
Faster sensitivity analysis simulations and proper progress monitor (refs #4244)
git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@27275
ac1ea38d -2e2b-0410-8846-
a27921b304fc
miettinen [Mon, 8 Apr 2013 08:57:26 +0000 (08:57 +0000)]
First iteration of sensitivity analysis which draws graphs and can be configured through the user interface. (refs #4177)
git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@27259
ac1ea38d -2e2b-0410-8846-
a27921b304fc
miettinen [Fri, 5 Apr 2013 07:34:59 +0000 (07:34 +0000)]
The single simulation results are now drawn in sensitivity analysis.
Added also two icons but they are not used currently. (refs #4177)
git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@27249
ac1ea38d -2e2b-0410-8846-
a27921b304fc
miettinen [Thu, 4 Apr 2013 08:46:16 +0000 (08:46 +0000)]
Run multiple (3) similar simulations in Sensitivity analysis and save results in their own files (refs #4177).
git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@27243
ac1ea38d -2e2b-0410-8846-
a27921b304fc
miettinen [Wed, 3 Apr 2013 08:52:30 +0000 (08:52 +0000)]
Fix for ColorPicker, this is only to clear errors, not to restore the desired functionality (refs #4227).
git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@27236
ac1ea38d -2e2b-0410-8846-
a27921b304fc
lempinen [Tue, 2 Apr 2013 07:09:09 +0000 (07:09 +0000)]
Fixed broken variable shortcuts. The participant was using kpe.stateMask != SHIFT_DOWN_MASK, which did not work anymore, since SHIFT_MASK has also been added to stateMask. Switched to use !kpe.isShiftDown(). (fixes #4221)
git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@27226
ac1ea38d -2e2b-0410-8846-
a27921b304fc
lempinen [Tue, 26 Mar 2013 07:00:24 +0000 (07:00 +0000)]
Fixed deadlock issues when game experiment is active and variable name has been changed: better handling of exceptions in external reads . (fixes #4209)
git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@27206
ac1ea38d -2e2b-0410-8846-
a27921b304fc
lempinen [Tue, 26 Mar 2013 06:57:24 +0000 (06:57 +0000)]
Fixed compilation errors caused by changes in issues (fixes #4208)
git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@27205
ac1ea38d -2e2b-0410-8846-
a27921b304fc
lehtonen [Mon, 25 Mar 2013 19:53:42 +0000 (19:53 +0000)]
Fixed non-compiling TGRefactoring after change r27196 in #4203.
refs #4203
git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@27202
ac1ea38d -2e2b-0410-8846-
a27921b304fc
lempinen [Thu, 21 Mar 2013 11:57:57 +0000 (11:57 +0000)]
Removed no such variable error from module references. (refs #4194)
git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@27186
ac1ea38d -2e2b-0410-8846-
a27921b304fc
lempinen [Thu, 21 Mar 2013 11:36:14 +0000 (11:36 +0000)]
OBJMap update to support recognizing if something has changed (refs #4183)
git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@27185
ac1ea38d -2e2b-0410-8846-
a27921b304fc
lempinen [Thu, 21 Mar 2013 11:29:37 +0000 (11:29 +0000)]
Use old FMU if nothing has been changed in variables, equations or other significant parts. (fixes #4183)
git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@27184
ac1ea38d -2e2b-0410-8846-
a27921b304fc
lempinen [Thu, 21 Mar 2013 09:31:40 +0000 (09:31 +0000)]
Refactored import code to use MigrationUtils.importMigrated (fixes #4192)
git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@27182
ac1ea38d -2e2b-0410-8846-
a27921b304fc
lempinen [Mon, 18 Mar 2013 08:34:42 +0000 (08:34 +0000)]
Copyright texts (refs #4180)
git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@27112
ac1ea38d -2e2b-0410-8846-
a27921b304fc
lempinen [Mon, 18 Mar 2013 08:13:19 +0000 (08:13 +0000)]
Removed accessor from a regular simulation result: divided SysdynResult into MemoryResult (without accessor, saveable to a file) and FileResult (read from a file and used with an accessor) (refs #4180)
git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@27111
ac1ea38d -2e2b-0410-8846-
a27921b304fc
miettinen [Fri, 15 Mar 2013 07:02:42 +0000 (07:02 +0000)]
Initial version of the user interface for the sensitivity analysis simulation (refs #4171). Currently there is little functionality under the interface.
git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@27102
ac1ea38d -2e2b-0410-8846-
a27921b304fc
lempinen [Thu, 14 Mar 2013 14:58:27 +0000 (14:58 +0000)]
Store current valus from fmu to Game Experiment. This speeds up reading current values because you do not need the jni interface. (fixes #4175)
git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@27098
ac1ea38d -2e2b-0410-8846-
a27921b304fc
lehtonen [Mon, 11 Mar 2013 06:53:15 +0000 (06:53 +0000)]
Fixed Sysdyn connection builder to work with the changes that have been made to ConnectionBuilder.
refs #4114
git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@27046
ac1ea38d -2e2b-0410-8846-
a27921b304fc
lempinen [Thu, 7 Mar 2013 12:51:31 +0000 (12:51 +0000)]
Even more awesome about dialog text. This time it might also work. (refs #3646)
git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@27028
ac1ea38d -2e2b-0410-8846-
a27921b304fc
miettinen [Thu, 7 Mar 2013 11:32:41 +0000 (11:32 +0000)]
Added name validation for other elements than variable, module, and enumeration. (refs #4138 #4146)
git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@27026
ac1ea38d -2e2b-0410-8846-
a27921b304fc
lempinen [Tue, 5 Mar 2013 11:41:56 +0000 (11:41 +0000)]
Awesome about dialog text (refs #3646)
git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@27005
ac1ea38d -2e2b-0410-8846-
a27921b304fc
lempinen [Tue, 5 Mar 2013 11:00:59 +0000 (11:00 +0000)]
Version number updates (refs #3646)
git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@27004
ac1ea38d -2e2b-0410-8846-
a27921b304fc
lempinen [Tue, 5 Mar 2013 10:31:43 +0000 (10:31 +0000)]
cquery update. Removed simantics-1.9 refernce from trunk (refs #3646)
git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@27003
ac1ea38d -2e2b-0410-8846-
a27921b304fc
lempinen [Tue, 5 Mar 2013 09:53:12 +0000 (09:53 +0000)]
cquery update (refs #3646)
git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@27001
ac1ea38d -2e2b-0410-8846-
a27921b304fc
lempinen [Fri, 1 Mar 2013 11:53:18 +0000 (11:53 +0000)]
Added a check so that EquationTab does not create a default expression for variable that has already been removed. (fixes #4137)
git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@26945
ac1ea38d -2e2b-0410-8846-
a27921b304fc
lempinen [Fri, 1 Mar 2013 10:38:51 +0000 (10:38 +0000)]
Do not save expressions if they are not changed. (fixes #4136)
git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@26944
ac1ea38d -2e2b-0410-8846-
a27921b304fc
miettinen [Thu, 28 Feb 2013 11:40:45 +0000 (11:40 +0000)]
Nullchecks to save() (refs #4133).
git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@26941
ac1ea38d -2e2b-0410-8846-
a27921b304fc
miettinen [Thu, 28 Feb 2013 11:15:56 +0000 (11:15 +0000)]
Validate the user defined function before saving it (refs #4133).
git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@26940
ac1ea38d -2e2b-0410-8846-
a27921b304fc
lempinen [Thu, 28 Feb 2013 09:31:45 +0000 (09:31 +0000)]
Replaced "(" output_expression_list() ")" with "(" expression() ")". This allows equations like (1+2)^(1+1) but does not allow tuples (1,2,3)^(,,,). (fixes #3942)
git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@26939
ac1ea38d -2e2b-0410-8846-
a27921b304fc
miettinen [Thu, 28 Feb 2013 07:16:46 +0000 (07:16 +0000)]
Added the compiled ModelParser java files (refs #4064)
git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@26937
ac1ea38d -2e2b-0410-8846-
a27921b304fc
miettinen [Thu, 28 Feb 2013 07:16:22 +0000 (07:16 +0000)]
ModelParser parses the inputs and outputs of user defined and shared functions. The inputs and outputs are written to the database to allow the completion processor and the function list in equation tab to show these functions and provide information of their parameters (refs #4064).
git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@26936
ac1ea38d -2e2b-0410-8846-
a27921b304fc
lempinen [Thu, 28 Feb 2013 06:52:31 +0000 (06:52 +0000)]
Null check for saving equations before experiment actions. (refs #4130)
git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@26935
ac1ea38d -2e2b-0410-8846-
a27921b304fc
lempinen [Tue, 26 Feb 2013 13:05:16 +0000 (13:05 +0000)]
Check that ExpressionComposite is not disposed before modifying it (fixes #4124)
git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@26915
ac1ea38d -2e2b-0410-8846-
a27921b304fc
lempinen [Tue, 26 Feb 2013 12:53:52 +0000 (12:53 +0000)]
A HUGE improvement for fmu simulation. Instead of asking getRealValue(variable) for each variable, now we ask getRealValue(variable[]), which is very fast. (fixes #4123)
git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@26914
ac1ea38d -2e2b-0410-8846-
a27921b304fc
lempinen [Mon, 25 Feb 2013 09:49:27 +0000 (09:49 +0000)]
Made sure that SWT fonts, images and colors are disposed correctly. (fixes #4105)
git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@26893
ac1ea38d -2e2b-0410-8846-
a27921b304fc
lempinen [Mon, 25 Feb 2013 09:48:37 +0000 (09:48 +0000)]
Updated Font dialog to not use SWT graphics when possible. If SWT graphics are used, they are disposed correctly using LocalResourceManager. (fixes #4104)
git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@26892
ac1ea38d -2e2b-0410-8846-
a27921b304fc
lempinen [Mon, 25 Feb 2013 09:46:29 +0000 (09:46 +0000)]
Updated connect tool to use changed canConnect function interface (fixes #4116)
git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@26891
ac1ea38d -2e2b-0410-8846-
a27921b304fc
lempinen [Mon, 25 Feb 2013 09:44:45 +0000 (09:44 +0000)]
Added monitor to MigrationUtils.importTo function call (fixes #4115)
git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@26890
ac1ea38d -2e2b-0410-8846-
a27921b304fc
miettinen [Fri, 22 Feb 2013 14:32:53 +0000 (14:32 +0000)]
Fixed SWT Color and Image leaks from ShortcutTab and CompletionProcessor (refs #4102 #4106).
git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@26878
ac1ea38d -2e2b-0410-8846-
a27921b304fc
miettinen [Thu, 21 Feb 2013 07:43:59 +0000 (07:43 +0000)]
* Changed the order in which the functions are shown in ShortcutTabWidget and in assistive text feed popup. (refs #3965)
* A bug fix.
git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@26838
ac1ea38d -2e2b-0410-8846-
a27921b304fc
miettinen [Wed, 20 Feb 2013 12:17:18 +0000 (12:17 +0000)]
Added the new function icons to the functions under the model browser as well (refs #4086).
git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@26820
ac1ea38d -2e2b-0410-8846-
a27921b304fc
miettinen [Wed, 20 Feb 2013 11:19:53 +0000 (11:19 +0000)]
Added additionalProposalInfo to CompeltionProposals; in assistive text feed, when a function with a description is selected, a popup window will pop up on the right of the text feed assistant and print the description of the function. (refs #3965)
git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@26817
ac1ea38d -2e2b-0410-8846-
a27921b304fc
miettinen [Wed, 20 Feb 2013 11:03:24 +0000 (11:03 +0000)]
Adding java files compiled from ModelParser.jj (refs #3965)
git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@26816
ac1ea38d -2e2b-0410-8846-
a27921b304fc
lempinen [Wed, 20 Feb 2013 10:26:03 +0000 (10:26 +0000)]
ExportModule and ExportFunction used old transferable graph requests that did not work properly. Migrated them to using new ModelTransferableGraphRequest. (fixes #4081)
git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@26813
ac1ea38d -2e2b-0410-8846-
a27921b304fc
miettinen [Tue, 19 Feb 2013 14:25:17 +0000 (14:25 +0000)]
A huge commit for Functions in equation tab (refs #4030) and expecially for Expression parser: built-in function arguments assistive text feed (refs #3965):
* Function parameters are shown in the text feed assistant and printed to the expression when the function is selected or when a function is selected in ShortcutTabWidget.
* Added almost all Modelica functions under the model browser, that is, those which seem to work correctly or might be useful. All functions have their interface variables defined in the database as well. Updated also the definitions of the built-in functions.
* Added the interfaces of built-in Modelica functions to be shown similarly to the Modelica codes of all other function.
* Created another representation for a Modelica function in another Function.java: it is used to store and provide with the name, the type, and the parameterlist of a modelica function, and can easily be expanded to do more such stuff as well.
* Added fun icons for different types of functions to the ShortcutTabWidget and the text feed assistant.
* In parsing modelica (user defined) functions, the interface variables are recognized. They are not yet used, though.
* Size of the modelica code viewer (or modelica interface) of a function in user defined or built-in functions is limited to the minimum of 150 px; otherwise the long lines in the description make the code / interface viewer disappear.
* Added auto-generated doc of ModelicaParser.
git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@26807
ac1ea38d -2e2b-0410-8846-
a27921b304fc
lempinen [Fri, 15 Feb 2013 15:01:30 +0000 (15:01 +0000)]
Parameters used the first two of all time values instead of using the first and the last value (refs #3983)
git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@26787
ac1ea38d -2e2b-0410-8846-
a27921b304fc
lempinen [Fri, 15 Feb 2013 14:59:51 +0000 (14:59 +0000)]
Fixed Stock initialization with single number fill(number, size) to use dynamic EnumerationName.size instead of getting the size from the number of indexes defined to enumeration. This way it works also with overridden enumerations (fixes #4073)
git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@26786
ac1ea38d -2e2b-0410-8846-
a27921b304fc
lempinen [Tue, 12 Feb 2013 12:08:29 +0000 (12:08 +0000)]
Removed bin folder from svn. (refs #3878)
git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@26758
ac1ea38d -2e2b-0410-8846-
a27921b304fc
lempinen [Tue, 12 Feb 2013 11:38:43 +0000 (11:38 +0000)]
Better logic and validation for user-selected OpenModelica (refs #4061)
git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@26757
ac1ea38d -2e2b-0410-8846-
a27921b304fc
lempinen [Tue, 12 Feb 2013 06:25:42 +0000 (06:25 +0000)]
Added missing OM version preference page (refs #4061)
git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@26754
ac1ea38d -2e2b-0410-8846-
a27921b304fc
lempinen [Tue, 12 Feb 2013 06:20:52 +0000 (06:20 +0000)]
Using Preferences and UI Preferences page to control OM version (refs #4061)
git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@26753
ac1ea38d -2e2b-0410-8846-
a27921b304fc
lempinen [Mon, 11 Feb 2013 08:29:53 +0000 (08:29 +0000)]
Forgot to commit out document viewer (refs #4061)
git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@26748
ac1ea38d -2e2b-0410-8846-
a27921b304fc
lempinen [Mon, 11 Feb 2013 08:25:48 +0000 (08:25 +0000)]
Preference pages for selecting OM version. This is difficult to use since preference pages are UI components and Modelica should be headless. There needs to be changes in the Modelica interface. (refs #4061)
git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@26747
ac1ea38d -2e2b-0410-8846-
a27921b304fc
lempinen [Fri, 8 Feb 2013 13:12:25 +0000 (13:12 +0000)]
New OpenModelica 1.9 Beta 4. We will use this if the final release does not come before Sysdyn release. (refs #3878)
git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@26745
ac1ea38d -2e2b-0410-8846-
a27921b304fc
lempinen [Fri, 8 Feb 2013 12:58:23 +0000 (12:58 +0000)]
Removed old OpenModelica 1.8.1 (refs #3878)
git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@26744
ac1ea38d -2e2b-0410-8846-
a27921b304fc
lempinen [Fri, 8 Feb 2013 12:50:49 +0000 (12:50 +0000)]
Enabled parameter overrides for normal experiments. A flattened model is created with OpenModelica 1.9 to find parameters, so also module instance parameters work automatically. (fixes #4060)
git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@26743
ac1ea38d -2e2b-0410-8846-
a27921b304fc
lempinen [Fri, 8 Feb 2013 12:38:33 +0000 (12:38 +0000)]
Treat variables with pre() and delay() functions as continuous variables instead of parameter variables (fixes #4059)
git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@26742
ac1ea38d -2e2b-0410-8846-
a27921b304fc
lempinen [Fri, 8 Feb 2013 12:35:45 +0000 (12:35 +0000)]
Unused index variable is no longer marked as invalid index. (fixes #4058)
git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@26741
ac1ea38d -2e2b-0410-8846-
a27921b304fc