]> gerrit.simantics Code Review - simantics/district.git/commit
Disconnected subgraph analysis for district network diagrams 16/2316/1
authorTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Fri, 12 Oct 2018 06:42:40 +0000 (09:42 +0300)
committerTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Tue, 16 Oct 2018 09:45:17 +0000 (09:45 +0000)
commit6a4259eb4fee7e5b8bfbe818f7325d73d99a7803
treeababa73a23099ec81eace0fb35948d64d33cfebc
parent65fd04915f975756a22bdc09d2b8068105993631
Disconnected subgraph analysis for district network diagrams

* There is a new view called District Network Breakdown that can be used
to see the different disconnected subnetworks inside each district
network diagram.
* The view allows selecting the selected subnetworks on the actual
diagram to give the user an idea where they are
* The algorithm to calculate the disconnected subnetworks comes through
OSGi services (interface SubgraphProvider) and this change has no
implementation for the provider yet. It is on the Apros side for now
because the logic contains Apros-specific analysis.
* The district network diagram can now be opened and focused at certain
elements e.g. through CTRL+R open resource dialog by entering a district
network diagram element's name and pressing enter.

gitlab #11
gitlab #13

Change-Id: I98b9adfa589026530d84e65d5db08c0670349fa2
(cherry picked from commit 37304f4caf1d4252797cbaf7b40a56e212e203b4)
org.simantics.district.network.ui/META-INF/MANIFEST.MF
org.simantics.district.network.ui/plugin.xml
org.simantics.district.network.ui/src/org/simantics/district/network/ui/DistrictNetworkUIUtil.java [new file with mode: 0644]
org.simantics.district.network.ui/src/org/simantics/district/network/ui/OpenDiagramFromNetworkElementAdapter.java [new file with mode: 0644]
org.simantics.district.network.ui/src/org/simantics/district/network/ui/breakdown/DistrictNetworkBreakdownPanel.java [new file with mode: 0644]
org.simantics.district.network.ui/src/org/simantics/district/network/ui/breakdown/DistrictNetworkBreakdownPart.java [new file with mode: 0644]
org.simantics.district.network.ui/src/org/simantics/district/network/ui/breakdown/Input.java [new file with mode: 0644]
org.simantics.district.network.ui/src/org/simantics/district/network/ui/breakdown/SubgraphProvider.java [new file with mode: 0644]
org.simantics.district.network.ui/src/org/simantics/district/network/ui/internal/Activator.java
org.simantics.district.network/scl/Simantics/District/Algorithm.scl
org.simantics.district.network/src/org/simantics/district/network/DistrictNetworkUtil.java