KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > update > internal > core > LiteFeatureFactory


1 /*******************************************************************************
2  * Copyright (c) 2006 IBM Corporation and others.
3  * All rights reserved. This program and the accompanying materials
4  * are made available under the terms of the Eclipse Public License v1.0
5  * which accompanies this distribution, and is available at
6  * http://www.eclipse.org/legal/epl-v10.html
7  *
8  * Contributors:
9  * IBM Corporation - initial API and implementation
10  *******************************************************************************/

11 package org.eclipse.update.internal.core;
12
13 import java.net.URL JavaDoc;
14
15 import org.eclipse.core.runtime.CoreException;
16 import org.eclipse.core.runtime.IProgressMonitor;
17 import org.eclipse.update.core.BaseFeatureFactory;
18 import org.eclipse.update.core.IFeature;
19 import org.eclipse.update.core.ISite;
20 import org.eclipse.update.core.model.FeatureModel;
21
22 public class LiteFeatureFactory extends BaseFeatureFactory {
23
24     public LiteFeatureFactory() {
25         super();
26     }
27
28     public IFeature createFeature(URL JavaDoc url, ISite site, IProgressMonitor monitor)
29             throws CoreException {
30         
31         return null;
32     }
33
34     public FeatureModel createFeatureModel() {
35         return new LiteFeature();
36     }
37 }
38
Popular Tags