]> gerrit.simantics Code Review - simantics/district.git/commit
Disconnected subgraph analysis for district network diagrams 15/2315/2
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:43:31 +0000 (12:43 +0300)
commit37304f4caf1d4252797cbaf7b40a56e212e203b4
tree3b53e92816c5355bea67dc28d74b23ddac60ce2a
parent6dec5182c23ab01df1adbdcc1276b99b8968b786
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
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