01: /*******************************************************************************
02: * Copyright (c) 2000, 2006 IBM Corporation and others.
03: * All rights reserved. This program and the accompanying materials
04: * are made available under the terms of the Eclipse Public License v1.0
05: * which accompanies this distribution, and is available at
06: * http://www.eclipse.org/legal/epl-v10.html
07: *
08: * Contributors:
09: * IBM Corporation - initial API and implementation
10: *******************************************************************************/package org.eclipse.pde.internal.core.isite;
11:
12: /**
13: * This model factory should be used to create
14: * model objects of the feature model.
15: */
16: public interface ISiteModelFactory {
17: /**
18: * Creates a new plug-in model object.
19: *
20: * @return new instance of the feature plug-in object
21: */
22: ISite createSite();
23:
24: /**
25: * Creates a new data model object.
26: *
27: * @return new instance of the feature data object
28: */
29: ISiteFeature createFeature();
30:
31: /**
32: * Creates a new feature child object.
33: *
34: * @return new instance of the feature child object
35: */
36: ISiteCategory createCategory(ISiteFeature feature);
37:
38: /**
39: * Creates a new import model object.
40: *
41: * @return new instance of the feature import object
42: */
43: ISiteCategoryDefinition createCategoryDefinition();
44:
45: /**
46: * Creates a new feature URL instance.
47: *
48: * @return a new feature URL instance
49: */
50: ISiteDescription createDescription(ISiteObject parent);
51:
52: /**
53: * Creates a new feature install handler.
54: *
55: * @return a new feature install handler.
56: */
57: ISiteArchive createArchive();
58: }
|