1 /******************************************************************************* 2 * Copyright (c) 2000, 2003 IBM Corporation and others. 3 * All rights reserved. This program and the accompanying materials 4 * are made available under the terms of the Common Public License v1.0 5 * which accompanies this distribution, and is available at 6 * http://www.eclipse.org/legal/cpl-v10.html 7 * 8 * Contributors: 9 * IBM Corporation - initial API and implementation 10 *******************************************************************************/ 11 package org.eclipse.pde.internal.core.isite; 12 13 import org.eclipse.pde.core.*; 14 /** 15 * This model type is designed to hold data loaded from 16 * "site.xml" file of an Eclipse update site. 17 */ 18 public interface ISiteBuildModel extends IModel, IModelChangeProvider { 19 /** 20 * Returns the top-level model object. 21 * 22 * @return top-level model object of the site model 23 */ 24 ISiteBuild getSiteBuild(); 25 26 ISiteBuild createSiteBuild(); 27 28 ISiteBuildFeature createFeature(); 29 /** 30 * Returns install location of the site.xml file in case of external files. 31 * 32 * @return install location for external files, 33 * or <samp>null</samp> for models based on 34 * workspace resources. 35 */ 36 public String getInstallLocation(); 37 } 38