]> gerrit.simantics Code Review - simantics/district.git/log
simantics/district.git
4 years agoPossibility to show elevation while hoovering on map release/1.35.1
jsimomaa [Mon, 19 Aug 2019 05:50:43 +0000 (08:50 +0300)]
Possibility to show elevation while hoovering on map

gitlab #45
APROS-15550

Change-Id: If9a99a32d10d33d7fc584b3554071cacae8fabfc

4 years agoMove tif folder to preferences for elevation server
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

4 years agoAdded a route validation command to model browser
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

4 years agoFix elevation bounding box profile shift & elevation transform fixes
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

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

Change-Id: Ib80aab0d4f1954e30b56cac20b179722ce602261

4 years agoAdapt to platform OpenDiagramFromConfigurationAdapter changes
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

4 years agoAdd missing plugin.xml entry to build.properties
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

4 years agoAdded a browser context for route-related actions.
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

4 years agoAdd a method for unpersisting individual routes into RouteService
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

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

gitlab #45

Change-Id: Icef31a8ac3280670f2a36a5354bea8c2dd3f8af7

4 years agoRemove erroneus fix made in previous commit for district CSV import
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

4 years agoSupport peakPower & alternative elevation in district CSV import
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

4 years agoShow dynamic symbols when vertices and/or edges are hidden.
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

4 years agoAlternative QGIS scripts for different network data models.
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

4 years agoAdjustments to map diagram info label rendering
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

4 years agoAdd white background for hover & static info on district network diagram
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

4 years agoPrevent DistrictDiagramEditor from disposing to save load time
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

4 years agoAdd functions for finding elements by DN id
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

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

gitlab #52

Change-Id: I0de534bdb48af2cca44c9d84ff9893f32cba7c09

4 years agoChangeMappingType SCL function to change district UC type for scripting
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

4 years agoMake it possible to import CSV data via SCL & create models
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

4 years agoAdd CSV table view for copy/pasting consumer information before creation
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

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

Change-Id: I7ceed42bbad039bf6b6d4ec383a94012b2e3248c

4 years agoEnable static info labels for vertex elements
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

4 years agoOntology class changes missing from previous commit
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

4 years agoAdd profile to show bounding boxes for elevation server
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

4 years agoAdd missing caffeine dependency to district feature for elevationserver
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

4 years agoAdd property for changing pipe depth under ground with elev server
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

4 years agoAdd UI fragments of change vetex to point
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

4 years agoAdd property table highlight listener to open DN diagram
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

4 years agoAdd handlers for changing vertex to point and vice versa
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

4 years agoAdd UI controls for route view to activate/deactivate route mode
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

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

gitlab #46

Change-Id: I8b7ea75ec130938a143654a5caae6fd7cb8a79c3

4 years agoAdd missing elevation server dependency to District-feature
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

4 years agoStatic information label profile definition.
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

4 years agoFix district node/edge hiding profiles to work
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

4 years agoReduction in size of hover label font to 9 pts.
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

4 years agoFirst version of elevation server based on GeoTIFF files
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

4 years agoFix copy/paste of pumping station
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

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

gitlab #42
APROS-15325

Change-Id: I29598bb700ddc9aa53674b0387f1e72b62d735e1

4 years agoPrevent scaling of edges as well when zoom level > 15
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

4 years agoOpen SCL script output console on demand for context menu commands.
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

4 years agoPrevent scaling of vertices in zoom levels > 15
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

4 years agoDo not copy elevation to target but use existing elevation
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

4 years agoAdd default mappings for right/left click & prevent edge drawing
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

4 years agoBlock exceptions actually caused by pending values from console.
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

4 years agoSupport copying of attributes from DN.MappedComponent
jsimomaa [Fri, 12 Apr 2019 09:53:20 +0000 (12:53 +0300)]
Support copying of attributes from DN.MappedComponent

gitlab #43

Change-Id: I736cbe0454247aaaff51a553cf7a3f7778331f7f

4 years agoSupport copy and cut of dh element & create connections after
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

4 years agoHover label profile for district elements.
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

4 years agoInitial version of dh element cut/paste (copy still WIP)
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

4 years agoAllow starting/ending of manual network creation to vertices only
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

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

Change-Id: I115eca19e5750b8a60f312a537a9355082d45220

4 years agoMake vertices smaller on map UI & CSV import performance improvements
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

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

gitlab #39

Change-Id: I7fdf6a6785e958be048dd6d3e49ff7156b72fd83

4 years agoAdded PipeStruct column to CSV generator script.
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

4 years agoAdd minimum span length paremeter to CSV generator script.
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

4 years agoAdded DimensionDN column to CSV generator script.
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

4 years agoQGIS Python script for generating pipelines CVS files.
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 agoMerge "Fix to zoom level handling in Map UI." into release/1.35.1
Tuukka Lehtonen [Mon, 18 Mar 2019 21:10:37 +0000 (21:10 +0000)]
Merge "Fix to zoom level handling in Map UI." into release/1.35.1

5 years agoSelect midpoint of network branches for flow velocity arrows. 85/2785/1
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 84/2784/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
(cherry picked from commit 0864cdbfa9df392bceb26ef3431034ebfc995bcb)

5 years agoFix to zoom level handling in Map UI. 83/2783/1
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
(cherry picked from commit a94392a0c857026b936436fbf61853b44a2c8d42)

5 years agoMore sensible caching for connection lines. 65/2765/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

5 years agoConnection lines for control inputs. 62/2762/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 agoAdd refresh to context menu in district network breakdown view 61/2761/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 60/2760/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 agoSome initial fixes for DPI in map nodes (lot's TODO still) 59/2759/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 agoRemove empty submenu when no component is specified. 53/2753/1
Reino Ruusu [Wed, 6 Mar 2019 13:41:59 +0000 (15:41 +0200)]
Remove empty submenu when no component is specified.

gitlab #34

Change-Id: I2861a8d6217e785e31852dd1f5a5b785becd79fd

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

gitlab #34

Change-Id: I9a88cbaf22c119dbf60a02fc67e7cc98f5d9148b

5 years agoResolve tie situations in n lowest/highest element selection. 46/2746/3
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

5 years agoMerge remote-tracking branch 'origin/master' into release/1.35.1 45/2745/1
Reino Ruusu [Mon, 4 Mar 2019 13:01:15 +0000 (15:01 +0200)]
Merge remote-tracking branch 'origin/master' into release/1.35.1

Change-Id: Iae0a789dae29880dd235c6c9fe46a2ae115d6009

5 years agoMerge remote-tracking branch 'origin/master' into release/1.35.1 95/2695/3
Reino Ruusu [Mon, 4 Mar 2019 12:51:38 +0000 (14:51 +0200)]
Merge remote-tracking branch 'origin/master' into release/1.35.1

Change-Id: I0b959bf912db2802ecfb35e0caa4ec6b2234829c

5 years agoMerge remote-tracking branch 'origin/release/1.37.0' into release/1.35.1 94/2694/3
Reino Ruusu [Mon, 4 Mar 2019 12:43:02 +0000 (14:43 +0200)]
Merge remote-tracking branch 'origin/release/1.37.0' into release/1.35.1

Change-Id: I6bf440ee0e00dd266e46b0f81b6922dd89b54875

5 years agoMerge remote-tracking branch 'origin/release/1.36.0' into release/1.35.1 93/2693/4
Reino Ruusu [Mon, 25 Feb 2019 10:18:57 +0000 (12:18 +0200)]
Merge remote-tracking branch 'origin/release/1.36.0' into release/1.35.1

Conflicts:
org.simantics.district.network/src/org/simantics/district/network/profile/DistrictNodeGroup.java

Change-Id: I2780355701d80fc5dc992442209f614136e3c9db

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

5 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

5 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

5 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

5 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

5 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