summaryrefslogtreecommitdiff
path: root/source/com/c2kernel/collection/gui/view/PropertyPanel.java
diff options
context:
space:
mode:
Diffstat (limited to 'source/com/c2kernel/collection/gui/view/PropertyPanel.java')
-rw-r--r--source/com/c2kernel/collection/gui/view/PropertyPanel.java37
1 files changed, 0 insertions, 37 deletions
diff --git a/source/com/c2kernel/collection/gui/view/PropertyPanel.java b/source/com/c2kernel/collection/gui/view/PropertyPanel.java
deleted file mode 100644
index f566d70..0000000
--- a/source/com/c2kernel/collection/gui/view/PropertyPanel.java
+++ /dev/null
@@ -1,37 +0,0 @@
-package com.c2kernel.collection.gui.view;
-
-import com.c2kernel.collection.Aggregation;
-import com.c2kernel.collection.AggregationMember;
-import com.c2kernel.collection.CollectionMember;
-import com.c2kernel.common.ObjectNotFoundException;
-import com.c2kernel.graph.model.Vertex;
-import com.c2kernel.graph.view.VertexPropertyPanel;
-
-public class PropertyPanel extends VertexPropertyPanel {
-
- Aggregation mCollection;
-
- public PropertyPanel() {
- super();
- }
-
- public void setCollection(Aggregation collection) {
- mCollection = collection;
- }
-
- @Override
- public void setVertex(Vertex vert) {
- try {
- CollectionMember newMember = mCollection.getMember(vert.getID());
- if (newMember instanceof AggregationMember) {
- super.setVertex((AggregationMember)newMember);
- return;
- }
- else
- clear();
- } catch (ObjectNotFoundException ex) {
- clear();
- selObjClass.setText("No Collection Member object found");
- }
- }
-}