simantics/platform.git
3 years agoAdd missing dependencies for REST server and include to desktop-feature 70/1070/4
jsimomaa [Wed, 4 Oct 2017 05:09:57 +0000 (08:09 +0300)]
Add missing dependencies for REST server and include to desktop-feature

refs #7374

Change-Id: I3c86f071820657d5582bb1240b19db9527497ee3

3 years agoMerge "(refs #7519) Added old constructor back to ConnectionVisuals."
Hannu Niemistö [Tue, 3 Oct 2017 19:08:37 +0000 (22:08 +0300)]
Merge "(refs #7519) Added old constructor back to ConnectionVisuals."

3 years ago(refs #7519) Added old constructor back to ConnectionVisuals. 69/1069/1
Reino Ruusu [Tue, 3 Oct 2017 14:56:08 +0000 (17:56 +0300)]
(refs #7519) Added old constructor back to ConnectionVisuals.

Change-Id: I3eecd6e8cd8099f5c48e4096136e41bcf9670dff

3 years agoAllow special category treatment for any predicate 68/1068/2
Antti Villberg [Mon, 2 Oct 2017 18:24:40 +0000 (21:24 +0300)]
Allow special category treatment for any predicate

refs #7525

Change-Id: I69b3e64d2d01bd7688f689b4f6facab96a87f127

3 years agoSupply SVG text editor with element measurement context 67/1067/3
Antti Villberg [Mon, 2 Oct 2017 13:38:46 +0000 (16:38 +0300)]
Supply SVG text editor with element measurement context

refs #7520

Change-Id: Iea98f28077efb628fee588df4d8cab64906add30

3 years agoMerge "Supply SVG text editor with element measurement context"
Tuukka Lehtonen [Mon, 2 Oct 2017 13:26:19 +0000 (16:26 +0300)]
Merge "Supply SVG text editor with element measurement context"

3 years agoMerge "Adding SCL REST server feature and including to SDK"
Tuukka Lehtonen [Mon, 2 Oct 2017 13:02:14 +0000 (16:02 +0300)]
Merge "Adding SCL REST server feature and including to SDK"

3 years agoAdding SCL REST server feature and including to SDK 66/1066/3
jsimomaa [Mon, 2 Oct 2017 12:11:00 +0000 (15:11 +0300)]
Adding SCL REST server feature and including to SDK

refs #7374

Change-Id: Icca0e7e5cf57004d7400ed8984632f5cca036562

3 years agoSupply SVG text editor with element measurement context 60/1060/7
Antti Villberg [Sun, 1 Oct 2017 17:49:17 +0000 (20:49 +0300)]
Supply SVG text editor with element measurement context

refs #7520

Change-Id: Ie72bc282f98b2545fed14ff6bd55fb10198e0151

3 years agoMerge "(refs #7521) Added FunctionalRelation types to properties in graphfile"
Tuukka Lehtonen [Mon, 2 Oct 2017 10:54:40 +0000 (13:54 +0300)]
Merge "(refs #7521) Added FunctionalRelation types to properties in graphfile"

3 years agoMerge "(refs #7524) Set Refresh automatically as default in SCLConsole"
Tuukka Lehtonen [Mon, 2 Oct 2017 10:54:20 +0000 (13:54 +0300)]
Merge "(refs #7524) Set Refresh automatically as default in SCLConsole"

3 years ago(refs #7521) Added FunctionalRelation types to properties in graphfile 65/1065/1
Hannu Niemistö [Mon, 2 Oct 2017 10:35:22 +0000 (13:35 +0300)]
(refs #7521) Added FunctionalRelation types to properties in graphfile

Change-Id: I7309b87a7c2fa5f9fda4601eb29fb8278371cd9a

3 years ago(refs #7524) Set Refresh automatically as default in SCLConsole 64/1064/1
Hannu Niemistö [Mon, 2 Oct 2017 10:30:17 +0000 (13:30 +0300)]
(refs #7524) Set Refresh automatically as default in SCLConsole

Change-Id: Iddeb05a729d49be1238aa895d5ecc0e17fdb7d53

3 years agoUpdate diagram element graphics when symbol graphics change 63/1063/5
Antti Villberg [Mon, 2 Oct 2017 06:13:12 +0000 (09:13 +0300)]
Update diagram element graphics when symbol graphics change

refs #7523

Change-Id: Ia600c55dbf607a657dee4ad1adb8a02c488205c0

3 years ago(refs #7522) Added isPersistent to Simantics/DB 62/1062/1
Hannu Niemistö [Mon, 2 Oct 2017 05:23:16 +0000 (08:23 +0300)]
(refs #7522) Added isPersistent to Simantics/DB

Change-Id: Ib7e405641d30380d668ed9d618776eca3e15adab

3 years ago(refs #7521) DIA.HasModCount should be functional 61/1061/1
Hannu Niemistö [Mon, 2 Oct 2017 05:22:25 +0000 (08:22 +0300)]
(refs #7521) DIA.HasModCount should be functional

Change-Id: If2bbad3e1c631db5c34137afcdf5e2961e8964d2

3 years ago(refs #7519) Configurable branch point radius 59/1059/1
Hannu Niemistö [Fri, 29 Sep 2017 13:27:01 +0000 (16:27 +0300)]
(refs #7519) Configurable branch point radius

Change-Id: I0fc188f24ef6d9308bef6836595792348a38f603

3 years agoStop click event propagation if something was selected 58/1058/1
Antti Villberg [Fri, 29 Sep 2017 09:30:05 +0000 (12:30 +0300)]
Stop click event propagation if something was selected

refs #7518

Change-Id: I78466af81c8d7215c198293c016ea641707dc3b1

3 years agoFixed event mask of org.simantics.diagram.elements.TextGridNode
Tuukka Lehtonen [Thu, 28 Sep 2017 16:09:10 +0000 (19:09 +0300)]
Fixed event mask of org.simantics.diagram.elements.TextGridNode

In order to function properly TextGridNode needs to listen to MouseMoved
and MouseButtonReleased events, which were missing from the event mask.

refs #7517

Change-Id: I301de9812ab9427a3ef037884c89b7cb4e7b0abe
(cherry picked from commit 7e1c0263ce7496c044e0de710b5db37a749df4f3)

3 years agoMerge "Exclude fully weak relations to external resources in model TG export"
Hannu Niemistö [Thu, 28 Sep 2017 11:23:14 +0000 (14:23 +0300)]
Merge "Exclude fully weak relations to external resources in model TG export"

3 years agoExclude fully weak relations to external resources in model TG export 52/1052/1
Antti Villberg [Thu, 28 Sep 2017 11:13:29 +0000 (14:13 +0300)]
Exclude fully weak relations to external resources in model TG export

refs #7516

Change-Id: I63759780310eab31f3b7f8417c8c48080857bfa9

3 years agoImprovement of index and group implementations and indexGroup(By) 50/1050/1
Hannu Niemistö [Thu, 28 Sep 2017 10:21:29 +0000 (13:21 +0300)]
Improvement of index and group implementations and indexGroup(By)

(refs #7514)

Change-Id: I0c3d6a08f17ba7f9028d0a7df515fec8abd04734

3 years agoIntroduced possibleUriOf for Browsable class in Simantics/DB 46/1046/5
Antti Villberg [Wed, 27 Sep 2017 14:28:14 +0000 (17:28 +0300)]
Introduced possibleUriOf for Browsable class in Simantics/DB

Imported possibleUriOfResource for Browsable Resource implementation.
Browsable Variable uses the same uri implementation for both uriOf and
possibleUriOf since Variables always have a URI.

Also added yet another utility function possiblePredicateByNameFromType
to Simantics/DB.

refs #7512

Change-Id: I2363aed7ed67ba84bd992847187fe8ac6c7b6bce

3 years agoSplash screen for Simantics Desktop product 48/1048/2
Tuukka Lehtonen [Wed, 27 Sep 2017 20:49:07 +0000 (23:49 +0300)]
Splash screen for Simantics Desktop product

refs #7396

Change-Id: Iaed2e3a56b2b0114f62ca75583dd2d047c36b4c1

3 years agoNew type class MonadE and corresponding monad syntax with edo keyword 37/1037/2
Hannu Niemistö [Tue, 26 Sep 2017 11:17:47 +0000 (14:17 +0300)]
New type class MonadE and corresponding monad syntax with edo keyword

Utilizing edo in GShow, also possibleCurrentModel in DB.

refs #7508

Change-Id: I9d1fd551ef61dc7f81f74203bf83017b40dc9664

3 years agoMerge "Allow creation of SCL modules to folders that are also module names"
Tuukka Lehtonen [Tue, 26 Sep 2017 07:33:55 +0000 (10:33 +0300)]
Merge "Allow creation of SCL modules to folders that are also module names"

3 years agoAdded org.eclipse.collections.eclipse-collections-api back to TPD 32/1032/2
Tuukka Lehtonen [Tue, 26 Sep 2017 06:57:24 +0000 (09:57 +0300)]
Added org.eclipse.collections.eclipse-collections-api back to TPD

Without this the implementation plug-in naturally won't resolve.

refs #7358

Change-Id: I9638d8ab3c57091b16a2b8fda601763a6b126dbf

3 years agoAllow creation of SCL modules to folders that are also module names 30/1030/1
Hannu Niemistö [Mon, 25 Sep 2017 13:34:25 +0000 (16:34 +0300)]
Allow creation of SCL modules to folders that are also module names

refs #7507

Change-Id: I5c1cc4686aad8b125a5d9debc70eb6376805f3a4

3 years ago(refs #7506) Added >=> operator to Prelude 29/1029/1
Hannu Niemistö [Mon, 25 Sep 2017 13:05:39 +0000 (16:05 +0300)]
(refs #7506) Added >=> operator to Prelude

Change-Id: I4e395bd3d2bc2f49741e66dab3bf9175cfb1bc9a

3 years agoAdded MMap.getOrCreate 18/1018/1
Hannu Niemistö [Mon, 25 Sep 2017 09:41:03 +0000 (12:41 +0300)]
Added MMap.getOrCreate

refs #7503

Change-Id: Ibc03b5c51365e4d5c2d2250fbf7265adc298a84a

3 years agoRobustness fixes for inline SVG text editing on diagrams 11/1011/4
Tuukka Lehtonen [Fri, 22 Sep 2017 06:31:55 +0000 (09:31 +0300)]
Robustness fixes for inline SVG text editing on diagrams

This fixes the code to not assume during scene graph rendering that the
canvas context is hosted by an AWTChassis.

refs #7458

Change-Id: Ibb9955424784a1d3c2069d6a668559d95d88b181

3 years agoMerge "Dirty hack to get CHR ruleset resolved before functions using them"
Hannu Niemistö [Fri, 22 Sep 2017 09:46:10 +0000 (12:46 +0300)]
Merge "Dirty hack to get CHR ruleset resolved before functions using them"

3 years agoDirty hack to get CHR ruleset resolved before functions using them 15/1015/2
Hannu Niemistö [Fri, 22 Sep 2017 08:04:48 +0000 (11:04 +0300)]
Dirty hack to get CHR ruleset resolved before functions using them

refs #7500

Change-Id: I2a0c64c2ee8bb6698d36ee3682f29e42201c96a5

3 years agoAdding system property support for starting SCL REST server on startup 14/1014/2
jsimomaa [Fri, 22 Sep 2017 07:30:52 +0000 (10:30 +0300)]
Adding system property support for starting SCL REST server on startup

refs #7374

Change-Id: I4d961a547ccf5101fd36846c4deddda4c20048b9

3 years agoImprove joinWithSeparator and intercalate documentation 10/1010/2
Tuukka Lehtonen [Thu, 21 Sep 2017 12:25:25 +0000 (15:25 +0300)]
Improve joinWithSeparator and intercalate documentation

refs #7490

Change-Id: Iaf856a02d806b4f1bcdc0b56c5724fbcd620dbca

3 years ago(refs #7498) Bugfixing implementation of skeleton refs 07/1007/1
Hannu Niemistö [Wed, 20 Sep 2017 15:29:53 +0000 (18:29 +0300)]
(refs #7498) Bugfixing implementation of skeleton refs

Change-Id: If396a5e40fdcb08ce0911115ac44fb516fc2bea7

3 years agoImproved exception information and logging in PlatformUtil.getGraph() 03/1003/4
jsimomaa [Wed, 20 Sep 2017 03:49:07 +0000 (06:49 +0300)]
Improved exception information and logging in PlatformUtil.getGraph()

* Wrap all Exceptions that may occur during execution
* Log and rethrow any Errors thrown to be able to trace startup errors
  in case of malformed graph.tg inputs

refs #7496

Change-Id: I3cd46f68ba389935ffb795e1b4bfc081d9ee5e75

3 years agoAdded cleaner rendering hint to decide text rendering mode: text/paths 92/992/2
Tuukka Lehtonen [Tue, 19 Sep 2017 06:50:05 +0000 (09:50 +0300)]
Added cleaner rendering hint to decide text rendering mode: text/paths

refs #7491

Change-Id: I0c22413f149b25fcfc16cde2c2f7279a9e0eaa55

3 years agoAdd undocumented functions in Prelude.scl to Prelude.md 91/991/4
Tuukka Lehtonen [Tue, 19 Sep 2017 06:35:22 +0000 (09:35 +0300)]
Add undocumented functions in Prelude.scl to Prelude.md

refs #7490

Change-Id: I4fef578b2880098755274f5078782db4d0dc0940

3 years ago(refs #7489) Added replicate function to Prelude 83/983/1
Hannu Niemistö [Mon, 18 Sep 2017 11:23:53 +0000 (14:23 +0300)]
(refs #7489) Added replicate function to Prelude

Also removed a debug print from OpenDeclaration.

Change-Id: I9fff24e82183dfee46354800f277ab1987bb5d09

3 years agoChange logback.xml ROOT log level to INFO and org.simantics* to DEBUG 78/978/2
jsimomaa [Mon, 18 Sep 2017 05:37:15 +0000 (08:37 +0300)]
Change logback.xml ROOT log level to INFO and org.simantics* to DEBUG

Add additivity="false" to not avoid duplicate logging

refs #7488

Change-Id: Ic7333bf6b6b36e554f4d43a21ba92826acd3eb86

3 years agoAdd qualifier for SLF4J version to force update of JAR in TP 66/966/2
jsimomaa [Wed, 13 Sep 2017 06:25:32 +0000 (09:25 +0300)]
Add qualifier for SLF4J version to force update of JAR in TP

Update target platform

refs #7474

Change-Id: Ied12f9d131a5605b03ced6ae7061186ea96b7fc3

3 years agoAdd qualifier for SLF4J version to force update of JAR in TP 65/965/2
jsimomaa [Wed, 13 Sep 2017 06:10:29 +0000 (09:10 +0300)]
Add qualifier for SLF4J version to force update of JAR in TP

refs #7474

Change-Id: I5d7d7e53e6e6120111f13f9a7907abe627325504

3 years agoIncluded org.eclipse.userstorage feature in org.simantics.sdk feature 64/964/1
Tuukka Lehtonen [Tue, 12 Sep 2017 19:20:00 +0000 (22:20 +0300)]
Included org.eclipse.userstorage feature in org.simantics.sdk feature

org.eclipse.userstorage and MPC should still be part of the SDK although
not a part of the Desktop product.

refs #7484

Change-Id: Ibafc74ebba00f17d51312a200cca7d8cf0fb4b53

3 years agoRemoved Eclipse Marketplace Client from Simantics Desktop product 62/962/1
Tuukka Lehtonen [Tue, 12 Sep 2017 13:17:58 +0000 (16:17 +0300)]
Removed Eclipse Marketplace Client from Simantics Desktop product

MPC is not needed and neither is org.eclipse.userstorage after removing
MPC.

Also removed JDK8-deprecated and otherwise unnecessary arguments from
simantics-desktop.product.

refs #7484

Change-Id: I13976228cea62f65a69472b511c7af92330e9f33

3 years agoAllow contributing os.selectionview.SelectionProcessors from ontologies 48/948/2
Tuukka Lehtonen [Mon, 11 Sep 2017 21:00:10 +0000 (00:00 +0300)]
Allow contributing os.selectionview.SelectionProcessors from ontologies

refs #7478

Change-Id: I647f4dda8b7dd125cd83624741fe0d6d87c818df

3 years agoIcon support in IListItem 50/950/2
Antti Villberg [Tue, 12 Sep 2017 04:10:52 +0000 (07:10 +0300)]
Icon support in IListItem

refs #7480

Change-Id: I98fde337d3f5064c6907cea3f00c535145f73211

3 years agoAdded ListUtils.create alternatives that work with WriteOnlyGraph 47/947/2
Tuukka Lehtonen [Mon, 11 Sep 2017 08:49:03 +0000 (11:49 +0300)]
Added ListUtils.create alternatives that work with WriteOnlyGraph

This allows those functions to work with DelayedWrites as well.

refs #7477

Change-Id: I88a9de053783f05db85ecad8d1c6290e4ebc8258

3 years agoAdding missing simantics.target with correct jackson versions 45/945/1
jsimomaa [Fri, 8 Sep 2017 09:55:20 +0000 (12:55 +0300)]
Adding missing simantics.target with correct jackson versions

refs #7447

Change-Id: Ideba2d347257dd122cd161fbf889f4f94b5b0781

3 years agoGetting rid of multiple jackson versions 40/940/1
jsimomaa [Thu, 7 Sep 2017 13:22:52 +0000 (16:22 +0300)]
Getting rid of multiple jackson versions

Update target platform

refs #7447

Change-Id: I407b76d0c7df9f291f42eb3eb66ef0ce0045dd20

3 years agoGetting rid of multiple jackson versions 39/939/1
jsimomaa [Thu, 7 Sep 2017 13:16:55 +0000 (16:16 +0300)]
Getting rid of multiple jackson versions

refs #7447

Change-Id: Ic41dd09b47cdc766bdd5a2d2c6b356a273672c6c

3 years agoSpecify exported package version to org.slf4j.api 35/935/1
jsimomaa [Thu, 7 Sep 2017 08:07:38 +0000 (11:07 +0300)]
Specify exported package version to org.slf4j.api

refs #7474

Change-Id: I4b7d8f3a5ed87290db38dffc0f247072ce0e1354

3 years ago(refs #7470) SCL function for migrating all instances of component type 27/927/1
Hannu Niemistö [Wed, 6 Sep 2017 13:09:07 +0000 (16:09 +0300)]
(refs #7470) SCL function for migrating all instances of component type

Change-Id: I8b2e7252702bd0c7d938b74239f024f5d5ac088a

3 years agoBetter support for ontological profiles 19/919/5
Antti Villberg [Tue, 5 Sep 2017 18:05:51 +0000 (21:05 +0300)]
Better support for ontological profiles

refs #7465

Change-Id: I6b832067db3a7db4903934c97b4c9e48ee301c0a

3 years agoMerge "More descriptive label for PlatformUI shared ontology"
Tuukka Lehtonen [Wed, 6 Sep 2017 08:01:47 +0000 (11:01 +0300)]
Merge "More descriptive label for PlatformUI shared ontology"

3 years agoMerge "Font property for DIA.TextElement"
Hannu Niemistö [Wed, 6 Sep 2017 07:50:52 +0000 (10:50 +0300)]
Merge "Font property for DIA.TextElement"

3 years agoMore descriptive label for PlatformUI shared ontology 20/920/2
Antti Villberg [Wed, 6 Sep 2017 06:10:38 +0000 (09:10 +0300)]
More descriptive label for PlatformUI shared ontology

refs #7467

Change-Id: I857a64799847f6c7768ee78f3092368c5bea43b6

3 years agoImproved target platform related README.md 21/921/2
Tuukka Lehtonen [Wed, 6 Sep 2017 06:52:46 +0000 (09:52 +0300)]
Improved target platform related README.md

Added more information on the .tpd tool.

Change-Id: Ic56ff8a1bd3603beed980d336c8f8db6acbb51b6

3 years agoFont property for DIA.TextElement 17/917/4
Antti Villberg [Tue, 5 Sep 2017 12:13:51 +0000 (15:13 +0300)]
Font property for DIA.TextElement

refs #7466

Change-Id: I3ee21138f8488d207ec07a00f6ceaf177880577f

3 years ago(refs #7461) Fix to StructuralRVIResolver.getPossibleRVI 18/918/1
Hannu Niemistö [Tue, 5 Sep 2017 14:13:53 +0000 (17:13 +0300)]
(refs #7461) Fix to StructuralRVIResolver.getPossibleRVI

Call getPossibleRVI instead of getRVI.

Change-Id: I1638f0a08c78ac784f7c3d2e3a6f9ce4e9670f43

3 years agoBetter support for ontological profiles 16/916/2
Antti Villberg [Tue, 5 Sep 2017 10:01:50 +0000 (13:01 +0300)]
Better support for ontological profiles

refs #7465

Change-Id: I53e4dcdd4c0ffde62cf231bbcbde325e585096f9

3 years ago(refs #7464) Fixed SWTKeyEventAdapter for producing '*' 15/915/3
Hannu Niemistö [Tue, 5 Sep 2017 09:26:50 +0000 (12:26 +0300)]
(refs #7464) Fixed SWTKeyEventAdapter for producing '*'

Change-Id: I53497ff8a7999e69c3e9a906d02dd4b229486435

3 years agoLink PlatformUI Model to the ontology 14/914/2
Antti Villberg [Mon, 4 Sep 2017 17:09:28 +0000 (20:09 +0300)]
Link PlatformUI Model to the ontology

refs #7463

Change-Id: Iadcf1be0ac64e468ff758e0a5715079b8199ec12

3 years agoPublish OntologicalRequirementTracker as LifeCycleProcess 13/913/3
Antti Villberg [Mon, 4 Sep 2017 17:08:18 +0000 (20:08 +0300)]
Publish OntologicalRequirementTracker as LifeCycleProcess

refs #7462

Change-Id: Id29b225c3e7556a3afc5c4df54ed3a87a48c7908

3 years agoMerge "Editing of texts inside SVG elements"
Tuukka Lehtonen [Mon, 4 Sep 2017 19:41:55 +0000 (22:41 +0300)]
Merge "Editing of texts inside SVG elements"

3 years agoEditing of texts inside SVG elements 99/899/7
Antti Villberg [Fri, 1 Sep 2017 10:57:05 +0000 (13:57 +0300)]
Editing of texts inside SVG elements

refs #7458

Change-Id: Ied21d5c7706f2fa7c060088b5b57c46ee17977b2

3 years ago(refs #7461) Implemented StructuralRVIResolver.getPossibleRVI 12/912/1
Hannu Niemistö [Mon, 4 Sep 2017 15:42:48 +0000 (18:42 +0300)]
(refs #7461) Implemented StructuralRVIResolver.getPossibleRVI

Change-Id: I451d37af2cc532332c8de3d7c6401afda23bd969

3 years agoChange jersey back to 2.25.1 from 2.26 to fix resource-locator problems 10/910/1
jsimomaa [Mon, 4 Sep 2017 09:45:30 +0000 (12:45 +0300)]
Change jersey back to 2.25.1 from 2.26 to fix resource-locator problems

update target platform

refs #7447

Change-Id: Ie0a5cab6c7e31f2be2232ddf3067c503467d15b9

3 years agoChange jersey back to 2.25.1 from 2.26 to fix resource-locator problems 08/908/1
jsimomaa [Mon, 4 Sep 2017 09:19:02 +0000 (12:19 +0300)]
Change jersey back to 2.25.1 from 2.26 to fix resource-locator problems

update target platform

refs #7447

Change-Id: I3d056d366d700824a59a2db2e5781dc67a7749ce

3 years agoChange jersey back to 2.25.1 from 2.26 to fix resource-locator problems 07/907/1
jsimomaa [Mon, 4 Sep 2017 09:13:24 +0000 (12:13 +0300)]
Change jersey back to 2.25.1 from 2.26 to fix resource-locator problems

refs #7447

Change-Id: I475e7d6505dbae9a1b2612a46a77756545aab1ec

3 years agoChange jersey back to 2.25.1 from 2.26 to fix resource-locator problems 06/906/1
jsimomaa [Mon, 4 Sep 2017 09:11:32 +0000 (12:11 +0300)]
Change jersey back to 2.25.1 from 2.26 to fix resource-locator problems

refs #7447

Change-Id: I9f4181d2ff9ad9753703a9e603eb6059e43d0bf6

3 years ago(refs #7460) Prevent NPE if variable type is null. 04/904/1
Hannu Niemistö [Sun, 3 Sep 2017 08:12:15 +0000 (11:12 +0300)]
(refs #7460) Prevent NPE if variable type is null.

This may happen, if the variable is defined in a pattern and
the pattern type checking is not finished because of a type error.

Change-Id: I91aa4c7938769f84388fbc18f089b662e3ddcb9d

3 years ago(refs #7459) Fixed check for alread defined value name in the module. 02/902/2
Hannu Niemistö [Fri, 1 Sep 2017 13:03:24 +0000 (16:03 +0300)]
(refs #7459) Fixed check for alread defined value name in the module.

Change-Id: I2826c194a0210da4b63746caa7ea92e2e6e60d26

3 years agoFixed function name clash in Simantics/DB#createList 01/901/1
Tuukka Lehtonen [Fri, 1 Sep 2017 13:00:37 +0000 (16:00 +0300)]
Fixed function name clash in Simantics/DB#createList

The second createList is now createListWithType which takes the type of
the list as the first argument.

refs #7390

Change-Id: I8b52f792cb683bfc764ecd7a53bfb9b0c76b4d5f

3 years ago(refs #7457) Make default ComponentType name prefix an assertion 97/897/4
Hannu Niemistö [Thu, 31 Aug 2017 08:06:08 +0000 (11:06 +0300)]
(refs #7457) Make default ComponentType name prefix an assertion

Change-Id: I245960d29a5ac7a27af568174f5d62669382ad68

3 years ago(refs #7456) Automatic activation of model after import 96/896/2
Hannu Niemistö [Thu, 31 Aug 2017 07:33:52 +0000 (10:33 +0300)]
(refs #7456) Automatic activation of model after import

Change-Id: I8b70618c5c4d46f141f2dcec39fbf73ac0d730fc

3 years agoMerge "(refs #7453) Switch component type of the component"
Hannu Niemistö [Mon, 28 Aug 2017 07:51:06 +0000 (10:51 +0300)]
Merge "(refs #7453) Switch component type of the component"

3 years agoFixed null pointer problem from SCLSCriptEditorAdapter 94/894/1
Tuukka Lehtonen [Sun, 27 Aug 2017 18:11:21 +0000 (21:11 +0300)]
Fixed null pointer problem from SCLSCriptEditorAdapter

refs #7450

Change-Id: Iafa03f216815c5c0f06a8ed27a081cd7db1c71fc

3 years ago(refs #7453) Switch component type of the component 93/893/1
Hannu Niemistö [Sun, 27 Aug 2017 16:10:02 +0000 (19:10 +0300)]
(refs #7453) Switch component type of the component

This change adds ontology definitions for declaring a group of similar
component types and an action to switch between them.

Change-Id: I15f26d97e9eec81ff9ff1ec65e5f6be1782ba24b

3 years agoSupport for SCL script database storage, editing and execution 91/891/3
Tuukka Lehtonen [Fri, 25 Aug 2017 21:38:28 +0000 (00:38 +0300)]
Support for SCL script database storage, editing and execution

* Ontology for defining an SCL script in the database (L0.SCLScript)
* A text editor for L0.SCLScripts:
** Basic syntax highlighting (same as in SCL Module editor)
** Script validation
** Easy script execution directly from the editor (CTRL+R)
* View scripts in model browser under L0.Library instances
* Script execution from Model Browser context menu

refs #7450

Change-Id: I57016492589b6a9b693d926a56a3d0fe7b317023

3 years ago(refs #7452) Added PreferredDiagramEditorID to Modeling.graph 92/892/1
Hannu Niemistö [Sun, 27 Aug 2017 09:03:37 +0000 (12:03 +0300)]
(refs #7452) Added PreferredDiagramEditorID to Modeling.graph

Change-Id: I8e3ea28f814ecc7b28182bc47f5f4fde18fb7b3e

3 years agoAdding HK2 for Jersey injection 89/889/1
jsimomaa [Thu, 24 Aug 2017 13:52:32 +0000 (16:52 +0300)]
Adding HK2 for Jersey injection

Update target platform to include Aries for OSGI service loading

refs #7447

Change-Id: I702b2d2c34a596a849f2b535ff43d9cf58be4108

3 years agoAdding HK2 for Jersey injection 88/888/1
jsimomaa [Thu, 24 Aug 2017 13:47:05 +0000 (16:47 +0300)]
Adding HK2 for Jersey injection

Add Aries for OSGI service loading

refs #7447

Change-Id: I61ddbc83aefc9af2e3dbd722bd42a999715c95eb

3 years agoAdding HK2 for Jersey injection 87/887/1
jsimomaa [Thu, 24 Aug 2017 13:16:55 +0000 (16:16 +0300)]
Adding HK2 for Jersey injection

Update target platform

refs #7447

Change-Id: Ibf0bb2191457115e23128cf5a205779ed758ea34

3 years agoAdding HK2 for Jersey injection 86/886/1
jsimomaa [Thu, 24 Aug 2017 13:06:51 +0000 (16:06 +0300)]
Adding HK2 for Jersey injection

refs #7447

Change-Id: Icc9a3b059d51b88575e35266c20b2624600b7070

3 years agojava.nio.file.Files and Charset SCL API with <Exception> effect 83/883/4
jsimomaa [Wed, 23 Aug 2017 18:00:42 +0000 (21:00 +0300)]
java.nio.file.Files and Charset SCL API with <Exception> effect

refs #7448

Change-Id: I6c4a5307ae5a0ce6c346e1afe80f97b90464c3c6

3 years ago(refs #7448) Logging exceptions 85/885/2
Hannu Niemistö [Thu, 24 Aug 2017 09:23:17 +0000 (12:23 +0300)]
(refs #7448) Logging exceptions

Change-Id: I74cf2f40102adeb1c86abce3ecb4c9641d0fa7e5

3 years ago(refs #7448) Added Exception effect 84/884/2
Hannu Niemistö [Thu, 24 Aug 2017 08:59:27 +0000 (11:59 +0300)]
(refs #7448) Added Exception effect

Change-Id: I7a684e1d4b095924d03fd1fdbba2a7aa93794ada

3 years agoChange jersey from 2.25.1 to 2.26 to resolve resource-locator problems 81/881/1
jsimomaa [Wed, 23 Aug 2017 12:40:53 +0000 (15:40 +0300)]
Change jersey from 2.25.1 to 2.26 to resolve resource-locator problems

Update target platform definitions

refs #7447

Change-Id: I46dbb8626d37ae4ef0779e642bb5227395fe4482

3 years agoChange jersey from 2.25.1 to 2.26 to resolve resource-locator problems 79/879/1
jsimomaa [Wed, 23 Aug 2017 11:58:00 +0000 (14:58 +0300)]
Change jersey from 2.25.1 to 2.26 to resolve resource-locator problems

Update target platform definitions

refs #7447

Change-Id: I9b5d485a9640f944ed0cbd78644edb7b96308f86

3 years agoChange jersey from 2.25.1 to 2.26 to resolve resource-locator problems 78/878/1
jsimomaa [Wed, 23 Aug 2017 11:45:49 +0000 (14:45 +0300)]
Change jersey from 2.25.1 to 2.26 to resolve resource-locator problems

refs #7447

Change-Id: I9a63dc06c735fc1ac1f4902a7f21c2b721feba24

3 years agoFix osgi-resource-locator version from 2.5.0-b32 to 2.5.0 76/876/2
jsimomaa [Wed, 23 Aug 2017 10:23:49 +0000 (13:23 +0300)]
Fix osgi-resource-locator version from 2.5.0-b32 to 2.5.0

refs #7447

Change-Id: Icec708cb2fddc8cd4363d6a8d685b628763fcc6b

3 years agoMissing jersey-client to target & osgi-resource-locator version 2.5-0b32 75/875/3
jsimomaa [Wed, 23 Aug 2017 10:07:52 +0000 (13:07 +0300)]
Missing jersey-client to target & osgi-resource-locator version 2.5-0b32

refs #7447

Change-Id: I75e4412872fb429e51f5c9d81d64b0c1edb2f27a

3 years agoIgnore stray route lines when loading diagram connections 72/872/1
Tuukka Lehtonen [Mon, 21 Aug 2017 16:00:23 +0000 (19:00 +0300)]
Ignore stray route lines when loading diagram connections

Prevents diagram rendering from failing unexpectedly due to invalid
RouteGraph structure.

refs #7443

Change-Id: I7fb8949c01fd5ff24853fa3e3332a999df549d45

3 years agoOption to pass custom TG configuration to exportModel function 71/871/1
Jussi Koskela [Mon, 21 Aug 2017 08:11:37 +0000 (11:11 +0300)]
Option to pass custom TG configuration to exportModel function

Custom TG configuration is required for example if some resources need
to be excluded. Also fixed the exception handling not to wrap possible
DatabaseException in another DatabaseException.

refs #7442

Change-Id: Ibee0b501b2c7008d1f79b127859f0daa86719107

3 years agoAdd rounding to Simupedia connection lines 70/870/1
Jussi Koskela [Mon, 21 Aug 2017 07:32:22 +0000 (10:32 +0300)]
Add rounding to Simupedia connection lines

refs #7441

Change-Id: I758f65db94afe33dfd4f146dd49a7b8e00742e54

3 years ago(refs #7439) Added buffering to SCL Console output 68/868/1
Hannu Niemistö [Thu, 17 Aug 2017 14:49:41 +0000 (17:49 +0300)]
(refs #7439) Added buffering to SCL Console output

Change-Id: I757e5b9c7d0e03838ac8eee033e78b91949c7985

3 years ago(refs #7436) Added location information to ECHRRuleset 67/867/1
Hannu Niemistö [Thu, 17 Aug 2017 13:37:00 +0000 (16:37 +0300)]
(refs #7436) Added location information to ECHRRuleset

Also small modification to typechecking of ECHRRuleset to get smaller
scope for a potential type error.

Change-Id: I9edaaa26c5a18c988de3fa89f39290030394972c

3 years agoMerge "Support labels for property children"
Tuukka Lehtonen [Wed, 16 Aug 2017 12:11:47 +0000 (15:11 +0300)]
Merge "Support labels for property children"

3 years agoMerge "(refs #7433) Fixed a bug in Left.equals"
Hannu Niemistö [Wed, 16 Aug 2017 12:04:13 +0000 (15:04 +0300)]
Merge "(refs #7433) Fixed a bug in Left.equals"