KickJava   Java API By Example, From Geeks To Geeks.

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


1 /*******************************************************************************
2  * Copyright (c) 2000, 2004 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.core.runtime.*;
14 /**
15  * The top-level model object of the Eclipse update site model.
16  */

17 public interface ISiteBuild extends ISiteBuildObject {
18     String JavaDoc P_PLUGIN_LOCATION = "plugin-location"; //$NON-NLS-1$
19
String JavaDoc P_FEATURE_LOCATION = "feature-location"; //$NON-NLS-1$
20
String JavaDoc P_SHOW_CONSOLE = "show-console"; //$NON-NLS-1$
21
String JavaDoc P_AUTOBUILD = "autobuild"; //$NON-NLS-1$
22
String JavaDoc P_SCRUB_OUTPUT = "scrub-output"; //$NON-NLS-1$
23

24     IPath getPluginLocation();
25     IPath getFeatureLocation();
26     boolean getScrubOutput();
27     boolean isAutobuild();
28     void setAutobuild(boolean value) throws CoreException;
29     void setScrubOutput(boolean value) throws CoreException;
30     boolean getShowConsole();
31     void setShowConsole(boolean value) throws CoreException;
32     
33     void addFeatures(ISiteBuildFeature [] features) throws CoreException;
34     void removeFeatures(ISiteBuildFeature [] features) throws CoreException;
35     ISiteBuildFeature [] getFeatures();
36     void resetReferences();
37 }
38
Popular Tags