# HG changeset patch # User timkelly # Date 1247166693 18000 # Node ID 717b5a27a58b53d02397913e8170a24ebb5f38d1 # Parent e443492d1ad391ce663086a25eff95321544b7e8 refactor from public API (this is internal) diff -r e443492d1ad3 -r 717b5a27a58b project/com.nokia.carbide.cpp.epoc.engine/src/com/nokia/carbide/internal/cpp/epoc/engine/model/SBVModelFactory.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/project/com.nokia.carbide.cpp.epoc.engine/src/com/nokia/carbide/internal/cpp/epoc/engine/model/SBVModelFactory.java Thu Jul 09 14:11:33 2009 -0500 @@ -0,0 +1,36 @@ +/* +* Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies). +* All rights reserved. +* This component and the accompanying materials are made available +* under the terms of the License "Eclipse Public License v1.0" +* which accompanies this distribution, and is available +* at the URL "http://www.eclipse.org/legal/epl-v10.html". +* +* Initial Contributors: +* Nokia Corporation - initial contribution. +* +* Contributors: +* +* Description: +* +*/ + +package com.nokia.carbide.internal.cpp.epoc.engine.model; + +import org.eclipse.core.runtime.IPath; +import org.eclipse.jface.text.IDocument; + +import com.nokia.carbide.cpp.epoc.engine.model.IModelFactory; +import com.nokia.carbide.cpp.epoc.engine.model.sbv.ISBVOwnedModel; +import com.nokia.carbide.internal.cpp.epoc.engine.model.sbv.SBVModel; + +public class SBVModelFactory implements IModelFactory { + + /* (non-Javadoc) + * @see com.nokia.carbide.cpp.epoc.engine.model.IModelFactory#createModel(org.eclipse.core.runtime.IPath, org.eclipse.jface.text.IDocument) + */ + public ISBVOwnedModel createModel(IPath path, IDocument document) { + return new SBVModel(path, document); + } + +}