X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=org.simantics.district.network%2Fsrc%2Forg%2Fsimantics%2Fdistrict%2Fnetwork%2Fprofile%2FVertexStyle.java;fp=org.simantics.district.network%2Fsrc%2Forg%2Fsimantics%2Fdistrict%2Fnetwork%2Fprofile%2FVertexStyle.java;h=0000000000000000000000000000000000000000;hb=29914be09d4a237840e5c793bdb562ec83093b8d;hp=6fc5dfccf7a46c483d46e8d42a5a43611c404a7e;hpb=10fe42db158693adffc526131d37f58cbd5780b2;p=simantics%2Fdistrict.git diff --git a/org.simantics.district.network/src/org/simantics/district/network/profile/VertexStyle.java b/org.simantics.district.network/src/org/simantics/district/network/profile/VertexStyle.java deleted file mode 100644 index 6fc5dfcc..00000000 --- a/org.simantics.district.network/src/org/simantics/district/network/profile/VertexStyle.java +++ /dev/null @@ -1,30 +0,0 @@ -package org.simantics.district.network.profile; - -import org.simantics.db.ReadGraph; -import org.simantics.db.Resource; -import org.simantics.db.exception.DatabaseException; -import org.simantics.diagram.profile.StyleBase; -import org.simantics.district.network.ontology.DistrictNetworkResource; -import org.simantics.scenegraph.INode; -import org.simantics.scenegraph.g2d.nodes.ConnectionNode; -import org.simantics.scenegraph.profile.EvaluationContext; -import org.simantics.scenegraph.profile.common.ProfileVariables; - -public class VertexStyle extends StyleBase { - - @Override - public Double calculateStyle(ReadGraph graph, Resource runtimeDiagram, Resource entry, Resource groupItem) throws DatabaseException { - return 1.0; - } - - @Override - public void applyStyleForNode(EvaluationContext observer, INode node, Double result) { -// if (result != null) { -// ConnectionNode n = (ConnectionNode) node; -// for (INode nn : n.getNodes()) { -// ProfileVariables.claimNodeProperty(nn, "stroke", result, observer); -// } -// } - } - -}