From 578f65e8ca63c50ef198099a99cb0711e4c4e7b2 Mon Sep 17 00:00:00 2001 From: Andrew Branson Date: Fri, 10 Oct 2014 10:08:56 +0200 Subject: Repackage to org.cristalise. Move java version to 1.7. --- .../cristalise/dev/canvas/CanvasVertexFactory.java | 57 ++++++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 src/main/java/org/cristalise/dev/canvas/CanvasVertexFactory.java (limited to 'src/main/java/org/cristalise/dev/canvas/CanvasVertexFactory.java') diff --git a/src/main/java/org/cristalise/dev/canvas/CanvasVertexFactory.java b/src/main/java/org/cristalise/dev/canvas/CanvasVertexFactory.java new file mode 100644 index 0000000..63dc77d --- /dev/null +++ b/src/main/java/org/cristalise/dev/canvas/CanvasVertexFactory.java @@ -0,0 +1,57 @@ +/* + * VertexFactory.java + * + * Copyright (c) 2013, The CRISTAL Consortium. All rights reserved. + * + * CRISTAL kernel is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see: + * http://www.gnu.org/licenses/ + */ + +package org.cristalise.dev.canvas; + +import org.cristalise.kernel.graph.model.GraphModelManager; +import org.cristalise.kernel.graph.model.GraphPoint; +import org.cristalise.kernel.graph.model.TypeNameAndConstructionInfo; +import org.cristalise.kernel.graph.model.VertexFactory; + +public class CanvasVertexFactory implements VertexFactory { + + /** + * + */ + public CanvasVertexFactory() { + // TODO Auto-generated constructor stub + } + + /* (non-Javadoc) + * @see org.cristalise.kernel.graph.model.VertexFactory#create(org.cristalise.kernel.graph.model.GraphModelManager, org.cristalise.kernel.graph.model.GraphPoint, org.cristalise.kernel.graph.model.TypeNameAndConstructionInfo) + */ + @Override + public void create(GraphModelManager graphModelManager, + GraphPoint location, + TypeNameAndConstructionInfo typeNameAndConstructionInfo) + throws Exception { + // TODO Auto-generated method stub + + } + + /* (non-Javadoc) + * @see org.cristalise.kernel.graph.model.VertexFactory#setCreationContext(java.lang.Object) + */ + @Override + public void setCreationContext(Object newContext) { + // TODO Auto-generated method stub + + } +} -- cgit v1.2.3