summaryrefslogtreecommitdiff
path: root/src/main/java/com/c2kernel/collection/gui/model/AggregationVertexFactory.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/com/c2kernel/collection/gui/model/AggregationVertexFactory.java')
-rw-r--r--src/main/java/com/c2kernel/collection/gui/model/AggregationVertexFactory.java37
1 files changed, 0 insertions, 37 deletions
diff --git a/src/main/java/com/c2kernel/collection/gui/model/AggregationVertexFactory.java b/src/main/java/com/c2kernel/collection/gui/model/AggregationVertexFactory.java
deleted file mode 100644
index 1a20c5e..0000000
--- a/src/main/java/com/c2kernel/collection/gui/model/AggregationVertexFactory.java
+++ /dev/null
@@ -1,37 +0,0 @@
-package com.c2kernel.collection.gui.model;
-
-import com.c2kernel.collection.Aggregation;
-import com.c2kernel.graph.model.GraphModelManager;
-import com.c2kernel.graph.model.GraphPoint;
-import com.c2kernel.graph.model.TypeNameAndConstructionInfo;
-import com.c2kernel.graph.model.VertexFactory;
-import com.c2kernel.utils.CastorHashMap;
-
-
-public class AggregationVertexFactory implements VertexFactory
-{
- private Aggregation mAggregation = null;
-
-
- @Override
- public void setCreationContext(Object aggregation)
- {
- if (aggregation != null && aggregation instanceof Aggregation)
- mAggregation = (Aggregation)aggregation;
- }
-
-
- @Override
- public void create
- (
- GraphModelManager graphModelManager,
- GraphPoint location,
- TypeNameAndConstructionInfo typeNameAndConstructionInfo
- ) throws Exception
- {
- if (typeNameAndConstructionInfo.mInfo.equals("AggregationMember")) {
- mAggregation.addMember(null, new CastorHashMap(), "",location, 40, 40);
- }
- }
-}
-