]> gerrit.simantics Code Review - simantics/district.git/log
simantics/district.git
5 years agoMove tif folder to preferences for elevation server 69/3069/2
jsimomaa [Thu, 8 Aug 2019 08:41:35 +0000 (11:41 +0300)]
Move tif folder to preferences for elevation server

gitlab #45
APROS-15524

Change-Id: Iffbb4e318f1a3b0b868aab9d0e11211530b55c3d

5 years agoAdded a route validation command to model browser 66/3066/1
Reino Ruusu [Wed, 7 Aug 2019 10:30:05 +0000 (13:30 +0300)]
Added a route validation command to model browser

gitlab #58

Change-Id: I4af93100f4003b66f5229394674cb61312e65e64

5 years agoFix elevation bounding box profile shift & elevation transform fixes 63/3063/1
jsimomaa [Tue, 6 Aug 2019 08:27:51 +0000 (11:27 +0300)]
Fix elevation bounding box profile shift & elevation transform fixes

gitlab #45
APROS-15524

Change-Id: Ic01a79fd23df1d737a99b79c1222f5f2f0eee280

5 years agoIgnore org.simantics.district.selection/graph.tg 57/3057/1
Tuukka Lehtonen [Mon, 5 Aug 2019 05:53:54 +0000 (08:53 +0300)]
Ignore org.simantics.district.selection/graph.tg

Change-Id: Ib80aab0d4f1954e30b56cac20b179722ce602261

5 years agoAdapt to platform OpenDiagramFromConfigurationAdapter changes 56/3056/1
Tuukka Lehtonen [Mon, 5 Aug 2019 05:47:08 +0000 (08:47 +0300)]
Adapt to platform OpenDiagramFromConfigurationAdapter changes

gitlab simantics/platform#325

Change-Id: I535714d4a39620caeb49e67424b09b50b544de7a

5 years agoAdd missing plugin.xml entry to build.properties 50/3050/1
jsimomaa [Wed, 31 Jul 2019 05:34:10 +0000 (08:34 +0300)]
Add missing plugin.xml entry to build.properties

gitlab #45

Change-Id: If4cdfc56176731bfebcb3cc1ab18df7cd85502a2

5 years agoAdded a browser context for route-related actions. 45/3045/2
Reino Ruusu [Fri, 26 Jul 2019 12:26:11 +0000 (15:26 +0300)]
Added a browser context for route-related actions.

gitlab #58

Change-Id: I32760b2dd7feb15827cb234ed315a53dfcbc3a7e

5 years agoAdd a method for unpersisting individual routes into RouteService 44/3044/1
Reino Ruusu [Fri, 26 Jul 2019 12:23:17 +0000 (15:23 +0300)]
Add a method for unpersisting individual routes into RouteService

gitlab #57

Change-Id: I5d486ca7e9362a8685ebe2c04579f001339ecde3

5 years agoAdd SCL interface for District Elevation server 43/3043/1
jsimomaa [Wed, 24 Jul 2019 06:51:14 +0000 (09:51 +0300)]
Add SCL interface for District Elevation server

gitlab #45

Change-Id: Icef31a8ac3280670f2a36a5354bea8c2dd3f8af7

5 years agoRemove erroneus fix made in previous commit for district CSV import 42/3042/1
jsimomaa [Wed, 24 Jul 2019 06:50:00 +0000 (09:50 +0300)]
Remove erroneus fix made in previous commit for district CSV import

gitlab #56
APROS-15523

Change-Id: I2a3ce1e55609b55605252907817dc25267524468

5 years agoSupport peakPower & alternative elevation in district CSV import 40/3040/1
jsimomaa [Tue, 23 Jul 2019 05:01:16 +0000 (08:01 +0300)]
Support peakPower & alternative elevation in district CSV import

gitlab #56
APROS-15523

Change-Id: Ic8b2b008864a03b81aaa9adabdd6e0fab76eb30e

5 years agoShow dynamic symbols when vertices and/or edges are hidden. 39/3039/1
Reino Ruusu [Fri, 19 Jul 2019 11:24:28 +0000 (14:24 +0300)]
Show dynamic symbols when vertices and/or edges are hidden.

gitlab #27

Change-Id: Id9cda3403d1f318b7fd29dd31eeea632749328a5

5 years agoAlternative QGIS scripts for different network data models. 30/3030/2
Reino Ruusu [Thu, 18 Jul 2019 13:28:13 +0000 (16:28 +0300)]
Alternative QGIS scripts for different network data models.

gitlab #40

Change-Id: I109ee8f132975e384fed9009edb78e2350887723

5 years agoAdjustments to map diagram info label rendering 28/3028/2
Reino Ruusu [Thu, 18 Jul 2019 10:05:25 +0000 (13:05 +0300)]
Adjustments to map diagram info label rendering

* Removed white background from static info labels
* Hover info rendered at cursor location
* Info labels drawn on top of map elements

gitlab #44
gitlab #47

Change-Id: I9dda11b80cfe76bae1605ddb46f7d3ece183c719

5 years agoAdd white background for hover & static info on district network diagram 14/3014/1
Jani Simomaa [Thu, 11 Jul 2019 13:12:22 +0000 (16:12 +0300)]
Add white background for hover & static info on district network diagram

gitlab #44
gitlab #47

Change-Id: I96375c6abba3f1e9a0981b12d3055e1109bd53a3

5 years agoPrevent DistrictDiagramEditor from disposing to save load time 13/3013/1
JaniSimomaa [Thu, 11 Jul 2019 09:44:11 +0000 (12:44 +0300)]
Prevent DistrictDiagramEditor from disposing to save load time

gitlab #55

Change-Id: I389045f81545e1f056b060b4560f0df5d3e70543

5 years agoAdd functions for finding elements by DN id 10/3010/1
JaniSimomaa [Mon, 8 Jul 2019 12:08:49 +0000 (15:08 +0300)]
Add functions for finding elements by DN id

gitlab #54

Change-Id: I948de22bc07d1c1cf1120ba37754c81b49d2e29f

5 years agoAdd proper exception handling for CSV import 09/3009/1
JaniSimomaa [Mon, 8 Jul 2019 08:05:08 +0000 (11:05 +0300)]
Add proper exception handling for CSV import

gitlab #52

Change-Id: I0de534bdb48af2cca44c9d84ff9893f32cba7c09

5 years agoChangeMappingType SCL function to change district UC type for scripting 08/3008/1
JaniSimomaa [Mon, 8 Jul 2019 08:04:40 +0000 (11:04 +0300)]
ChangeMappingType SCL function to change district UC type for scripting

gitlab #53

Change-Id: I238de0d0f8f3c898a208d4645c98ad37e03abe42

5 years agoMake it possible to import CSV data via SCL & create models 46/2946/3
jsimomaa [Fri, 14 Jun 2019 09:22:59 +0000 (12:22 +0300)]
Make it possible to import CSV data via SCL & create models

gitlab #52

Change-Id: I84968442a4956f008b7b5604a258f4d60e00ffd0

5 years agoAdd CSV table view for copy/pasting consumer information before creation 35/2935/2
jsimomaa [Fri, 7 Jun 2019 07:34:01 +0000 (10:34 +0300)]
Add CSV table view for copy/pasting consumer information before creation

gitlab #51
APROS-15209

Change-Id: I5307000c29fd93292cb6c41ad527a83abc8f9f6f

5 years agoRefactoring: Move style definitions to a separate package 34/2934/1
Reino Ruusu [Thu, 6 Jun 2019 13:58:25 +0000 (16:58 +0300)]
Refactoring: Move style definitions to a separate package

Change-Id: I7ceed42bbad039bf6b6d4ec383a94012b2e3248c

5 years agoEnable static info labels for vertex elements 28/2928/1
Reino Ruusu [Thu, 6 Jun 2019 09:53:33 +0000 (12:53 +0300)]
Enable static info labels for vertex elements

gitlab #47
APROS-15309

Change-Id: If37d3256d6bed52a444573e957c47b9997abcb6a

5 years agoOntology class changes missing from previous commit 27/2927/1
Reino Ruusu [Thu, 6 Jun 2019 09:52:10 +0000 (12:52 +0300)]
Ontology class changes missing from previous commit

gitlab #45
APROS-15308

Change-Id: Id8ff3e2b4d903ee9c74647b621d0be73b13bd347

5 years agoAdd profile to show bounding boxes for elevation server 25/2925/1
jsimomaa [Wed, 5 Jun 2019 08:46:03 +0000 (11:46 +0300)]
Add profile to show bounding boxes for elevation server

gitlab #45
APROS-15308

Change-Id: I993910384a1fe7b5a740a0282ef23d9114bc3210

5 years agoAdd missing caffeine dependency to district feature for elevationserver 24/2924/1
jsimomaa [Wed, 5 Jun 2019 06:54:00 +0000 (09:54 +0300)]
Add missing caffeine dependency to district feature for elevationserver

gitlab #45
APROS-15308

Change-Id: Ia216fab91df81ac168299bf7c1c4e1ffbeb41a8c

5 years agoAdd property for changing pipe depth under ground with elev server 23/2923/1
jsimomaa [Wed, 5 Jun 2019 06:17:09 +0000 (09:17 +0300)]
Add property for changing pipe depth under ground with elev server

gitlab #45
APROS-15308

Change-Id: I5aba84a0e712716716225a17c8953e23f97cb85d

5 years agoAdd UI fragments of change vetex to point 22/2922/1
jsimomaa [Tue, 4 Jun 2019 16:54:56 +0000 (19:54 +0300)]
Add UI fragments of change vetex to point

gitlab #49

Change-Id: I501a20dd96bc79919e0a4fb311a21e17c5849aaa

5 years agoAdd property table highlight listener to open DN diagram 21/2921/1
jsimomaa [Tue, 4 Jun 2019 16:53:41 +0000 (19:53 +0300)]
Add property table highlight listener to open DN diagram

gitlab #50
APROS-15223

Change-Id: I60e2569263604288ad3d1b23f5c8204103b0b0d0

5 years agoAdd handlers for changing vertex to point and vice versa 20/2920/1
jsimomaa [Tue, 4 Jun 2019 16:52:54 +0000 (19:52 +0300)]
Add handlers for changing vertex to point and vice versa

gitlab #49

Change-Id: Iccff2b560074064834bf54314db8b10767d2d6f5

5 years agoAdd UI controls for route view to activate/deactivate route mode 19/2919/1
jsimomaa [Tue, 4 Jun 2019 16:51:22 +0000 (19:51 +0300)]
Add UI controls for route view to activate/deactivate route mode

gitlab #48
APROS-15258

Change-Id: I019b76cbdfd095e2be667e6865ae5fc48d75a738

5 years agoFix hide style 18/2918/1
jsimomaa [Tue, 4 Jun 2019 16:49:40 +0000 (19:49 +0300)]
Fix hide style

gitlab #46

Change-Id: I8b7ea75ec130938a143654a5caae6fd7cb8a79c3

5 years agoAdd missing elevation server dependency to District-feature 16/2916/1
jsimomaa [Tue, 4 Jun 2019 12:38:51 +0000 (15:38 +0300)]
Add missing elevation server dependency to District-feature

gitlab #45

Change-Id: Ib0731c539585b8c2046e33e1fbf39ad4a6a5c926

5 years agoStatic information label profile definition. 04/2904/1
Reino Ruusu [Fri, 24 May 2019 15:35:20 +0000 (18:35 +0300)]
Static information label profile definition.

gitlab #47
APROS-15309

Change-Id: I67aa5fa278304aa7f0f824cbba3762a3712c6f71

5 years agoFix district node/edge hiding profiles to work 00/2900/1 release/1.39.0
jsimomaa [Mon, 20 May 2019 07:46:17 +0000 (10:46 +0300)]
Fix district node/edge hiding profiles to work

gitlab #46
APROS-15365

Change-Id: I345d461e7f3707a4255519e71a2e1c1a903c5959

5 years agoReduction in size of hover label font to 9 pts. 95/2895/4
Reino Ruusu [Mon, 13 May 2019 09:45:00 +0000 (12:45 +0300)]
Reduction in size of hover label font to 9 pts.

gitlab #44

Change-Id: I9f05a864242623792f72fa7071ab47a5f949d8eb

5 years agoFirst version of elevation server based on GeoTIFF files 94/2894/3
jsimomaa [Mon, 13 May 2019 09:10:46 +0000 (12:10 +0300)]
First version of elevation server based on GeoTIFF files

gitlab #45
APROS-15308

Change-Id: I7aba5526bd45396967bbae8ed26e41934efef47f

5 years agoFix copy/paste of pumping station 69/2869/1
jsimomaa [Mon, 29 Apr 2019 14:11:16 +0000 (17:11 +0300)]
Fix copy/paste of pumping station

gitlab #43
APROS-15307

Change-Id: I07dfa7852146c471fe177c7322c773320fefedac

5 years agoChange route point to Vertex 68/2868/1
jsimomaa [Mon, 29 Apr 2019 14:10:37 +0000 (17:10 +0300)]
Change route point to Vertex

gitlab #42
APROS-15325

Change-Id: I29598bb700ddc9aa53674b0387f1e72b62d735e1

5 years agoMerge "Open SCL script output console on demand for context menu commands."
Tuukka Lehtonen [Wed, 24 Apr 2019 19:57:20 +0000 (19:57 +0000)]
Merge "Open SCL script output console on demand for context menu commands."

5 years agoPrevent scaling of edges as well when zoom level > 15 63/2863/2
jsimomaa [Tue, 23 Apr 2019 12:27:52 +0000 (15:27 +0300)]
Prevent scaling of edges as well when zoom level > 15

gitlab #35
APROS-15329

Change-Id: Ia3dd90a316d52209015d1bc1c61b83b11932c32d

5 years agoOpen SCL script output console on demand for context menu commands. 62/2862/1
Reino Ruusu [Tue, 23 Apr 2019 12:20:24 +0000 (15:20 +0300)]
Open SCL script output console on demand for context menu commands.

gitlab #34

Change-Id: I024b4cc70f0d2644cb527606366347e1d862ade0

5 years agoPrevent scaling of vertices in zoom levels > 15 61/2861/1
jsimomaa [Mon, 22 Apr 2019 18:07:46 +0000 (21:07 +0300)]
Prevent scaling of vertices in zoom levels > 15

gitlab #35
APROS-15329

Change-Id: I8797d241c3ce59031851e6e74c66c0f4907783b7

5 years agoDo not copy elevation to target but use existing elevation 60/2860/1
jsimomaa [Mon, 22 Apr 2019 17:56:25 +0000 (20:56 +0300)]
Do not copy elevation to target but use existing elevation

gitlab #43
APROS-15307

Change-Id: I3cbc97ec442d7dda453093b1dd370413339e5437

5 years agoAdd default mappings for right/left click & prevent edge drawing 59/2859/1
jsimomaa [Mon, 22 Apr 2019 17:55:39 +0000 (20:55 +0300)]
Add default mappings for right/left click & prevent edge drawing

immediately after created new vertex by double click

gitlab #42
APROS-15325

Change-Id: I2ca2921a86ecc9d4f2102dade9217d28553aa8fa

5 years agoBlock exceptions actually caused by pending values from console. 55/2855/1
Reino Ruusu [Wed, 17 Apr 2019 14:52:34 +0000 (17:52 +0300)]
Block exceptions actually caused by pending values from console.

MissingVariableValueExceptions are thrown by getProperty() calls when
pending values are cached for domain properties.

gitlab #44

Change-Id: I2ca32821feb020defad4e55f2dd5893e9d4083f7

5 years agoSupport copying of attributes from DN.MappedComponent 53/2853/1 release/1.38.0
jsimomaa [Fri, 12 Apr 2019 09:53:20 +0000 (12:53 +0300)]
Support copying of attributes from DN.MappedComponent

gitlab #43

Change-Id: I736cbe0454247aaaff51a553cf7a3f7778331f7f

5 years agoSupport copy and cut of dh element & create connections after 50/2850/1
jsimomaa [Thu, 11 Apr 2019 14:37:06 +0000 (17:37 +0300)]
Support copy and cut of dh element & create connections after

gitlab #43
APROS-15307

Change-Id: I9ade3a03bed1da37c1c7adea951998f611386947

5 years agoHover label profile for district elements. 48/2848/1
Reino Ruusu [Tue, 9 Apr 2019 13:13:53 +0000 (16:13 +0300)]
Hover label profile for district elements.

Also includes some improvements in edge and vertex rendering and
selection.

gitlab #44

Change-Id: I007153a4ccb0417f9c1ee6a745876d024f5e2c8d

5 years agoInitial version of dh element cut/paste (copy still WIP) 47/2847/1
jsimomaa [Mon, 8 Apr 2019 16:42:10 +0000 (19:42 +0300)]
Initial version of dh element cut/paste (copy still WIP)

gitlab #43
APROS-15307

Change-Id: Ie1652086c689416e052aed38f5e523ab16ce7b2e

5 years agoAllow starting/ending of manual network creation to vertices only 44/2844/3
jsimomaa [Mon, 8 Apr 2019 09:44:34 +0000 (12:44 +0300)]
Allow starting/ending of manual network creation to vertices only

Added possibility to create default vertex mapping types by double click

Also disallow zoom levels higher than 20

gitlab #42
APROS-15325
APROS-15346

Change-Id: Iae9ce29b88b970e0e96bb245bd748d93b9f3db7d

5 years agoElimination of compiler warnings. 43/2843/1
Reino Ruusu [Mon, 8 Apr 2019 07:45:05 +0000 (10:45 +0300)]
Elimination of compiler warnings.

Change-Id: I115eca19e5750b8a60f312a537a9355082d45220

5 years agoMerge "Make vertices smaller on map UI & CSV import performance improvements"
Jani Simomaa [Thu, 4 Apr 2019 19:05:09 +0000 (19:05 +0000)]
Merge "Make vertices smaller on map UI & CSV import performance improvements"

5 years agoMake vertices smaller on map UI & CSV import performance improvements 42/2842/2
jsimomaa [Thu, 4 Apr 2019 17:53:10 +0000 (20:53 +0300)]
Make vertices smaller on map UI & CSV import performance improvements

gitlab #41
APROS-15329

Change-Id: I593b35c1d571b9d1a7f291bd3e81c77fc39b67b3

5 years agoBetter default value for arrow length. 41/2841/1
Reino Ruusu [Thu, 4 Apr 2019 13:43:29 +0000 (16:43 +0300)]
Better default value for arrow length.

gitlab #39

Change-Id: I7fdf6a6785e958be048dd6d3e49ff7156b72fd83

5 years agoAdded PipeStruct column to CSV generator script. 38/2838/1
Reino Ruusu [Thu, 4 Apr 2019 12:39:40 +0000 (15:39 +0300)]
Added PipeStruct column to CSV generator script.

gitlab #40

Change-Id: I2016eb992246dd0c3e8a74c49b820bc48ba5ec6f

5 years agoAdd minimum span length paremeter to CSV generator script. 37/2837/1
Reino Ruusu [Wed, 3 Apr 2019 14:41:43 +0000 (17:41 +0300)]
Add minimum span length paremeter to CSV generator script.

Also set units for distance parameters.

gitlab #40

Change-Id: If5d39eccf4f93d8efd472c765ec4d8a79bffc203

5 years agoAdded DimensionDN column to CSV generator script. 36/2836/1
Reino Ruusu [Wed, 3 Apr 2019 14:40:46 +0000 (17:40 +0300)]
Added DimensionDN column to CSV generator script.

gitlab #40

Change-Id: I14717e4e1a35a17029e4dfc36715afe72f4c6d9d

5 years agoQGIS Python script for generating pipelines CVS files. 97/2797/1
Reino Ruusu [Thu, 21 Mar 2019 12:36:48 +0000 (14:36 +0200)]
QGIS Python script for generating pipelines CVS files.

gitlab #40

Change-Id: I4c6527eddbb5d61b4cac81f5bed2cfd49863c83a

5 years agoEliminate scaling of arrow widths based on dynamic edge thickness. 95/2795/1
Reino Ruusu [Thu, 21 Mar 2019 10:50:55 +0000 (12:50 +0200)]
Eliminate scaling of arrow widths based on dynamic edge thickness.

gitlab #39

Change-Id: Iafd81090cdb6a793e983f0c00d1ccafacd64913b

5 years agoSelect midpoint of network branches for flow velocity arrows. 72/2772/2
Reino Ruusu [Wed, 13 Mar 2019 10:38:14 +0000 (12:38 +0200)]
Select midpoint of network branches for flow velocity arrows.

gitlab #39

Change-Id: Icdfdf511d85de428f22623f0e697b51265c9e7e4

5 years agoArrow length indicators for flow magnitude 71/2771/1
Reino Ruusu [Mon, 11 Mar 2019 09:11:39 +0000 (11:11 +0200)]
Arrow length indicators for flow magnitude

gitlab #39

Change-Id: I0fa73f0025f02e115a49199ef41c82885a1bf4ca

5 years agoFix to zoom level handling in Map UI. 66/2766/2
Reino Ruusu [Mon, 11 Mar 2019 18:17:17 +0000 (20:17 +0200)]
Fix to zoom level handling in Map UI.

gitlab #32

Change-Id: If91a547d85d044d2e4cc78c10ee632f4dc5845b1

5 years agoMore sensible caching for connection lines. 67/2767/1
Reino Ruusu [Mon, 11 Mar 2019 07:58:01 +0000 (09:58 +0200)]
More sensible caching for connection lines.

gitlab #37

Change-Id: I8c88d8e6c77963722ebecac86834bdc4c27462e0
(cherry picked from commit ac559543846448f6523406a926fa7f1b7eaebcac)

5 years agoConnection lines for control inputs. 63/2763/2
Reino Ruusu [Thu, 7 Mar 2019 19:13:33 +0000 (21:13 +0200)]
Connection lines for control inputs.

gitlab #37

Change-Id: I9d784032ccae42e50bfa13fbdb6600601a63ab5d

5 years agoSome initial fixes for DPI in map nodes (lot's TODO still) 57/2757/1
jsimomaa [Wed, 6 Mar 2019 20:13:54 +0000 (22:13 +0200)]
Some initial fixes for DPI in map nodes (lot's TODO still)

gitlab #36

Change-Id: If7022ea127d595ea6eaa89878fce38212c81734f

5 years agoAdd refresh to context menu in district network breakdown view 55/2755/1
jsimomaa [Wed, 6 Mar 2019 20:09:23 +0000 (22:09 +0200)]
Add refresh to context menu in district network breakdown view

Also fixes selection of single vertex

gitlab #11

Change-Id: I3c8af80ccfda86be17dfdcede1269bfde0b16a40

5 years agoAdd edge geometry for detailed rendering in closer zoom levels 54/2754/1
jsimomaa [Wed, 6 Mar 2019 19:36:19 +0000 (21:36 +0200)]
Add edge geometry for detailed rendering in closer zoom levels

gitlab #35

Change-Id: I6930dc2b8225647b61beeee0dfa3408e8d1f70c6

5 years agoPresentation of component-specific actions. 52/2752/2
Reino Ruusu [Wed, 6 Mar 2019 09:45:37 +0000 (11:45 +0200)]
Presentation of component-specific actions.

gitlab #34

Change-Id: I9a88cbaf22c119dbf60a02fc67e7cc98f5d9148b
(cherry picked from commit ee7e19e97c21555c72e1e7252eb34104d8137163)

5 years agoResolve tie situations in n lowest/highest element selection. 51/2751/1
Reino Ruusu [Mon, 4 Mar 2019 15:33:03 +0000 (17:33 +0200)]
Resolve tie situations in n lowest/highest element selection.

Pick all elements that match the value of the n'th lowest/highest one.

Change-Id: I066ae39a2f7db73db93a6c3d4c9531ba4300236f
(cherry picked from commit 50306ed44f39142ec59265c7329e8e5930b9ff38)

5 years agoAdd location & zoom node for network diagram - also OSM attribution 36/2736/2
jsimomaa [Thu, 28 Feb 2019 09:15:13 +0000 (11:15 +0200)]
Add location & zoom node for network diagram - also OSM attribution

gitlab #33

Change-Id: I170d79d1af403d0dde6fb5b9ec8feb3157a1c113

5 years agoRefactoring MapNode rendering & zooming to even zoom levels (0-20) 35/2735/2
jsimomaa [Thu, 28 Feb 2019 07:11:50 +0000 (09:11 +0200)]
Refactoring MapNode rendering & zooming to even zoom levels (0-20)

* With this change the map background bitmap-images are always sharp and
not blurred on e.g. zooming level 5.42 which was previously possible

gitlab #32

Change-Id: I1fd84ef25154f454efbff0b0195c447d90bd30fd

5 years agoExpose transform of NetworkDrawingParticipant 32/2732/2
jsimomaa [Tue, 26 Feb 2019 21:45:19 +0000 (23:45 +0200)]
Expose transform of NetworkDrawingParticipant

* for programmatic vertex creation

gitlab #31

Change-Id: Ia2a337fb92dab169a5b2c74f13c93a88998f4617

5 years agoSelection queries from explicit sets of elements. 79/2679/2
Reino Ruusu [Fri, 22 Feb 2019 15:11:00 +0000 (17:11 +0200)]
Selection queries from explicit sets of elements.

gitlab #28

Change-Id: Iac2f3a51b66b37b4fbe04dc1f351327231ea00c7

5 years agoOpening of diagram element query result in diagram view. 73/2673/1
Reino Ruusu [Fri, 22 Feb 2019 11:58:32 +0000 (13:58 +0200)]
Opening of diagram element query result in diagram view.

gitlab #28

Change-Id: Ibdecf9acc683bad6cd11161b50c99409581d4f46

5 years agoDisable throttling for now, as it doens't work. 71/2671/1
Reino Ruusu [Fri, 22 Feb 2019 11:23:15 +0000 (13:23 +0200)]
Disable throttling for now, as it doens't work.

Also use setSynchronous() for diagram styles, as there is no
visualization for pending results.

gitlab #30

Change-Id: I53ce85ba6d81b69f41abe26930941f2bd9d610a1

5 years agoAdded symbol rendering for edges. 63/2663/2
Reino Ruusu [Wed, 20 Feb 2019 17:46:23 +0000 (19:46 +0200)]
Added symbol rendering for edges.

gitlab #27

Change-Id: I67e49bdec2f722121dd261c755ad7722469a3bc9

5 years agoValue type of dynamic symbol function to Maybe String 62/2662/4
Reino Ruusu [Wed, 20 Feb 2019 17:38:20 +0000 (19:38 +0200)]
Value type of dynamic symbol function to Maybe String

Also add caching for symbol functions.

gitlab #27

Change-Id: I34ae22e6e1deae57bbf03ced6ba830c52ec74335

5 years agoGeneralization of mapped property accessors for other data types 61/2661/2
Reino Ruusu [Wed, 20 Feb 2019 17:28:38 +0000 (19:28 +0200)]
Generalization of mapped property accessors for other data types

gitlab #27

Change-Id: Id193ae3b4840a74710c6b86e32bfefd7e3fc3a17

5 years agoIncrease baseline size of vertices 10-fold to improve visibility. 56/2656/2
Reino Ruusu [Mon, 18 Feb 2019 16:14:53 +0000 (18:14 +0200)]
Increase baseline size of vertices 10-fold to improve visibility.

gitlab #27

Change-Id: Iace3eaab32a06312e094d92b449a2780867fee2f

5 years agoFlipped coordinate axes for network diagrams in import wizard. 55/2655/3
Reino Ruusu [Mon, 18 Feb 2019 11:10:43 +0000 (13:10 +0200)]
Flipped coordinate axes for network diagrams in import wizard.

gitlab #3

Change-Id: I36b5f67821079d91f7f75d3dc9bda79d83149c8e

5 years agoFirst version of throttled profile results - configure via proeprty view 58/2658/1
jsimomaa [Tue, 19 Feb 2019 11:25:51 +0000 (13:25 +0200)]
First version of throttled profile results - configure via proeprty view

gitlab #30

Change-Id: Ie99ee4b3b83911646072d44757570b07f20c450d

5 years agoPrevent selection of edge for route start and end points 54/2654/1
jsimomaa [Mon, 18 Feb 2019 11:05:11 +0000 (13:05 +0200)]
Prevent selection of edge for route start and end points

gitlab #29

Change-Id: I43cfc51bd587e3784d5ec253add4ce742c253103

5 years agoRefactoring of diagram element selection method to utils. 49/2649/3
Reino Ruusu [Wed, 13 Feb 2019 08:36:02 +0000 (10:36 +0200)]
Refactoring of diagram element selection method to utils.

Change-Id: I568c2b93661eb7dab33c0e1e2966abac1183abde

5 years agoUI for diagram element selection 38/2638/5
Reino Ruusu [Fri, 1 Feb 2019 15:56:17 +0000 (17:56 +0200)]
UI for diagram element selection

gitlab #28

Change-Id: Id89372d9101dc7004b9b71b8ed6769b555b7b510

5 years agoRemove dependency to org.simantics.db.testing 43/2643/1
jsimomaa [Wed, 6 Feb 2019 08:51:16 +0000 (10:51 +0200)]
Remove dependency to org.simantics.db.testing

gitlab #28

Change-Id: Ic68c18ed39ed39d626a731dadfcfe705a2ef47cf

5 years agoBug fixes to element selection query processing 33/2633/1
Reino Ruusu [Wed, 30 Jan 2019 14:33:06 +0000 (16:33 +0200)]
Bug fixes to element selection query processing

* Accept STR.Composite in addition to DIA.Diagram
* Fix error when selected element count in an NLowest or NHighest is
higher than the number of elements available

gitlab #28

TODO:
* UI for listing stored queries
* UI for defining/editing queries
* UI for executing queries

Change-Id: Ia88980863f4a64ec2c44df081596bb67417d298d

5 years agoManagement of mapped component properties in queries 32/2632/1
Reino Ruusu [Wed, 30 Jan 2019 14:20:28 +0000 (16:20 +0200)]
Management of mapped component properties in queries

gitlab #28

TODO:
* UI for listing stored queries
* UI for defining/editing queries
* UI for executing queries

Change-Id: Ie1c3892d77313c452560f7015b387825a9d34e9e

5 years agoImplementation of non-UI parts of network element queries 31/2631/5
Reino Ruusu [Wed, 30 Jan 2019 13:34:26 +0000 (15:34 +0200)]
Implementation of non-UI parts of network element queries

gitlab #28

TODO:
* Management of mapped properties for map diagram elements
* UI for listing stored queries
* UI for defining/editing queries
* UI for executing queries

Change-Id: I5de84629ed75ce1ae48cd424dc872bb3456ec62b

5 years agoMinor usability fixes for routing in district diagrams 16/2616/1
jsimomaa [Thu, 24 Jan 2019 13:59:48 +0000 (15:59 +0200)]
Minor usability fixes for routing in district diagrams

gitlab #25

Change-Id: Ie5f87133f4602898377bf8c4b279c02d4cbec281

5 years agoDynamic vertex SVG symbol generation 11/2611/1
Reino Ruusu [Wed, 23 Jan 2019 10:05:02 +0000 (12:05 +0200)]
Dynamic vertex SVG symbol generation

gitlab #27

Change-Id: I7f01f451e7affd25d2c9e6e504f8242ce39caec2

6 years agoStart routing with 't' or 'T' 86/2586/1 release/1.37.0
Tuukka Lehtonen [Thu, 27 Dec 2018 09:51:59 +0000 (11:51 +0200)]
Start routing with 't' or 'T'

gitlab #25

Change-Id: Ib6c7597d5667173635da4217076ae51759520063

6 years agoEnable routing problem UI feedback for users 85/2585/1
Tuukka Lehtonen [Thu, 27 Dec 2018 08:38:39 +0000 (10:38 +0200)]
Enable routing problem UI feedback for users

gitlab #25

Change-Id: I80f6bdb349ca44997d63882ef433813cf45c8504

6 years agoRemoved unnecessary browse context include 69/2569/1
Tuukka Lehtonen [Wed, 19 Dec 2018 10:11:29 +0000 (12:11 +0200)]
Removed unnecessary browse context include

The include broke Model Browser viewpoint by adding the standard
property browsing viewpoint to the effective model browser viewpoint.

gitlab #26

Change-Id: I0fbfd7ffaa34a50e283631d8514cdea4ceb852f4

6 years agoImproved Routes view functionality 61/2561/1 private/psaas
Tuukka Lehtonen [Tue, 18 Dec 2018 12:36:45 +0000 (14:36 +0200)]
Improved Routes view functionality

Context menu now has:
* Select Route on Diagram (actually works now)
* Discard Route
* Rename Route

Route waypoint names are resolved properly already during creation and
show address if defined.

Route rename can also be initiated with F2 from the tree.

gitlab #25

Change-Id: If5edbe63032b2a5b42a616d4c058d2ea7f3a88c1

6 years agoTrying to get map background coloring to work 59/2559/2
jsimomaa [Tue, 18 Dec 2018 06:13:00 +0000 (08:13 +0200)]
Trying to get map background coloring to work

gitlab #20

Change-Id: I6f4d3ff243784c33f8114990e27cdf83104909e3

6 years agoFix context menu for route view 57/2557/4
jsimomaa [Mon, 17 Dec 2018 10:44:50 +0000 (12:44 +0200)]
Fix context menu for route view

gitlab #25

Change-Id: I3e7af22cc0775e3b98fc7a6864c26098f8a224c4

6 years agoFixed NPE from Activator 56/2556/2
Tuukka Lehtonen [Mon, 17 Dec 2018 09:25:30 +0000 (11:25 +0200)]
Fixed NPE from Activator

gitlab #25

Change-Id: Ib4c2f6534ebdf09129f1491578f0d2df86e9b6cf

6 years agoAdd org.simantics.district.route.feature to published P2 repository 55/2555/1
Tuukka Lehtonen [Sat, 15 Dec 2018 09:27:45 +0000 (11:27 +0200)]
Add org.simantics.district.route.feature to published P2 repository

gitlab #25

Change-Id: I6605ce0784622723fb0a94200e94be7600fcc8a7

6 years agoMerge "Initial version of the district network Routes view."
Tuukka Lehtonen [Fri, 14 Dec 2018 22:13:25 +0000 (22:13 +0000)]
Merge "Initial version of the district network Routes view."