KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > pde > internal > core > isite > ISiteModelFactory


1 /*******************************************************************************
2  * Copyright (c) 2000, 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.pde.internal.core.isite;
12
13 /**
14  * This model factory should be used to create
15  * model objects of the feature model.
16  */

17 public interface ISiteModelFactory {
18 /**
19  * Creates a new plug-in model object.
20  *
21  * @return new instance of the feature plug-in object
22  */

23 ISite createSite();
24 /**
25  * Creates a new data model object.
26  *
27  * @return new instance of the feature data object
28  */

29 ISiteFeature createFeature();
30 /**
31  * Creates a new feature child object.
32  *
33  * @return new instance of the feature child object
34  */

35 ISiteCategory createCategory(ISiteFeature feature);
36 /**
37  * Creates a new import model object.
38  *
39  * @return new instance of the feature import object
40  */

41 ISiteCategoryDefinition createCategoryDefinition();
42 /**
43  * Creates a new feature URL instance.
44  *
45  * @return a new feature URL instance
46  */

47 ISiteDescription createDescription(ISiteObject parent);
48 /**
49  * Creates a new feature install handler.
50  *
51  * @return a new feature install handler.
52  */

53 ISiteArchive createArchive();
54 }
55
Popular Tags